|
THotPDF.AddPubKeyRecipient
|
Trước Phương thức CryptKeyLength |
|
Thêm một gói recipient PKCS#7 vào một PDF được mã hóa bằng public key
Cú pháp Delphi: procedure AddPubKeyRecipient(const EnvelopeDER: AnsiString);
Cú pháp C++: void __fastcall AddPubKeyRecipient(System::AnsiString EnvelopeDER);
Mô tả Gọi AddPubKeyRecipient một lần cho mỗi recipient sau EnablePubKeyEncryption. Gói recipient phải là một blob DER PKCS#7 envelopedData không rỗng do bên gọi tạo bằng Windows CryptoAPI, OpenSSL hoặc một bộ công cụ chứng chỉ khác
Thứ tự các recipient được giữ nguyên trong mảng PDF
Xem thêm: EnablePubKeyEncryption, CryptKeyLength, PDF Filter Support |