PdfCertificateCredentials Class

Definition

Certificates with their private keys, offered to open a document encrypted for certificate recipients.

public sealed class PdfCertificateCredentials : PdfCredentials

Remarks

ISO 32000-2 §7.6.5.1: the reader scans the document's recipient lists for one of its certificates and decrypts the enveloped data with that certificate's private key. Each certificate is matched by issuer and serial number, or by subject key identifier, the way the CMS recipient info (RFC 5652 §6.2) names it; the first one that matches opens the document.

A certificate's private key is read through the certificate (), so a certificate from a store, a PKCS #12 file, or one paired with its key by CopyWithPrivateKey all work. The engine never reads a certificate store by itself, and does not dispose the certificates. Certificates cannot be used in a browser (WebAssembly), where the platform has no X.509 or CMS support.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (2)

Properties (1)

Methods (1)