saveLoginCertificate( certificate ) method

This function saves login credentials from a certificate to the credential cache.

The common name is used for the username and the signed certificate is used for the password.

Syntax

<static> saveLoginCertificate( certificate )

Parameters

Name Type Description
certificate object The values certificate.subjectCN and certificate.signedCertificate must be defined.

Example

var certInfo = {};
certInfo.subjectCN = "sampleCommonName";
certInfo.signedCertificate = "samplePassword";
hwc.saveLoginCertificate( certInfo );

Source

hwc-comms.js, line 971.