EncryptionMethod Property
The encryption method used to encrypt the document.
Syntax
ANSI (Cross Platform) char* GetEncryptionMethod();
int SetEncryptionMethod(const char* lpszEncryptionMethod); Unicode (Windows) LPWSTR GetEncryptionMethod();
INT SetEncryptionMethod(LPCWSTR lpszEncryptionMethod);
@property (nonatomic,readwrite,assign,getter=encryptionMethod,setter=setEncryptionMethod:) NSString* encryptionMethod; - (NSString*)encryptionMethod; - (void)setEncryptionMethod:(NSString*)newEncryptionMethod;
#define PID_XMLENCRYPTOR_ENCRYPTIONMETHOD 4 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_XMLEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_XMLEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"AES256"
Remarks
This property contains the encryption algorithm used to encrypt the XML document.
Supported values:
SB_XML_ENCRYPTION_ALGORITHM_RC4 | RC4 | |
SB_XML_ENCRYPTION_ALGORITHM_DES | DES | |
SB_XML_ENCRYPTION_ALGORITHM_3DES | 3DEST | |
SB_XML_ENCRYPTION_ALGORITHM_AES128 | AES128 | |
SB_XML_ENCRYPTION_ALGORITHM_AES192 | AES192 | |
SB_XML_ENCRYPTION_ALGORITHM_AES256 | AES256 | |
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA128 | Camellia128 | |
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA192 | Camellia192 | |
SB_XML_ENCRYPTION_ALGORITHM_CAMELLIA256 | Camellia256 | |
SB_XML_ENCRYPTION_ALGORITHM_SEED | SEED |
If UseGCM property is enabled, then supported values are:
SB_XML_ENCRYPTION_ALGORITHM_AES128 | AES128 | |
SB_XML_ENCRYPTION_ALGORITHM_AES192 | AES192 | |
SB_XML_ENCRYPTION_ALGORITHM_AES256 | AES256 |
Data Type
String