public class JSSEUtil extends SSLUtilBase
SSLUtil.ProtocolInfo
certificate
Constructor and Description |
---|
JSSEUtil(SSLHostConfigCertificate certificate) |
Modifier and Type | Method and Description |
---|---|
void |
configureSessionContext(SSLSessionContext sslSessionContext) |
SSLContext |
createSSLContext(List<String> negotiableProtocols) |
protected Collection<? extends CRL> |
getCRLs(String crlf)
Load the collection of CRLs.
|
protected Set<String> |
getImplementedCiphers() |
protected Set<String> |
getImplementedProtocols() |
KeyManager[] |
getKeyManagers() |
protected Log |
getLog() |
protected CertPathParameters |
getParameters(String algorithm,
String crlf,
KeyStore trustStore)
Return the initialization parameters for the TrustManager.
|
TrustManager[] |
getTrustManagers() |
getEnabledCiphers, getEnabledProtocols
public JSSEUtil(SSLHostConfigCertificate certificate)
protected Log getLog()
getLog
in class SSLUtilBase
protected Set<String> getImplementedProtocols()
getImplementedProtocols
in class SSLUtilBase
protected Set<String> getImplementedCiphers()
getImplementedCiphers
in class SSLUtilBase
public SSLContext createSSLContext(List<String> negotiableProtocols) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public KeyManager[] getKeyManagers() throws Exception
Exception
public TrustManager[] getTrustManagers() throws Exception
Exception
public void configureSessionContext(SSLSessionContext sslSessionContext)
protected CertPathParameters getParameters(String algorithm, String crlf, KeyStore trustStore) throws Exception
PKIX
is supported.algorithm
- The algorithm to get parameters for.crlf
- The path to the CRL file.trustStore
- The configured TrustStore.Exception
- An error occurredprotected Collection<? extends CRL> getCRLs(String crlf) throws IOException, CRLException, CertificateException
crlf
- The path to the CRL file.IOException
- Error reading CRL fileCRLException
- CRL errorCertificateException
- Error processing certificateCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.