SSLServerCertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

public var sslServerCertEncoded: String {
get {...} }

public var sslServerCertEncodedB: Data {
get {...} }

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.

This property is read-only.

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 setSSLServerCertEncodedB(sslServerCertEncoded: Data) throws
public func setSSLServerCertEncoded(sslServerCertEncoded: String) throws

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Keys 2020 macOS Edition - Version 20.0 [Build 7876]