public final class TLSParameterJaxBUtils extends Object
Modifier and Type | Method and Description |
---|---|
static KeyManager[] |
getKeyManagers(KeyManagersType kmc)
This method converts the JAXB KeyManagersType into a list of
JSSE KeyManagers.
|
static KeyStore |
getKeyStore(CertStoreType pst)
This method converts a JAXB generated CertStoreType into a KeyStore.
|
static KeyStore |
getKeyStore(KeyStoreType kst) |
static KeyStore |
getKeyStore(KeyStoreType kst,
boolean trustStore)
This method converts a JAXB generated KeyStoreType into a KeyStore.
|
static SecureRandom |
getSecureRandom(SecureRandomParameters secureRandomParams)
This method converts the JAXB generated type into a SecureRandom.
|
static TrustManager[] |
getTrustManagers(TrustManagersType tmc)
Deprecated.
|
static TrustManager[] |
getTrustManagers(TrustManagersType tmc,
boolean enableRevocation) |
public static SecureRandom getSecureRandom(SecureRandomParameters secureRandomParams) throws GeneralSecurityException
GeneralSecurityException
public static KeyStore getKeyStore(KeyStoreType kst) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyStore getKeyStore(KeyStoreType kst, boolean trustStore) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyStore getKeyStore(CertStoreType pst) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
public static KeyManager[] getKeyManagers(KeyManagersType kmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
@Deprecated public static TrustManager[] getTrustManagers(TrustManagersType tmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static TrustManager[] getTrustManagers(TrustManagersType tmc, boolean enableRevocation) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.