summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSSLPeerInfo.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KSSLPeerInfo.java
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSSLPeerInfo.java')
-rw-r--r--kdejava/koala/org/kde/koala/KSSLPeerInfo.java79
1 files changed, 79 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KSSLPeerInfo.java b/kdejava/koala/org/kde/koala/KSSLPeerInfo.java
new file mode 100644
index 00000000..114c50ef
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KSSLPeerInfo.java
@@ -0,0 +1,79 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QtSupport;
+
+/**
+
+ KDE SSL Peer Data
+ This class contains data about the peer of an SSL connection.
+ @author George Staikos <staikos@kde.org>
+
+ @short KDE SSL Peer Data.
+ @see KSSL
+
+*/
+public class KSSLPeerInfo implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected KSSLPeerInfo(Class dummy){}
+
+ /**
+ Get a reference to the peer's certificate
+ @return a reference to the peer's certificate
+
+ @short Get a reference to the peer's certificate
+ @see KSSLCertificate
+ */
+ public native KSSLCertificate getPeerCertificate();
+ /**
+ Determine if the peer's certificate matches the address set with
+ setPeerHost(). Note that this is a match in the "https"
+ sense, taking into account, for instance, wildcards.
+ @return true if it matches
+
+ @short Determine if the peer's certificate matches the address set with setPeerHost().
+ @see #setPeerHost
+ */
+ public native boolean certMatchesAddress();
+ /**
+ Determine if the given "common name" matches the address set with
+ setPeerHost(). Note that this is a match in the "https"
+ sense, taking into account, for instance, wildcards.
+ @return true if it matches
+
+ @short Determine if the given "common name" matches the address set with setPeerHost().
+ @see #setPeerHost
+ */
+ public native boolean cnMatchesAddress(String cn);
+ /**
+ Set the host that we are connected to. This is generally set by
+ KSSL, and should be exactly what the user -thinks- he is connected
+ to. (for instance, the host name in the url)
+ @param host the hostname
+ @short Set the host that we are connected to.
+ */
+ public native void setPeerHost(String host);
+ public native void setPeerHost();
+ /**
+ Returns the host we are connected to.
+ @short Returns the host we are connected to.
+ */
+ public native String peerHost();
+ /**
+ Clear out the host name.
+ @short Clear out the host name.
+ */
+ public native void reset();
+ public KSSLPeerInfo() {
+ newKSSLPeerInfo();
+ }
+ private native void newKSSLPeerInfo();
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}