KeyNonce Property
A nonce value associated with a key.
Syntax
ANSI (Cross Platform) int GetKeyNonce(char* &lpKeyNonce, int &lenKeyNonce);
int SetKeyNonce(const char* lpKeyNonce, int lenKeyNonce); Unicode (Windows) INT GetKeyNonce(LPSTR &lpKeyNonce, INT &lenKeyNonce);
INT SetKeyNonce(LPCSTR lpKeyNonce, INT lenKeyNonce);
@property (nonatomic,readwrite,assign,getter=keyNonce,setter=setKeyNonce:) NSData* keyNonce; - (NSData*)keyNonce; - (void)setKeyNonce:(NSData*)newKeyNonce;
#define PID_CRYPTOKEYMANAGER_KEYNONCE 39 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyManager_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyManager_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
A nonce value associated with a key. It is similar to IV, but its only purpose is to introduce randomness.
This property is not available at design time.
Data Type
Byte Array