Top Fields Constructors Methods
org.glassfish.grizzly.ssl

public Class SSLSupportImpl

extends Object
implements SSLSupport
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.ssl.SSLSupport
Imports
java.io.ByteArrayInputStream, .IOException, java.security.cert.Certificate, .CertificateFactory, .X509Certificate, java.util.logging.Level, .Logger, javax.net.ssl.SSLEngine, .SSLSession, org.glassfish.grizzly.Connection, .Grizzly

Author
oleksiys

Field Summary

Modifier and TypeField and Description
private static final SSLSupport.CipherData[]
ciphers

A mapping table to determine the number of effective bits in the key when using a cipher suite containing the specified cipher name.

private final SSLEngine
public static final String
private static final Logger
private volatile SSLSession

Constructor Summary

AccessConstructor and Description
public
SSLSupportImpl(Connection<L> connection)

Method Summary

Modifier and TypeMethod and Description
protected Certificate[]
public String
getCipherSuite()

Implements org.glassfish.grizzly.ssl.SSLSupport.getCipherSuite.

The cipher suite being used on this connection.

public Integer
getKeySize()

Implements org.glassfish.grizzly.ssl.SSLSupport.getKeySize.

Copied from org.apache.catalina.valves.CertificateValve

public Certificate[]
public Certificate[]
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ciphersback to summary
private static final SSLSupport.CipherData[] ciphers

A mapping table to determine the number of effective bits in the key when using a cipher suite containing the specified cipher name. The underlying data came from the TLS Specification (RFC 2246), Appendix C.

engineback to summary
private final SSLEngine engine
KEY_SIZE_KEYback to summary
public static final String KEY_SIZE_KEY

Hides org.glassfish.grizzly.ssl.SSLSupport.KEY_SIZE_KEY.

loggerback to summary
private static final Logger logger
sessionback to summary
private volatile SSLSession session

Constructor Detail

SSLSupportImplback to summary
public SSLSupportImpl(Connection<L> connection)

Method Detail

getCertificatesback to summary
protected Certificate[] getCertificates(SSLSession session) throws IOException
getCipherSuiteback to summary
public String getCipherSuite() throws IOException

Implements org.glassfish.grizzly.ssl.SSLSupport.getCipherSuite.

Doc from org.glassfish.grizzly.ssl.SSLSupport.getCipherSuite.

The cipher suite being used on this connection.

Annotations
@Override
getKeySizeback to summary
public Integer getKeySize() throws IOException

Implements org.glassfish.grizzly.ssl.SSLSupport.getKeySize.

Copied from org.apache.catalina.valves.CertificateValve

Annotations
@Override
getPeerCertificatesback to summary
public Certificate[] getPeerCertificates() throws IOException

Implements org.glassfish.grizzly.ssl.SSLSupport.getPeerCertificates.

Annotations
@Override
getPeerCertificatesback to summary
public Certificate[] getPeerCertificates(boolean force) throws IOException

Implements org.glassfish.grizzly.ssl.SSLSupport.getPeerCertificates.

Annotations
@Override
getSessionIdback to summary
public String getSessionId() throws IOException

Implements org.glassfish.grizzly.ssl.SSLSupport.getSessionId.

Doc from org.glassfish.grizzly.ssl.SSLSupport.getSessionId.

The current session Id.

Annotations
@Override