PdfCertificateSigner(X509Certificate2, IEnumerable?, RSASignaturePadding?) Constructor

Definition

Assembly Broadside.dll

Initializes a new instance of the PdfCertificateSigner class.

public PdfCertificateSigner(X509Certificate2 certificate, IEnumerable<X509Certificate2>? certificateChain = null, RSASignaturePadding? rsaSignaturePadding = null)

Parameters

certificate
X509Certificate2

The signer's certificate, with an RSA or ECDSA private key.

certificateChain
IEnumerable<X509Certificate2>

The other certificates of the chain to embed, from the issuer upward; null for none.

rsaSignaturePadding
RSASignaturePadding

For an RSA key, (when null, the default) or .

Remarks

ISO 32000-2 §12.8.3.3; ISO/TS 32002 §5.1.3; RFC 4056 §2.