Package org.bouncycastle.est.jcajce
Class JcaJceUtils
- java.lang.Object
- 
- org.bouncycastle.est.jcajce.JcaJceUtils
 
- 
 public class JcaJceUtils extends java.lang.ObjectGeneral utility methods for building common objects for supporting the JCA/JCE/JSSE.
- 
- 
Constructor SummaryConstructors Constructor Description JcaJceUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.net.ssl.KeyManagerFactorycreateKeyManagerFactory(java.lang.String type, java.lang.String provider, java.security.KeyStore clientKeyStore, char[] clientKeyStorePass)static javax.net.ssl.X509TrustManager[]getCertPathTrustManager(java.util.Set<java.security.cert.TrustAnchor> anchors, java.security.cert.CRL[] revocationLists)static javax.net.ssl.X509TrustManagergetTrustAllTrustManager()static voidvalidateServerCertUsage(java.security.cert.X509Certificate x509Certificate)
 
- 
- 
- 
Method Detail- 
getTrustAllTrustManagerpublic static javax.net.ssl.X509TrustManager getTrustAllTrustManager() 
 - 
getCertPathTrustManagerpublic static javax.net.ssl.X509TrustManager[] getCertPathTrustManager(java.util.Set<java.security.cert.TrustAnchor> anchors, java.security.cert.CRL[] revocationLists)
 - 
validateServerCertUsagepublic static void validateServerCertUsage(java.security.cert.X509Certificate x509Certificate) throws java.security.cert.CertificateException- Throws:
- java.security.cert.CertificateException
 
 - 
createKeyManagerFactorypublic static javax.net.ssl.KeyManagerFactory createKeyManagerFactory(java.lang.String type, java.lang.String provider, java.security.KeyStore clientKeyStore, char[] clientKeyStorePass) throws java.security.UnrecoverableKeyException, java.security.NoSuchAlgorithmException, java.security.KeyStoreException, java.security.NoSuchProviderException- Throws:
- java.security.UnrecoverableKeyException
- java.security.NoSuchAlgorithmException
- java.security.KeyStoreException
- java.security.NoSuchProviderException
 
 
- 
 
-