THotPDF.AddPubKeyRecipient

THotPDF

 

הקודם  מתודות  CryptKeyLength

Adds one PKCS#7 recipient envelope to a public-key encrypted PDF.

 

Delphi syntax:

procedure AddPubKeyRecipient(const EnvelopeDER: AnsiString);

 

C++ syntax:

void __fastcall AddPubKeyRecipient(System::AnsiString EnvelopeDER);

 

תיאור

קרא ל-AddPubKeyRecipient פעם אחת לכל recipient אחרי EnablePubKeyEncryption. ה-envelope חייב להיות blob ‏DER לא ריק של PKCS#7 envelopedData שנוצר על ידי הקורא באמצעות Windows CryptoAPI, ‏OpenSSL או ערכת certificate אחרת

 

סדר ה-recipients נשמר במערך PDF ‏/Recipients ומשתתף בגזירת file-key לפי PDF algorithm 9

 

See also: EnablePubKeyEncryption, CryptKeyLength, PDF Filter Support