SecureBlackbox 2020 C++ Edition

Questions / Feedback?

SelectedKeyID Property

Provides access to a storage-specific key identifier.

Syntax

ANSI (Cross Platform)
int GetSelectedKeyID(int iSelectedKeyIndex, char* &lpSelectedKeyID, int &lenSelectedKeyID);

Unicode (Windows)
INT GetSelectedKeyID(INT iSelectedKeyIndex, LPSTR &lpSelectedKeyID, INT &lenSelectedKeyID);
- (NSData*)selectedKeyID:(int)selectedKeyIndex;
#define PID_CRYPTOKEYSTORAGE_SELECTEDKEYID 22

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_CryptoKeyStorage_CheckIndex(void *lpObj, int propid, int arridx);

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).

The SelectedKeyIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedKeyCount property.

This property is read-only and not available at design time.

Data Type

Byte Array

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