public class SslUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer |
extractKeySize(java.lang.String sslCipherSuite)
Extract the SSL key size of a given cipher suite.
|
static java.lang.String[] |
getDisabledCipherSuites(RestletHelper<?> helper)
Returns the list of disabled cipher suites.
|
static java.lang.String[] |
getEnabledCipherSuites(RestletHelper<?> helper)
Returns the list of enabled cipher suites.
|
static SslContextFactory |
getSslContextFactory(RestletHelper<?> helper)
Returns the SSL context factory.
|
public static java.lang.Integer extractKeySize(java.lang.String sslCipherSuite)
sslCipherSuite
- The SSL cipher suite.public static java.lang.String[] getDisabledCipherSuites(RestletHelper<?> helper)
helper
- The helper to use.public static java.lang.String[] getEnabledCipherSuites(RestletHelper<?> helper)
helper
- The helper to use.public static SslContextFactory getSslContextFactory(RestletHelper<?> helper)
helper
- The helper to use.Copyright © 2005-2012. All Rights Reserved.