public class TrustAnchorGroup extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashSet<Name> |
anchorNames_ |
protected CertificateContainerInterface |
certificates_ |
| Constructor and Description |
|---|
TrustAnchorGroup(CertificateContainerInterface certificateContainer,
String id)
Create a TrustAnchorGroup to use an existing container.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the group id given to the constructor.
|
static CertificateV2 |
readCertificate(String filePath)
Read a base-64-encoded certificate from a file.
|
void |
refresh()
Request a certificate refresh.
|
int |
size()
Get the number of certificates in the group.
|
protected final CertificateContainerInterface certificates_
public TrustAnchorGroup(CertificateContainerInterface certificateContainer, String id)
certificateContainer - The existing certificate container.id - The group ID.public final String getId()
public final int size()
public void refresh()
public static CertificateV2 readCertificate(String filePath)
filePath - The certificate file path.Copyright © 2019. All rights reserved.