org.nhindirect.stagent.cert
Interface CacheableCertStore


public interface CacheableCertStore

A certificate store that implement a coherent cache for improved certificate lookup performance. Cache tuning is set through the CertStoreCachePolicy. A cache can be optionally backed by another certificate store for bootstrapping and in some cases offline lookups.

Author:
Greg Meyer

Method Summary
 void flush(boolean purgeBootStrap)
          Purges all contents of the cache.
 void loadBootStrap()
          Initializes the cache from the previsouly set bootstrap store.
 void loadBootStrap(CertificateStore bootstrapStore)
          Initializes the cache from the bootstrap store.
 void setBootStrap(CertificateStore bootstrapStore)
          Sets the certificate store that the cache will bootstrap from when initialized.
 void setCachePolicy(CertStoreCachePolicy policy)
          Sets the cache policy of the store.
 

Method Detail

flush

void flush(boolean purgeBootStrap)
Purges all contents of the cache. Optionally purges the bootstrap store.

Parameters:
purgeBootStrap - Indicates if the bootstrap store should be purged.

setBootStrap

void setBootStrap(CertificateStore bootstrapStore)
Sets the certificate store that the cache will bootstrap from when initialized.

Parameters:
bootstrapStore - the certificate store that the cache will bootstrap from when initialized.

loadBootStrap

void loadBootStrap()
Initializes the cache from the previsouly set bootstrap store.


loadBootStrap

void loadBootStrap(CertificateStore bootstrapStore)
Initializes the cache from the bootstrap store.

Parameters:
bootstrapStore - The store to initialize the cache from.

setCachePolicy

void setCachePolicy(CertStoreCachePolicy policy)
Sets the cache policy of the store.

Parameters:
policy - The caching policy parameters.


Copyright © 2010-2012 HNIN Direct. All Rights Reserved.