Skip to main content

TdxPDFSecurityOptions.Algorithm Property

Specifies the active document encryption algorithm.

Declaration

property Algorithm: TdxPDFEncryptionAlgorithmType read; write;

Property Value

Type Description
TdxPDFEncryptionAlgorithmType

Enumerates types of algorithms used to encrypt PDF documents.

Remarks

Use this property to switch between available document encryption algorithms. Refer to the TdxPDFEncryptionAlgorithmType type description for detailed information on available algorithms.

Important

The current implementation of the PDF document‘s SaveToFile and SaveToStream procedures cannot use the AES encryption algorithm to protect saved documents and raises the EdxPDFEncryptionException exception if the Algorithm property is set to eatAES and the Enabled property is set to True. The LoadFromFile and LoadFromStream procedures can load documents encrypted with the AES algorithm.

The Algorithm property’s default value is eatRC128Bit.

See Also