Top Description Fields 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.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.ExtendedKeyUsage, .KeyPurposeId, .KeyUsage, org.bouncycastle.cert.X509CertificateHolder

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

Field Summary

Modifier and TypeField and Description
pack-priv static final KeyPurposeId
id_kp_msSGC

Microsoft Server Gated Crypto (msSGC) see http://www.alvestrand.no/objectid/1.3.6.1.4.1.311.10.3.3.html

pack-priv static final KeyPurposeId
id_kp_nsSGC

Netscape Server Gated Crypto (nsSGC) see http://www.alvestrand.no/objectid/2.16.840.1.113730.4.1.html

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

Field Detail

id_kp_msSGCback to summary
pack-priv static final KeyPurposeId id_kp_msSGC

Microsoft Server Gated Crypto (msSGC) see http://www.alvestrand.no/objectid/1.3.6.1.4.1.311.10.3.3.html

id_kp_nsSGCback to summary
pack-priv static final KeyPurposeId id_kp_nsSGC

Netscape Server Gated Crypto (nsSGC) see http://www.alvestrand.no/objectid/2.16.840.1.113730.4.1.html

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