Table of Contents

Interface ICadesSignatureValidator

Namespace
SimpleSign.CAdES
Assembly
SimpleSign.CAdES.dll

Validates CAdES detached signatures (ETSI EN 319 122).

public interface ICadesSignatureValidator

Methods

Validate(byte[], byte[], IEnumerable<X509Certificate2>?)

Validates a CAdES detached signature.

CadesValidationResult Validate(byte[] cmsBytes, byte[] originalData, IEnumerable<X509Certificate2>? trustAnchors = null)

Parameters

cmsBytes byte[]

DER-encoded CMS/PKCS#7 SignedData.

originalData byte[]

The original document bytes that were signed.

trustAnchors IEnumerable<X509Certificate2>

Optional trust anchors for certificate chain validation.

Returns

CadesValidationResult