public final class TLSParameterJaxBUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static javax.net.ssl.KeyManager[] |
getKeyManagers(KeyManagersType kmc)
This method converts the JAXB KeyManagersType into a list of
JSSE KeyManagers.
|
static javax.net.ssl.KeyManager[] |
getKeyManagers(KeyManagersType kmc,
java.lang.String alias)
This method converts the JAXB KeyManagersType into a list of
JSSE KeyManagers.
|
static java.security.KeyStore |
getKeyStore(CertStoreType pst)
This method converts a JAXB generated CertStoreType into a KeyStore.
|
static java.security.KeyStore |
getKeyStore(KeyStoreType kst) |
static java.security.KeyStore |
getKeyStore(KeyStoreType kst,
boolean trustStore)
This method converts a JAXB generated KeyStoreType into a KeyStore.
|
static java.security.SecureRandom |
getSecureRandom(SecureRandomParameters secureRandomParams)
This method converts the JAXB generated type into a SecureRandom.
|
static javax.net.ssl.TrustManager[] |
getTrustManagers(TrustManagersType tmc)
Deprecated.
|
static javax.net.ssl.TrustManager[] |
getTrustManagers(TrustManagersType tmc,
boolean enableRevocation) |
public static java.security.SecureRandom getSecureRandom(SecureRandomParameters secureRandomParams) throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic static java.security.KeyStore getKeyStore(KeyStoreType kst) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic static java.security.KeyStore getKeyStore(KeyStoreType kst, boolean trustStore) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic static java.security.KeyStore getKeyStore(CertStoreType pst) throws java.io.IOException, java.security.cert.CertificateException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException
java.io.IOExceptionjava.security.cert.CertificateExceptionjava.security.KeyStoreExceptionjava.security.NoSuchAlgorithmExceptionpublic static javax.net.ssl.KeyManager[] getKeyManagers(KeyManagersType kmc) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic static javax.net.ssl.KeyManager[] getKeyManagers(KeyManagersType kmc, java.lang.String alias) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOException@Deprecated public static javax.net.ssl.TrustManager[] getTrustManagers(TrustManagersType tmc) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic static javax.net.ssl.TrustManager[] getTrustManagers(TrustManagersType tmc, boolean enableRevocation) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOException