Click or drag to resize
Pdf Library for .NET

PdfSecurityOptionsAlgorithm Property

Gets or sets the encryption algorithm. Defaults to AES. Setting a value that is incompatible with the current KeySize silently adjusts the key size to a supported one (AES + 40-bit → 128-bit; AES-GCM → 256-bit; RC4 + 256-bit → 128-bit).

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfEncryptionAlgorithm Algorithm { get; set; }

Property Value

PdfEncryptionAlgorithm
See Also