Debenu Quick PDF logo

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 TDebenuPDFLibrary1511.EncryptWithFingerprint(
  Fingerprint: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::EncryptWithFingerprint(
  Fingerprint As String) As Long

DLL

int DPLEncryptWithFingerprint(int InstanceID, wchar_t * Fingerprint)

Parameters

Fingerprint A fingerprint returned by the GetEncryptionFingerprint function

Return values

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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport