THotPDF.AddPubKeyRecipientCertificate Method
PDF 2.0 AES-256 public-key encryption için bir CMS recipient zarfı oluşturur ve kaydeder
Bildirim
procedure AddPubKeyRecipientCertificate(const CertificateDER: array of byte; Permissions: THPDFProtectOptions; HashAlgorithm: THPDFRSAOAEPHash= rohSHA256; MGFHashAlgorithm: THPDFRSAOAEPHash= rohSHA256);
Kullanım notları
- Önce
EnablePubKeyEncryptionmetodunuaes256ile çağırın - Sertifika bir RSA public key içermelidir
- RSA-OAEP digest ve MGF1 digest politikaları açıktır ve bağımsız olarak seçilebilir
- Üretilen zarf, seed ve permission payload'ı için AES-256-CBC kullanır