| java.lang.Object org.apache.cxf.transport.https.SSLUtils
SSLUtils | final public class SSLUtils (Code) | | Holder for utility methods related to manipulating SSL settings, common
to the connection and listener factories (previously duplicated).
|
Method Summary | |
public static String[] | getCiphersuites(List<String> cipherSuitesList, String[] supportedCipherSuites, FiltersType filters, Logger log, boolean exclude) | public static String | getKeyPassword(String keyPassword, Logger log) | public static KeyManager[] | getKeyStoreManagers(String keyStoreLocation, String keyStoreType, String keyStorePassword, String keyPassword, String keyStoreMgrFactoryAlgorithm, String secureSocketProtocol, Logger log) | public static String | getKeystore(String keyStoreLocation, Logger log) | public static String | getKeystoreAlgorithm(String keyStoreMgrFactoryAlgorithm, Logger log) | public static String | getKeystorePassword(String keyStorePassword, Logger log) | public static String | getKeystoreType(String keyStoreType, Logger log) | public static boolean | getRequireClientAuthentication(boolean isSetRequireClientAuthentication, Boolean isRequireClientAuthentication, Logger log) | public static SSLContext | getSSLContext(String protocol, KeyManager[] keyStoreManagers, TrustManager[] trustStoreManagers) | public static String | getSecureSocketProtocol(String secureSocketProtocol, Logger log) | public static String[] | getServerSupportedCipherSuites(SSLContext context) | public static String[] | getSupportedCipherSuites(SSLContext context) | public static String | getTrustStore(String trustStoreLocation, Logger log) | public static String | getTrustStoreAlgorithm(String trustStoreMgrFactoryAlgorithm, Logger log) | public static TrustManager[] | getTrustStoreManagers(boolean pkcs12, String trustStoreType, String trustStoreLocation, String trustStoreMgrFactoryAlgorithm, Logger log) | public static String | getTrustStoreType(String trustStoreType, Logger log) | public static boolean | getWantClientAuthentication(boolean isSetWantClientAuthentication, Boolean isWantClientAuthentication, Logger log) | protected static byte[] | loadCACert(String fileName) | protected static byte[] | loadClientCredential(String fileName) | public static KeyManager[] | loadKeyStore(KeyManagerFactory kmf, KeyStore ks, ByteArrayInputStream bin, String keyStoreLocation, String keyStorePassword, Logger log) | public static void | logUnSupportedPolicies(Object policy, boolean client, String[] unsupported, Logger log) | public static void | propogateSecureSession(HttpServletRequest request, Message message) Propogate in the message a TLSSessionInfo instance representative
of the TLS-specific information in the HTTP request. | public static boolean | testAllDataHasSetupMethod(Object policy, String[] unsupported, String[] derivative) |
getCiphersuites | public static String[] getCiphersuites(List<String> cipherSuitesList, String[] supportedCipherSuites, FiltersType filters, Logger log, boolean exclude)(Code) | | |
getRequireClientAuthentication | public static boolean getRequireClientAuthentication(boolean isSetRequireClientAuthentication, Boolean isRequireClientAuthentication, Logger log)(Code) | | |
getTrustStoreAlgorithm | public static String getTrustStoreAlgorithm(String trustStoreMgrFactoryAlgorithm, Logger log)(Code) | | |
getWantClientAuthentication | public static boolean getWantClientAuthentication(boolean isSetWantClientAuthentication, Boolean isWantClientAuthentication, Logger log)(Code) | | |
logUnSupportedPolicies | public static void logUnSupportedPolicies(Object policy, boolean client, String[] unsupported, Logger log)(Code) | | |
propogateSecureSession | public static void propogateSecureSession(HttpServletRequest request, Message message)(Code) | | Propogate in the message a TLSSessionInfo instance representative
of the TLS-specific information in the HTTP request.
Parameters: req - the Jetty request Parameters: message - the Message |
testAllDataHasSetupMethod | public static boolean testAllDataHasSetupMethod(Object policy, String[] unsupported, String[] derivative)(Code) | | |
|
|