org.glassfish.grizzly.ssl
Class SSLSupportImpl
java.lang.Object
org.glassfish.grizzly.ssl.SSLSupportImpl
- All Implemented Interfaces:
- SSLSupport
public class SSLSupportImpl
- extends Object
- implements SSLSupport
- Author:
- oleksiys
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SIZE_KEY
public static final String KEY_SIZE_KEY
- See Also:
- Constant Field Values
SSLSupportImpl
public SSLSupportImpl(Connection connection)
getCipherSuite
public String getCipherSuite()
throws IOException
- Description copied from interface:
SSLSupport
- The cipher suite being used on this connection.
- Specified by:
getCipherSuite
in interface SSLSupport
- Throws:
IOException
getPeerCertificateChain
public Object[] getPeerCertificateChain()
throws IOException
- Description copied from interface:
SSLSupport
- The client certificate chain (if any).
- Specified by:
getPeerCertificateChain
in interface SSLSupport
- Throws:
IOException
getX509Certificates
protected X509Certificate[] getX509Certificates(SSLSession session)
throws IOException
- Throws:
IOException
getPeerCertificateChain
public Object[] getPeerCertificateChain(boolean force)
throws IOException
- Description copied from interface:
SSLSupport
- The client certificate chain (if any).
- Specified by:
getPeerCertificateChain
in interface SSLSupport
- Parameters:
force
- If true, then re-negotiate the
connection if necessary.
- Throws:
IOException
getKeySize
public Integer getKeySize()
throws IOException
- Copied from
org.apache.catalina.valves.CertificateValve
- Specified by:
getKeySize
in interface SSLSupport
- Throws:
IOException
getSessionId
public String getSessionId()
throws IOException
- Description copied from interface:
SSLSupport
- The current session Id.
- Specified by:
getSessionId
in interface SSLSupport
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.