SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EncryptionType Property

The encryption type.

Syntax

ANSI (Cross Platform)
int GetEncryptionType();
int SetEncryptionType(int iEncryptionType); Unicode (Windows) INT GetEncryptionType();
INT SetEncryptionType(INT iEncryptionType);

Possible Values

PET_PASSWORD(1), 
PET_CERTIFICATE(2)
@property (nonatomic,readwrite,assign,getter=encryptionType,setter=setEncryptionType:) int encryptionType;
- (int)encryptionType;
- (void)setEncryptionType:(int)newEncryptionType;

Possible Values

PET_PASSWORD(1), 
PET_CERTIFICATE(2)
#define PID_PDFENCRYPTOR_ENCRYPTIONTYPE 65

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

1

Remarks

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).

Data Type

Integer

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