SelectedCertPrivateKeyBytes Property
Contains the certificate's private key.
Syntax
ANSI (Cross Platform) int GetSelectedCertPrivateKeyBytes(int iSelectedCertIndex, char* &lpSelectedCertPrivateKeyBytes, int &lenSelectedCertPrivateKeyBytes); Unicode (Windows) INT GetSelectedCertPrivateKeyBytes(INT iSelectedCertIndex, LPSTR &lpSelectedCertPrivateKeyBytes, INT &lenSelectedCertPrivateKeyBytes);
- (NSData*)selectedCertPrivateKeyBytes:(int)selectedCertIndex;
#define PID_CERTIFICATESTORAGE_SELECTEDCERTPRIVATEKEYBYTES 56 SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_CertificateStorage_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_CertificateStorage_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 SelectedCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SelectedCertCount property.
This property is read-only and not available at design time.
Data Type
Byte Array