|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CertificateStore
The base interface for all certificate stores used by the StandardTrustManager.
Method Summary | |
---|---|
void |
add(Certificate certificate)
Add a Certificate to this CertificateStore (optional operation). |
boolean |
contains(Certificate certificate)
Returns whether this certificate store contains the specified Certificate (optional operation). |
Iterator |
iterator()
Returns an Iterator that iterates over all Certificates in this store. |
void |
load()
Loads all certificates belonging to this store (optional operation). |
void |
remove(Certificate certificate)
Remove a Certificate from this CertificateStore (optional operation); |
void |
save()
Saves all certificates belonging to this store (optional operation). |
boolean |
verify(Certificate certificate)
Verifies the supplied Certificate against the certificates in this store (optional operation). |
Method Detail |
---|
void load() throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException
void save() throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException
void add(Certificate certificate) throws KeyStoreException
certificate
- The Certificate to add.
KeyStoreException
void remove(Certificate certificate) throws KeyStoreException
certificate
- The Certificate to remove.
KeyStoreException
boolean contains(Certificate certificate) throws KeyStoreException
certificate
- The Certificate that is tested for presence in this CertificateStore.
KeyStoreException
boolean verify(Certificate certificate) throws KeyStoreException
certificate
- The Certificate to verify.
KeyStoreException
Iterator iterator() throws KeyStoreException
KeyStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |