|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.configuration.jsse.spring.TLSParameterJaxBUtils
public final class TLSParameterJaxBUtils
This class provides some functionality to convert the JAXB generated types in the security.xsd to the items needed to programatically configure the HTTPConduit and HTTPDestination with TLSClientParameters and TLSServerParameters respectively.
Method Summary | |
---|---|
static javax.net.ssl.KeyManager[] |
getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc)
This method converts the JAXB KeyManagersType into a list of JSSE KeyManagers. |
static java.security.KeyStore |
getKeyStore(org.apache.cxf.configuration.security.CertStoreType pst)
This method converts a JAXB generated CertStoreType into a KeyStore. |
static java.security.KeyStore |
getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst)
This method converts a JAXB generated KeyStoreType into a KeyStore. |
static java.security.SecureRandom |
getSecureRandom(org.apache.cxf.configuration.security.SecureRandomParameters secureRandomParams)
This method converts the JAXB generated type into a SecureRandom. |
static javax.net.ssl.TrustManager[] |
getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc)
This method converts the JAXB KeyManagersType into a list of JSSE TrustManagers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.security.SecureRandom getSecureRandom(org.apache.cxf.configuration.security.SecureRandomParameters secureRandomParams) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public static java.security.KeyStore getKeyStore(org.apache.cxf.configuration.security.KeyStoreType kst) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityException
java.io.IOException
public static java.security.KeyStore getKeyStore(org.apache.cxf.configuration.security.CertStoreType pst) throws java.io.IOException, java.security.cert.CertificateException, java.security.KeyStoreException, java.security.NoSuchAlgorithmException
java.io.IOException
java.security.cert.CertificateException
java.security.KeyStoreException
java.security.NoSuchAlgorithmException
public static javax.net.ssl.KeyManager[] getKeyManagers(org.apache.cxf.configuration.security.KeyManagersType kmc) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityException
java.io.IOException
public static javax.net.ssl.TrustManager[] getTrustManagers(org.apache.cxf.configuration.security.TrustManagersType tmc) throws java.security.GeneralSecurityException, java.io.IOException
java.security.GeneralSecurityException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |