public class CertificateCache extends Object
| Constructor and Description |
|---|
CertificateCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCertificate(Name certificateName)
Remove a certificate from the cache.
|
IdentityCertificate |
getCertificate(Name certificateName)
Fetch a certificate from the cache.
|
void |
insertCertificate(IdentityCertificate certificate)
Insert the certificate into the cache.
|
void |
reset()
Clear all certificates from the store.
|
public void insertCertificate(IdentityCertificate certificate)
certificate - The certificate to copy and insert.public void deleteCertificate(Name certificateName)
certificateName - The name of the certificate to remove. This assumes
there is no timestamp in the name.public IdentityCertificate getCertificate(Name certificateName)
certificateName - The name of the certificate to remove. Assumes there
is no timestamp in the name.public void reset()
Copyright © 2019. All rights reserved.