SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EncryptionCertSubjectKeyID Property

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

Syntax

ANSI (Cross Platform)
int GetEncryptionCertSubjectKeyID(int iEncryptionCertIndex, char* &lpEncryptionCertSubjectKeyID, int &lenEncryptionCertSubjectKeyID);
int SetEncryptionCertSubjectKeyID(int iEncryptionCertIndex, const char* lpEncryptionCertSubjectKeyID, int lenEncryptionCertSubjectKeyID); Unicode (Windows) INT GetEncryptionCertSubjectKeyID(INT iEncryptionCertIndex, LPSTR &lpEncryptionCertSubjectKeyID, INT &lenEncryptionCertSubjectKeyID);
INT SetEncryptionCertSubjectKeyID(INT iEncryptionCertIndex, LPCSTR lpEncryptionCertSubjectKeyID, INT lenEncryptionCertSubjectKeyID);
- (NSData*)encryptionCertSubjectKeyID:(int)encryptionCertIndex;
- (void)setEncryptionCertSubjectKeyID:(int)encryptionCertIndex:(NSData*)newEncryptionCertSubjectKeyID;
#define PID_PDFENCRYPTOR_ENCRYPTIONCERTSUBJECTKEYID 61

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_CheckIndex(void *lpObj, int propid, int arridx);

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.

The EncryptionCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the EncryptionCertCount property.

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]