|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.configuration.jsse.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 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SecureRandom getSecureRandom(SecureRandomParameters secureRandomParams) throws GeneralSecurityException
GeneralSecurityException
public static KeyStore getKeyStore(KeyStoreType kst) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static KeyStore getKeyStore(CertStoreType pst) throws IOException, CertificateException, KeyStoreException, NoSuchAlgorithmException
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException
public static KeyManager[] getKeyManagers(KeyManagersType kmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public static TrustManager[] getTrustManagers(TrustManagersType tmc) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |