SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

KeyID Property

Provides access to a storage-specific key identifier.

Syntax

ANSI (Cross Platform)
int GetKeyID(char* &lpKeyID, int &lenKeyID);
int SetKeyID(const char* lpKeyID, int lenKeyID); Unicode (Windows) INT GetKeyID(LPSTR &lpKeyID, INT &lenKeyID);
INT SetKeyID(LPCSTR lpKeyID, INT lenKeyID);
@property (nonatomic,readwrite,assign,getter=keyID,setter=setKeyID:) NSData* keyID;
- (NSData*)keyID;
- (void)setKeyID:(NSData*)newKeyID;
#define PID_CRYPTOKEYMANAGER_KEYID 36

SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_CryptoKeyManager_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_CryptoKeyManager_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Remarks

Provides access to a storage-specific key identifier. Key identifiers are used by cryptographicproviders to refer to a particular key and/or distinguish between different keys. They aretypically unique within a storage, but there is no guarantee that a particular cryptoproviderwill conform to that (or will assign any key IDs at all).

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]