GetEncryptionFingerprint

Document properties, Security and Signatures

Description

Returns all the encryption information for the selected document. This encryption "fingerprint" can be used to encrypt a different document using the EncryptWithFingerprint function. This allows a new document to be encrypted with the same passwords as an existing document without actually knowing these passwords.

The fingerprint contains the encryption key of the document in a form that can be recovered. Store and transmit it as carefully as the passwords themselves: anyone who obtains the fingerprint can decrypt the document it was taken from.

Syntax

Delphi

Function TPDFlib.GetEncryptionFingerprint: WideString;

ActiveX

Function PDFlib::GetEncryptionFingerprint() As String

DLL

const wchar_t* DLGetEncryptionFingerprint(int InstanceID);
const char* DLGetEncryptionFingerprintA(int InstanceID);

Return values

Returns the fingerprint string of the selected document's encryption