EncryptWithFingerprint

Security and Signatures

Description

Encrypts the selected document using the encryption "fingerprint" obtained from another document using the GetEncryptionFingerprint function. The selected document will be encrypted with the same owner and user passwords as the document the fingerprint was taken from.

Syntax

Delphi

function TPDFlib.EncryptWithFingerprint(Const Fingerprint: WideString): Integer;

ActiveX

Function PDFlib::EncryptWithFingerprint(Fingerprint As String) As Long

DLL

int DLEncryptWithFingerprint(int InstanceID, wchar_t * Fingerprint);

Parameters

FingerprintA fingerprint returned by the GetEncryptionFingerprint function

Return values

0The fingerprint was invalid or the document was already encrypted The document was successfully encrypted using the supplied fingerprint
1