CryptoKeyID Property
Provides access to a storage-specific key identifier.
Syntax
ANSI (Cross Platform) int GetCryptoKeyID(char* &lpCryptoKeyID, int &lenCryptoKeyID);
int SetCryptoKeyID(const char* lpCryptoKeyID, int lenCryptoKeyID); Unicode (Windows) INT GetCryptoKeyID(LPSTR &lpCryptoKeyID, INT &lenCryptoKeyID);
INT SetCryptoKeyID(LPCSTR lpCryptoKeyID, INT lenCryptoKeyID);
@property (nonatomic,readwrite,assign,getter=cryptoKeyID,setter=setCryptoKeyID:) NSData* cryptoKeyID; - (NSData*)cryptoKeyID; - (void)setCryptoKeyID:(NSData*)newCryptoKeyID;
#define PID_SSHKEYMANAGER_CRYPTOKEYID 36 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SSHKeyManager_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SSHKeyManager_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