KeyIV Property
The initialization vector (IV) of a symmetric key.
Syntax
ANSI (Cross Platform) int GetKeyIV(char* &lpKeyIV, int &lenKeyIV);
int SetKeyIV(const char* lpKeyIV, int lenKeyIV); Unicode (Windows) INT GetKeyIV(LPSTR &lpKeyIV, INT &lenKeyIV);
INT SetKeyIV(LPCSTR lpKeyIV, INT lenKeyIV);
@property (nonatomic,readwrite,assign,getter=keyIV,setter=setKeyIV:) NSData* keyIV; - (NSData*)keyIV; - (void)setKeyIV:(NSData*)newKeyIV;
#define PID_PUBLICKEYCRYPTO_KEYIV 15 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);
Remarks
The initialization vector (IV) of a symmetric key. This is normally a public part of a symmetric key, the idea of which is to introduce randomness to the encrypted dataand/or serve as a first block in chaining ciphers.
This property is not available at design time.
Data Type
Byte Array