Concurrent Access
The public methods of all {@code CertStoreSpi} objects must bethread-safe. That is, multiple threads may concurrently invoke these methods on a single {@code CertStoreSpi} object (or more than one)with no ill effects. This allows a {@code CertPathBuilder} to searchfor a CRL while simultaneously searching for further certificates, for instance.
Simple {@code CertStoreSpi} implementations will probably ensurethread safety by adding a {@code synchronized} keyword to their{@code engineGetCertificates} and {@code engineGetCRLs} methods.More sophisticated ones may allow truly concurrent access. @since 1.4 @author Steve Hanna
|
|
|
|
|
|