Click or drag to resize
Pdf Library for .NET

PdfSecurityOptionsKeySize Property

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

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfEncryptionKeySize KeySize { get; set; }

Property Value

PdfEncryptionKeySize
See Also