public final class SSLNullSession extends Object implements SSLSession, Cloneable
| Constructor and Description |
|---|
SSLNullSession() |
| Modifier and Type | Method and Description |
|---|---|
int |
getApplicationBufferSize() |
String |
getCipherSuite() |
long |
getCreationTime() |
byte[] |
getId() |
long |
getLastAccessedTime() |
Certificate[] |
getLocalCertificates() |
Principal |
getLocalPrincipal() |
static SSLSession |
getNullSession() |
int |
getPacketBufferSize() |
X509Certificate[] |
getPeerCertificateChain() |
Certificate[] |
getPeerCertificates() |
String |
getPeerHost() |
int |
getPeerPort() |
Principal |
getPeerPrincipal() |
String |
getProtocol() |
SSLSessionContext |
getSessionContext() |
Object |
getValue(String name) |
String[] |
getValueNames() |
void |
invalidate() |
boolean |
isValid() |
void |
putValue(String name,
Object value) |
void |
removeValue(String name) |
public static SSLSession getNullSession()
public int getApplicationBufferSize()
getApplicationBufferSize in interface SSLSessionpublic String getCipherSuite()
getCipherSuite in interface SSLSessionpublic long getCreationTime()
getCreationTime in interface SSLSessionpublic byte[] getId()
getId in interface SSLSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface SSLSessionpublic Certificate[] getLocalCertificates()
getLocalCertificates in interface SSLSessionpublic Principal getLocalPrincipal()
getLocalPrincipal in interface SSLSessionpublic int getPacketBufferSize()
getPacketBufferSize in interface SSLSessionpublic X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException
getPeerCertificateChain in interface SSLSessionSSLPeerUnverifiedExceptionpublic Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
getPeerCertificates in interface SSLSessionSSLPeerUnverifiedExceptionpublic String getPeerHost()
getPeerHost in interface SSLSessionpublic int getPeerPort()
getPeerPort in interface SSLSessionpublic Principal getPeerPrincipal() throws SSLPeerUnverifiedException
getPeerPrincipal in interface SSLSessionSSLPeerUnverifiedExceptionpublic String getProtocol()
getProtocol in interface SSLSessionpublic SSLSessionContext getSessionContext()
getSessionContext in interface SSLSessionpublic Object getValue(String name)
getValue in interface SSLSessionpublic String[] getValueNames()
getValueNames in interface SSLSessionpublic void invalidate()
invalidate in interface SSLSessionpublic boolean isValid()
isValid in interface SSLSessionpublic void putValue(String name, Object value)
putValue in interface SSLSessionpublic void removeValue(String name)
removeValue in interface SSLSession