IPWorks WebSockets 2020 macOS Edition

Questions / Feedback?

ReadCertificate Method

Loads a certificate from a file.

Syntax

public func readCertificate(fileName: String) throws -> Void

Remarks

Note: This method is present for backwards compatibility. It is recommended to specify the Cert* properties to load a certificate.

This method will load a certificate from a file. The file contents can be encoded in base64 (PEM) or ASN (DER) format.

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