|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.semanticdesktop.aperture.security.trustmanager.standard.SessionCertificateStore
public class SessionCertificateStore
A CertificateStore containing those Certificates that only need to be registered for this session. Typically used to hold all temporarily accepted or rejected Certificates.
Constructor Summary | |
---|---|
SessionCertificateStore()
|
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 cert)
Verifies the supplied Certificate against the certificates in this store (optional operation). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionCertificateStore()
Method Detail |
---|
public void load() throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
CertificateStore
load
in interface CertificateStore
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException
public void save() throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
CertificateStore
save
in interface CertificateStore
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException
public void add(Certificate certificate) throws KeyStoreException
CertificateStore
add
in interface CertificateStore
certificate
- The Certificate to add.
KeyStoreException
public void remove(Certificate certificate) throws KeyStoreException
CertificateStore
remove
in interface CertificateStore
certificate
- The Certificate to remove.
KeyStoreException
public boolean contains(Certificate certificate) throws KeyStoreException
CertificateStore
contains
in interface CertificateStore
certificate
- The Certificate that is tested for presence in this CertificateStore.
KeyStoreException
public boolean verify(Certificate cert) throws KeyStoreException
CertificateStore
verify
in interface CertificateStore
cert
- The Certificate to verify.
KeyStoreException
public Iterator iterator() throws KeyStoreException
CertificateStore
iterator
in interface CertificateStore
KeyStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |