CertEncoded Property
The certificate (PEM/base64 encoded).
Syntax
int GetCertEncoded(char *&lpCertEncoded, int &lenCertEncoded);
int SetCertEncoded(char *lpCertEncoded, int lenCertEncoded);
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate for client authentication (server authentication in the case of Daemon classs). The CertStore and CertSubject properties may also be used to specify a certificate.
When CertEncoded is set, a search is initiated in the current CertStore for the private key of the certificate. If the key is found, CertSubject is updated to reflect the full subject of the selected certificate, otherwise CertSubject is set to empty string.
This property is not available at design time.
Data Type
Binary String