|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KSSLPeerInfo
public class KSSLPeerInfo
KDE SSL Peer Data This class contains data about the peer of an SSL connection.
KSSL
Constructor Summary | |
---|---|
|
KSSLPeerInfo()
|
protected |
KSSLPeerInfo(java.lang.Class dummy)
|
Method Summary | |
---|---|
boolean |
certMatchesAddress()
Determine if the peer's certificate matches the address set with setPeerHost(). |
boolean |
cnMatchesAddress(java.lang.String cn)
Determine if the given "common name" matches the address set with setPeerHost(). |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
KSSLCertificate |
getPeerCertificate()
Get a reference to the peer's certificate |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.lang.String |
peerHost()
Returns the host we are connected to. |
void |
reset()
Clear out the host name. |
void |
setPeerHost()
|
void |
setPeerHost(java.lang.String host)
Set the host that we are connected to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KSSLPeerInfo(java.lang.Class dummy)
public KSSLPeerInfo()
Method Detail |
---|
public KSSLCertificate getPeerCertificate()
KSSLCertificate
public boolean certMatchesAddress()
setPeerHost(java.lang.String)
public boolean cnMatchesAddress(java.lang.String cn)
setPeerHost(java.lang.String)
public void setPeerHost(java.lang.String host)
host
- the hostnamepublic void setPeerHost()
public java.lang.String peerHost()
public void reset()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |