SecureBlackbox 2020 C++ Edition

Questions / Feedback?

CryptoKeySubject Property

Returns the key subject.

Syntax

ANSI (Cross Platform)
int GetCryptoKeySubject(char* &lpCryptoKeySubject, int &lenCryptoKeySubject);
int SetCryptoKeySubject(const char* lpCryptoKeySubject, int lenCryptoKeySubject); Unicode (Windows) INT GetCryptoKeySubject(LPSTR &lpCryptoKeySubject, INT &lenCryptoKeySubject);
INT SetCryptoKeySubject(LPCSTR lpCryptoKeySubject, INT lenCryptoKeySubject);
@property (nonatomic,readwrite,assign,getter=cryptoKeySubject,setter=setCryptoKeySubject:) NSData* cryptoKeySubject;
- (NSData*)cryptoKeySubject;
- (void)setCryptoKeySubject:(NSData*)newCryptoKeySubject;
#define PID_SSHKEYMANAGER_CRYPTOKEYSUBJECT 42

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

Returns the key subject. This is a cryptoprovider-dependent value,which normally aims to provide some user-friendly insight into thekey owner.

This property is 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]