IPWorks WebSockets 2020 JavaScript Edition

Questions / Feedback?

ReadCertificate Method

Loads a certificate from a file.

Syntax

async certmgr.readCertificate(fileName : string): Promise<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) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 JavaScript Edition - Version 20.0 [Build 8262]