SSLServerCertEncoded Property
The certificate (PEM/base64 encoded).
Syntax
ANSI (Cross Platform) int GetSSLServerCertEncoded(char* &lpSSLServerCertEncoded, int &lenSSLServerCertEncoded); Unicode (Windows) INT GetSSLServerCertEncoded(LPSTR &lpSSLServerCertEncoded, INT &lenSSLServerCertEncoded);
@property (nonatomic,readonly,assign,getter=SSLServerCertEncoded) NSString* SSLServerCertEncoded; - (NSString*)SSLServerCertEncoded;
@property (nonatomic,readonly,assign,getter=SSLServerCertEncodedB) NSData* SSLServerCertEncodedB; - (NSData*)SSLServerCertEncodedB;
#define PID_SSMTP_SSLSERVERCERTENCODED 58 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SSMTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The SSLServerCertStore and SSLServerCertSubject properties may also be used to specify a certificate.
When SSLServerCertEncoded is set, a search is initiated in the current SSLServerCertStore for the private key of the certificate. If the key is found, SSLServerCertSubject is updated to reflect the full subject of the selected certificate, otherwise SSLServerCertSubject is set to empty string.
This property is read-only and not available at design time.
Data Type
Binary String