GetEncryptionLevel

Security and signatures

Description

This page describes GetEncryptionLevel in PDF Library for Delphi under the "Security and signatures" topic. API names, parameters, class names, filenames, and literals are kept exactly as they appear in the Delphi library and DLL entry points.

Review the syntax, parameters, and return values before calling the function.

Syntax

Delphi

Function TPDFlib.GetEncryptionLevel: Integer;

Return values

0Not encrypted
1RC4-40
2RC4-128
3AES-128
4AES-256
5AES-256 Acrobat X
6AES-256-GCM