 |
PdfDocumentSecurityAlgorithm Property |
Gets or sets the encryption algorithm. Defaults to
AES for a
new document and for a loaded document that is not encrypted. 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.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfEncryptionAlgorithm Algorithm { get; set; }Public Property Algorithm As PdfEncryptionAlgorithm
Get
Set
Property Value
PdfEncryptionAlgorithm
See Also