public class JcaJceUtils extends Object
| Constructor and Description |
|---|
JcaJceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static KeyManagerFactory |
createKeyManagerFactory(String type,
String provider,
KeyStore clientKeyStore,
char[] clientKeyStorePass) |
static X509TrustManager[] |
getCertPathTrustManager(Set<TrustAnchor> anchors,
CRL[] revocationLists) |
static X509TrustManager |
getTrustAllTrustManager() |
static void |
validateServerCertUsage(X509Certificate x509Certificate) |
public static X509TrustManager getTrustAllTrustManager()
public static X509TrustManager[] getCertPathTrustManager(Set<TrustAnchor> anchors, CRL[] revocationLists)
public static void validateServerCertUsage(X509Certificate x509Certificate) throws CertificateException
CertificateExceptionpublic static KeyManagerFactory createKeyManagerFactory(String type, String provider, KeyStore clientKeyStore, char[] clientKeyStorePass) throws UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException, NoSuchProviderException
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.