SSHAcceptServerHostKeyEncoded Property
The certificate (PEM/base64 encoded).
Syntax
public var sshAcceptServerHostKeyEncoded: String {
get {...}
set {...} }
public var sshAcceptServerHostKeyEncodedB: Data {
get {...}
set {...} }
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The Store and Subject properties may also be used to specify a certificate.
When Encoded is set, a search is initiated in the current Store for the private key of the certificate. If the key is found, Subject is updated to reflect the full subject of the selected certificate, otherwise Subject is set to empty string.
If an error occurs when setting this property an error will not be thrown. This property has a related method which will throw an error:
public func setSSHAcceptServerHostKeyEncodedB(sshAcceptServerHostKeyEncoded: Data) throws public func setSSHAcceptServerHostKeyEncoded(sshAcceptServerHostKeyEncoded: String) throws