SignerCertChainEncoded Property
The certificate (PEM/base64 encoded).
Syntax
ANSI (Cross Platform) int GetSignerCertChainEncoded(int iSignerCertChainIndex, char* &lpSignerCertChainEncoded, int &lenSignerCertChainEncoded); Unicode (Windows) INT GetSignerCertChainEncoded(INT iSignerCertChainIndex, LPSTR &lpSignerCertChainEncoded, INT &lenSignerCertChainEncoded);
- (NSString*)signerCertChainEncoded:(int)signerCertChainIndex;
- (NSData*)signerCertChainEncodedB:(int)signerCertChainIndex;
#define PID_SMIME_SIGNERCERTCHAINENCODED 41 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_SMIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_SMIME_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The SignerCertChainStore and SignerCertChainSubject properties may also be used to specify a certificate.
When SignerCertChainEncoded is set, a search is initiated in the current SignerCertChainStore for the private key of the certificate. If the key is found, SignerCertChainSubject is updated to reflect the full subject of the selected certificate, otherwise SignerCertChainSubject is set to empty string.
The SignerCertChainIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SignerCertChainCount property.
This property is read-only and not available at design time.
Data Type
Binary String