encryptionType (property)
The encryption type.
Syntax
@property (nonatomic,readwrite,assign,getter=encryptionType,setter=setEncryptionType:) int encryptionType; - (int)encryptionType; - (void)setEncryptionType:(int)newEncryptionType;
/* Possible Values */
PET_PASSWORD(1),
PET_CERTIFICATE(2)
public var encryptionType: PdfencryptorEncryptionTypes { get {...}
set {...} }
public enum PdfencryptorEncryptionTypes : Int32 { case petPassword = 1 case petCertificate = 2 }
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). |