EncryptionType Property
The encryption type.
Syntax
public PdfencryptorEncryptionTypes EncryptionType { get; set; }
enum PdfencryptorEncryptionTypes { petPassword, petCertificate }
Public Property EncryptionType As PdfencryptorEncryptionTypes
Enum PdfencryptorEncryptionTypes petPassword petCertificate End Enum
Default Value
1
Remarks
Use this property to specify the encryption type to use.
Supported values:
petPassword | 1 | Encrypt the document with passwords. Use OwnerPassword and UserPassword properties to set the passwords. |
petCertificate | 2 | Encrypt the document with a certificate. Use EncryptionCertificate or EncryptionCertificates to supply the certificate(s). |