public final class TLSParameterJaxBUtils extends Object
Modifier and Type | Method and Description |
---|---|
static KeyManager[] |
getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc)
This method converts the JAXB KeyManagersType into a list of
JSSE KeyManagers.
|
static KeyManager[] |
getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc,
String alias)
This method converts the JAXB KeyManagersType into a list of
JSSE KeyManagers.
|
static KeyStore |
getKeyStore(org.apache.cxf.configuration.security.CertStoreType pst)
This method converts a JAXB generated CertStoreType into a KeyStore.
|
static KeyStore |
getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst) |
static KeyStore |
getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst,
boolean trustStore)
This method converts a JAXB generated KeyStoreType into a KeyStore.
|
static SecureRandom |
getSecureRandom(org.apache.cxf.configuration.security.SecureRandomParameters secureRandomParams)
This method converts the JAXB generated type into a SecureRandom.
|
static TrustManager[] |
getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc)
Deprecated.
|
static TrustManager[] |
getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc,
boolean enableRevocation) |
public static SecureRandom getSecureRandom(org.apache.cxf.configuration.security.SecureRandomParameters secureRandomParams) throws GeneralSecurityException
GeneralSecurityException
public static KeyStore getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyStore getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst, boolean trustStore) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyStore getKeyStore(org.apache.cxf.configuration.security.CertStoreType pst) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
public static KeyManager[] getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyManager[] getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc, String alias) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
@Deprecated public static TrustManager[] getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static TrustManager[] getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc, boolean enableRevocation) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
Apache CXF