SSHAcceptServerHostKeyEncoded Property
The certificate (PEM/base64 encoded).
Syntax
int GetSSHAcceptServerHostKeyEncoded(char *&lpSSHAcceptServerHostKeyEncoded, int &lenSSHAcceptServerHostKeyEncoded);
int SetSSHAcceptServerHostKeyEncoded(char *lpSSHAcceptServerHostKeyEncoded, int lenSSHAcceptServerHostKeyEncoded);
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 SSHAcceptServerHostKeyStore and SSHAcceptServerHostKeySubject properties may also be used to specify a certificate.
When SSHAcceptServerHostKeyEncoded is set, a search is initiated in the current SSHAcceptServerHostKeyStore for the private key of the certificate. If the key is found, SSHAcceptServerHostKeySubject is updated to reflect the full subject of the selected certificate, otherwise SSHAcceptServerHostKeySubject is set to empty string.
This property is not available at design time.
Data Type
Binary String