| java.lang.Object net.suberic.pooka.ssl.PookaTrustManager
PookaTrustManager | public class PookaTrustManager implements X509TrustManager(Code) | | This wraps the default X509TrustManager so that we can handle untrusted
certificate chains.
|
certificateRepositoryFile | String certificateRepositoryFile(Code) | | |
mUseCertFile | boolean mUseCertFile(Code) | | |
PookaTrustManager | public PookaTrustManager(TrustManager[] pWrappedManagers, String pCertFile)(Code) | | Creates a new TrustManager that wraps the given manager.
|
PookaTrustManager | public PookaTrustManager(TrustManager[] pWrappedManagers, String pCertFile, boolean pUseCertFile)(Code) | | Creates a new TrustManager that wraps the given manager.
|
addToRejected | public void addToRejected(X509Certificate[] cert)(Code) | | Adds the given certificate(s) to the rejected list.
|
addToTrusted | public void addToTrusted(X509Certificate[] cert)(Code) | | Adds the given certificate(s) to the local trusted store.
|
askIsTrusted | public boolean askIsTrusted(X509Certificate[] cert)(Code) | | Interactively figures out whether or not we want to trust this
(default untrusted) certificate.
|
getAcceptedIssuers | public X509Certificate[] getAcceptedIssuers()(Code) | | Return an array of certificate authority certificates
which are trusted for authenticating peers.
|
loadAccepted | public void loadAccepted()(Code) | | Loads the already-accepted certificated from the local file.
|
localIsTrusted | public boolean localIsTrusted(X509Certificate[] cert)(Code) | | Checks to see if this certificate is in the local certificate store.
If it's not, then we ask if it should be.
|
|
|