Top Description Constructors Methods
org.bouncycastle.est.jcajce

public Class JcaJceUtils

extends Object
Class Inheritance
Imports
java.security.GeneralSecurityException, .KeyStore, .KeyStoreException, .NoSuchAlgorithmException, .NoSuchProviderException, .UnrecoverableKeyException, java.security.cert.CRL, .CertPathBuilder, .CertStore, .CertificateException, .CollectionCertStoreParameters, .PKIXBuilderParameters, .PKIXCertPathValidatorResult, .TrustAnchor, .X509CertSelector, .X509Certificate, java.util.Arrays, .Iterator, .Set, javax.net.ssl.KeyManagerFactory, .X509TrustManager, org.bouncycastle.asn1.x509.ExtendedKeyUsage, .KeyPurposeId, .KeyUsage, org.bouncycastle.cert.X509CertificateHolder

General utility methods for building common objects for supporting the JCA/JCE/JSSE.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static KeyManagerFactory
createKeyManagerFactory(String type, String provider, KeyStore clientKeyStore, char[] clientKeyStorePass)

public static X509TrustManager[]
getCertPathTrustManager(final Set<TrustAnchor> anchors, final CRL[] revocationLists)

public static X509TrustManager
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JcaJceUtilsback to summary
public JcaJceUtils()

Method Detail

createKeyManagerFactoryback to summary
public static KeyManagerFactory createKeyManagerFactory(String type, String provider, KeyStore clientKeyStore, char[] clientKeyStorePass) throws UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, NoSuchProviderException
getCertPathTrustManagerback to summary
public static X509TrustManager[] getCertPathTrustManager(final Set<TrustAnchor> anchors, final CRL[] revocationLists)
getTrustAllTrustManagerback to summary
public static X509TrustManager getTrustAllTrustManager()
validateServerCertUsageback to summary
public static void validateServerCertUsage(X509Certificate x509Certificate) throws CertificateException