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)
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)
This method converts the JAXB KeyManagersType into a list of
JSSE TrustManagers.
|
public static SecureRandom getSecureRandom(SecureRandomParameters secureRandomParams) throws GeneralSecurityException
GeneralSecurityExceptionpublic static KeyStore getKeyStore(KeyStoreType kst) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic static KeyStore getKeyStore(CertStoreType pst) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
public static KeyManager[] getKeyManagers(KeyManagersType kmc) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic static TrustManager[] getTrustManagers(TrustManagersType tmc) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionApache CXF