encryptionType (property)
The document encryption type.
Syntax
@property (nonatomic,readonly,assign,getter=encryptionType) int encryptionType; - (int)encryptionType;
/* Possible Values */
PET_NONE(0),
PET_PASSWORD(1),
PET_CERTIFICATE(2)
public var encryptionType: PdfsignerEncryptionTypes { get {...} }
public enum PdfsignerEncryptionTypes : Int32 { case petNone = 0 case petPassword = 1 case petCertificate = 2 }
Default Value
1
Remarks
This property indicates the kind of encryption that was used to encrypt the PDF document.
Supported values:
petPassword | 1 | The document is encrypted with a password. |
petCertificate | 2 | The document is encrypted with a certificate. |
This property is read-only.