InputEncoding Property
The encoding to apply to the input data.
Syntax
ANSI (Cross Platform) int GetInputEncoding();
int SetInputEncoding(int iInputEncoding); Unicode (Windows) INT GetInputEncoding();
INT SetInputEncoding(INT iInputEncoding);
Possible Values
CET_DEFAULT(0),
CET_BINARY(1),
CET_BASE_64(2),
CET_COMPACT(3),
CET_JSON(4)
@property (nonatomic,readwrite,assign,getter=inputEncoding,setter=setInputEncoding:) int inputEncoding; - (int)inputEncoding; - (void)setInputEncoding:(int)newInputEncoding;
Possible Values
CET_DEFAULT(0),
CET_BINARY(1),
CET_BASE_64(2),
CET_COMPACT(3),
CET_JSON(4)
#define PID_PUBLICKEYCRYPTO_INPUTENCODING 4 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PublicKeyCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PublicKeyCrypto_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Use this property to specify the encoding to apply to the input data.
cetDefault | 0 | The default encoding type in current circumstances. This depends on the operation and the type of the key being used. |
cetBinary | 1 | Raw binary encoding (no encoding) |
cetBase64 | 2 | Base64 encoding (armouring) |
cetCompact | 3 | JSON compact encoding |
cetJSON | 4 | JSON standard encoding |
Data Type
Integer