SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EncryptionType Property

The encryption type used to encrypt the document.

Syntax

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

Possible Values

OET_DEFAULT(0), 
OET_BINARY_RC4(1),
OET_BINARY_RC4CRYPTO_API(2),
OET_OPEN_XMLSTANDARD(3),
OET_OPEN_XMLAGILE(4),
OET_OPEN_DOCUMENT(5)
@property (nonatomic,readwrite,assign,getter=encryptionType,setter=setEncryptionType:) int encryptionType;
- (int)encryptionType;
- (void)setEncryptionType:(int)newEncryptionType;

Possible Values

OET_DEFAULT(0), 
OET_BINARY_RC4(1),
OET_BINARY_RC4CRYPTO_API(2),
OET_OPEN_XMLSTANDARD(3),
OET_OPEN_XMLAGILE(4),
OET_OPEN_DOCUMENT(5)
#define PID_OFFICEENCRYPTOR_ENCRYPTIONTYPE 3

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

Default Value

0

Remarks

This property contains the encryption type used to encrypt the Office document.

Supported values:

oetDefault uses default encryption depending on Office document format.

oetBinaryRC4 uses RC4 encryption for Binary Office documents.

oetBinaryRC4CryptoAPI uses RC4 Crypto API encryption for Binary Office documents.

oetOpenXMLStandard uses standard encryption for OpenXML Office documents.

oetOpenXMLAgile uses agile encryption for OpenXML Office documents.

oetOpenDocument uses standard encryption for OpenOffice documents.

Data Type

Integer

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