SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

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_PUBLICKEYCRYPTO_KEYNONCE 17

SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_PublicKeyCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_PublicKeyCrypto_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

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