Certificates with their private keys, offered to open a document encrypted for certificate recipients.
public sealed class PdfCertificateCredentials : PdfCredentials
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.
kind:method, kind:property, kind:ctor. Press Esc to clear.PdfCertificateCredentials(IEnumerable<X509Certificate2>)Initializes a new instance of the PdfCertificateCredentials class with candidate certificates, tried in order.PdfCertificateCredentials(X509Certificate2)Initializes a new instance of the PdfCertificateCredentials class with one certificate.CertificatesGets the certificates, in the order they are tried.