|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jacorb.orb.listener.SSLSessionEvent
public class SSLSessionEvent
SSLSessionEvent
defines an event state object for a
SSL Session.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SSLSessionEvent(java.lang.Object source,
java.lang.String remoteIP,
int remotePort,
javax.security.cert.X509Certificate[] peerCerts,
int localPort,
java.lang.String localIP,
java.io.IOException ex)
Creates a new SSLSessionEvent instance passing in the
source of the event and relevant connection data. |
Method Summary | |
---|---|
java.io.IOException |
getCause()
Returns the exception that caused this event to be created |
java.lang.String |
getLocalIP()
getLocalIP is an accessor for the local IP address. |
int |
getLocalPort()
getLocalPort is an accessor for the local port. |
javax.security.cert.X509Certificate[] |
getPeerCertificateChain()
Returns the X509Certificate chain for the remote object. |
java.lang.String |
getRemoteDN()
Deprecated. use getPeerCertificateChain |
java.lang.String |
getRemoteIP()
getRemoteIP is an accessor for the remote IP. |
int |
getRemotePort()
getRemotePort is an accessor for the remote port. |
java.lang.String |
toString()
Returns a String representation of this EventObject. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SSLSessionEvent(java.lang.Object source, java.lang.String remoteIP, int remotePort, javax.security.cert.X509Certificate[] peerCerts, int localPort, java.lang.String localIP, java.io.IOException ex)
SSLSessionEvent
instance passing in the
source of the event and relevant connection data.
source
- an Object
valueremoteIP
- a String
value, maybe blank if a Socket has
just been created and not connected.remotePort
- an int
value, maybe -1 if a Socket has
just been created and not connected.peerCerts
- a X509Certificate
[] valuelocalPort
- an int
valuelocalIP
- a String
valueMethod Detail |
---|
public java.lang.String getRemoteIP()
getRemoteIP
is an accessor for the remote IP.
String
valuepublic int getRemotePort()
getRemotePort
is an accessor for the remote port.
int
valuepublic java.lang.String getRemoteDN()
getRemoteDN
is an accessor for the remote distinguished name
String
valuepublic int getLocalPort()
getLocalPort
is an accessor for the local port.
int
valuepublic java.lang.String getLocalIP()
getLocalIP
is an accessor for the local IP address.
String
valuepublic javax.security.cert.X509Certificate[] getPeerCertificateChain()
X509Certificate
chain for the remote object.
This may return null if the certificates were not available when
this event was created
X509Certificate
objects.public java.lang.String toString()
toString
in class java.util.EventObject
public java.io.IOException getCause()
IOException
this can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |