SecureBlackbox 2020 macOS Edition

Questions / Feedback?

EncryptionType Property

The encryption type.


public var encryptionType: PdfencryptorEncryptionTypes {
get {...}
set {...} }

public enum PdfencryptorEncryptionTypes: Int32 { case petPassword = 1 case petCertificate = 2 }

Default Value



Use this property to specify the encryption type to use.

Supported values:

petPassword1Encrypt the document with passwords. Use OwnerPassword and UserPassword properties to set the passwords.
petCertificate2Encrypt the document with a certificate. Use EncryptionCertificate or EncryptionCertificates to supply the certificate(s).

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8165]