public class DynamicTrustAnchorGroup extends TrustAnchorGroup
anchorNames_, certificates_| Constructor and Description |
|---|
DynamicTrustAnchorGroup(CertificateContainerInterface certificateContainer,
String id,
String path,
double refreshPeriod,
boolean isDirectory)
Create a dynamic trust anchor group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
refresh()
Request a certificate refresh.
|
getId, readCertificate, sizepublic DynamicTrustAnchorGroup(CertificateContainerInterface certificateContainer, String id, String path, double refreshPeriod, boolean isDirectory)
certificateContainer - A certificate container into which trust
anchors from the group will be added.id - The group id.path - The file path for trust anchor(s), which could be a directory
or a file. If it is a directory, all the certificates in the directory will
be loaded.refreshPeriod - The refresh time in milliseconds for the anchors
under path. This must be positive.isDirectory - If true, then path is a directory. If false, it is a
single file.IllegalArgumentException - If refreshPeriod is not positive.public void refresh()
refresh in class TrustAnchorGroupCopyright © 2019. All rights reserved.