OutputEncoding Property
The encoding to use for the output data.
Syntax
ANSI (Cross Platform) int GetOutputEncoding();
int SetOutputEncoding(int iOutputEncoding); Unicode (Windows) INT GetOutputEncoding();
INT SetOutputEncoding(INT iOutputEncoding);
Possible Values
CET_DEFAULT(0),
CET_BINARY(1),
CET_BASE_64(2),
CET_COMPACT(3),
CET_JSON(4)
@property (nonatomic,readwrite,assign,getter=outputEncoding,setter=setOutputEncoding:) int outputEncoding; - (int)outputEncoding; - (void)setOutputEncoding:(int)newOutputEncoding;
Possible Values
CET_DEFAULT(0),
CET_BINARY(1),
CET_BASE_64(2),
CET_COMPACT(3),
CET_JSON(4)
#define PID_HASHFUNCTION_OUTPUTENCODING 19 SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_HashFunction_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_HashFunction_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Use this property to configure the type of encoding to be used for the output 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