Class: StaticTrustAnchorGroup

StaticTrustAnchorGroup(certificateContainer, id)

new StaticTrustAnchorGroup(certificateContainer, id)

The StaticTrustAnchorGroup class extends TrustAnchorGroup to implement a static trust anchor group. Create a StaticTrustAnchorGroup 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

add(certificate)

Load the static anchor certificate. If a certificate with the name is already added, do nothing.
Parameters:
Name Type Description
certificate CertificateV2 The certificate to add, which is copied.
Source:

remove(certificateName)

Remove the static anchor with the certificate name.
Parameters:
Name Type Description
certificateName Name The certificate name.
Source: