UsedCertPrivateKeyBytes Property
Contains the certificate's private key.
Syntax
ANSI (Cross Platform) int GetUsedCertPrivateKeyBytes(int iUsedCertIndex, char* &lpUsedCertPrivateKeyBytes, int &lenUsedCertPrivateKeyBytes); Unicode (Windows) INT GetUsedCertPrivateKeyBytes(INT iUsedCertIndex, LPSTR &lpUsedCertPrivateKeyBytes, INT &lenUsedCertPrivateKeyBytes);
- (NSData*)usedCertPrivateKeyBytes:(int)usedCertIndex;
#define PID_CERTIFICATEVALIDATOR_USEDCERTPRIVATEKEYBYTES 153 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_CertificateValidator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_CertificateValidator_CheckIndex(void *lpObj, int propid, int arridx);
Remarks
Contains the certificate's private key. It is normal for this property to be empty if the private key is non-exportable.
The UsedCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the UsedCertCount property.
This property is read-only and not available at design time.
Data Type
Byte Array