IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

SSLAcceptServerCertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

public var sslAcceptServerCertEncoded: String {
get {...}
set {...} }

public var sslAcceptServerCertEncodedB: 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 setSSLAcceptServerCertEncodedB(sslAcceptServerCertEncoded: Data) throws
public func setSSLAcceptServerCertEncoded(sslAcceptServerCertEncoded: String) throws

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 macOS Edition - Version 20.0 [Build 7941]