EncryptionCertPrivateKeyBytes Property
Contains the certificate's private key.
Syntax
ANSI (Cross Platform) int GetEncryptionCertPrivateKeyBytes(int iEncryptionCertIndex, char* &lpEncryptionCertPrivateKeyBytes, int &lenEncryptionCertPrivateKeyBytes); Unicode (Windows) INT GetEncryptionCertPrivateKeyBytes(INT iEncryptionCertIndex, LPSTR &lpEncryptionCertPrivateKeyBytes, INT &lenEncryptionCertPrivateKeyBytes);
- (NSData*)encryptionCertPrivateKeyBytes:(int)encryptionCertIndex;
#define PID_PDFENCRYPTOR_ENCRYPTIONCERTPRIVATEKEYBYTES 53 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_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 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 read-only and not available at design time.
Data Type
Byte Array