Class: TrustAnchorGroup

TrustAnchorGroup(certificateContainer, id)

new TrustAnchorGroup(certificateContainer, id)

TrustAnchorGroup represents a group of trust anchors which implement the CertificateContainer interface. Create a TrustAnchorGroup to use an existing container.
Parameters:
Name Type Description
certificateContainer CertificateContainer The existing certificate container which implements the CertificateContainer interface.
id string The group ID.
Source:

Methods

(static) readCertificate(filePath) → {CertificateV2}

Read a base-64-encoded certificate from a file.
Parameters:
Name Type Description
filePath string The certificate file path.
Source:
Returns:
The decoded certificate, or null if there is an error.
Type
CertificateV2

getId() → {string}

Get the group id given to the constructor.
Source:
Returns:
The group id.
Type
string

refresh()

Request a certificate refresh. The base method does nothing.
Source:

size() → {number}

Get the number of certificates in the group.
Source:
Returns:
The number of certificates.
Type
number