THotPDF.AddPubKeyRecipientCertificate Method

Builds and registers a CMS recipient envelope for PDF 2.0 AES-256 public-key encryption

Declaration

procedure AddPubKeyRecipientCertificate(const CertificateDER: array of byte; Permissions: THPDFProtectOptions; HashAlgorithm: THPDFRSAOAEPHash= rohSHA256; MGFHashAlgorithm: THPDFRSAOAEPHash= rohSHA256);

Usage notes