Methods Summary |
---|
public int | getApplicationBufferSize()
return 1234567;
|
public java.lang.String | getCipherSuite()
return "SuiteName";
|
public long | getCreationTime()
return 1000l;
|
public byte[] | getId()
return idData;
|
public long | getLastAccessedTime()
return 2000l;
|
public java.security.cert.Certificate[] | getLocalCertificates()
return null;
|
public java.security.Principal | getLocalPrincipal()
return null;
|
public int | getPacketBufferSize()
return 12345;
|
public javax.security.cert.X509Certificate[] | getPeerCertificateChain()
if(xCerts == null) {
throw new SSLPeerUnverifiedException("peer not authenticated");
} else {
return xCerts;
}
|
public java.security.cert.Certificate[] | getPeerCertificates()
if (certs == null) {
throw new SSLPeerUnverifiedException("peer not authenticated");
} else {
return certs;
}
|
public java.lang.String | getPeerHost()
return nameHost;
|
public int | getPeerPort()
return namePort;
|
public java.security.Principal | getPeerPrincipal()
return null;
|
public java.lang.String | getProtocol()
return "ProtocolName";
|
public javax.net.ssl.SSLSessionContext | getSessionContext()
return null;
|
public java.lang.Object | getValue(java.lang.String s)
if(s == null) {
throw new IllegalArgumentException("argument can not be null");
} else {
return table.get(s);
}
|
public java.lang.String[] | getValueNames()
Vector vector = new Vector();
Enumeration enumeration = table.keys();
while (enumeration.hasMoreElements()) {
vector.addElement(enumeration.nextElement());
}
String as[] = new String[vector.size()];
vector.copyInto(as);
return as;
|
public void | invalidate()
invalidateDone = true;
|
public boolean | isValid()
return invalidateDone;
|
public void | putValue(java.lang.String s, java.lang.Object obj)
if(s == null || obj == null)
throw new IllegalArgumentException("arguments can not be null");
Object obj1 = table.put(s, obj);
if(obj1 instanceof SSLSessionBindingListener) {
SSLSessionBindingEvent sslsessionbindingevent = new SSLSessionBindingEvent(this, s);
((SSLSessionBindingListener)obj1).valueUnbound(sslsessionbindingevent);
}
if(obj instanceof SSLSessionBindingListener) {
SSLSessionBindingEvent sslsessionbindingevent1 = new SSLSessionBindingEvent(this, s);
((SSLSessionBindingListener)obj).valueBound(sslsessionbindingevent1);
}
|
public void | removeValue(java.lang.String s)
if(s == null)
throw new IllegalArgumentException("argument can not be null");
Object obj = table.remove(s);
if(obj instanceof SSLSessionBindingListener) {
SSLSessionBindingEvent sslsessionbindingevent = new SSLSessionBindingEvent(this, s);
((SSLSessionBindingListener)obj).valueUnbound(sslsessionbindingevent);
}
|