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
cmsBytesbyte[]DER-encoded CMS/PKCS#7 SignedData.
originalDatabyte[]The original document bytes that were signed.
trustAnchorsIEnumerable<X509Certificate2>Optional trust anchors for certificate chain validation.