THotPDF.AddPubKeyRecipient

THotPDF

 

Anterior  Métodos  CryptKeyLength

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

 

Sintaxis Delphi:

procedure AddPubKeyRecipient(const EnvelopeDER: AnsiString);

 

Sintaxis C++:

void __fastcall AddPubKeyRecipient(System::AnsiString EnvelopeDER);

 

Descripción

Llama a AddPubKeyRecipient una vez por cada destinatario después de EnablePubKeyEncryption. El sobre debe ser un blob DER PKCS#7 envelopedData no vacío creado por el llamador con Windows CryptoAPI, OpenSSL u otro kit de certificados

 

El orden de los destinatarios se conserva en la matriz PDF /Recipients y participa en la derivación de la clave de archivo del algoritmo 9 de PDF

 

Ver también: EnablePubKeyEncryption, CryptKeyLength, Soporte de filtros PDF