 |
PdfDocumentSecurityKeySize Property |
Gets or sets the length of the encryption key. Defaults to
EncryptKey256BitRevision6 (AES-256) for a new document and
for a loaded document that is not encrypted; an encrypted document keeps its own. Setting
a value that is incompatible with the current
Algorithm silently
adjusts the algorithm to a supported one (40-bit → RC4; 256-bit + RC4 → AES;
256-bit revision 6 → AES). Valid combinations: 40/128-bit + RC4, 128/256-bit + AES,
256-bit revision 6 + AES (PDF 2.0), 256-bit + AES-GCM (PDF 2.0).
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfEncryptionKeySize KeySize { get; set; }Public Property KeySize As PdfEncryptionKeySize
Get
Set
Property Value
PdfEncryptionKeySize
See Also