SecureBlackbox 2020 C++ Edition

Questions / Feedback?

CertSubjectKeyID Property

Contains a unique identifier (fingerprint) of the certificate's private key.

Syntax

ANSI (Cross Platform)
int GetCertSubjectKeyID(char* &lpCertSubjectKeyID, int &lenCertSubjectKeyID);
int SetCertSubjectKeyID(const char* lpCertSubjectKeyID, int lenCertSubjectKeyID); Unicode (Windows) INT GetCertSubjectKeyID(LPSTR &lpCertSubjectKeyID, INT &lenCertSubjectKeyID);
INT SetCertSubjectKeyID(LPCSTR lpCertSubjectKeyID, INT lenCertSubjectKeyID);
@property (nonatomic,readwrite,assign,getter=certSubjectKeyID,setter=setCertSubjectKeyID:) NSData* certSubjectKeyID;
- (NSData*)certSubjectKeyID;
- (void)setCertSubjectKeyID:(NSData*)newCertSubjectKeyID;
#define PID_SSHKEYMANAGER_CERTSUBJECTKEYID 28

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

Contains a unique identifier (fingerprint) of the certificate's private key.

Subject Key Identifier is a (non-critical) X.509 certificate extension which allows the identification of certificates containing a particular public key. In SecureBlackbox, the unique identifier is represented with a SHA1 hash of the bit string of the subject public key.

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]