diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KSSLCertChain.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KSSLCertChain.java | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KSSLCertChain.java b/tdejava/koala/org/trinitydesktop/koala/KSSLCertChain.java new file mode 100644 index 00000000..9f30edc2 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KSSLCertChain.java @@ -0,0 +1,87 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.QtSupport; + +/** + + KDE Certificate Chain Representation Class + This class provides a representation for an X.509 certificate chain. + @author George Staikos <staikos@kde.org> + + @short KDE X.509 Certificate Chain. + @see KSSL + @see KSSLCertificate + @see KSSLPeerInfo + +*/ +public class KSSLCertChain implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected KSSLCertChain(Class dummy){} + + /** + Construct a KSSLCertChain object + @short Construct a KSSLCertChain object + */ + public KSSLCertChain() { + newKSSLCertChain(); + } + private native void newKSSLCertChain(); + /** + Determine if this represents a valid certificate chain + @return true if it is a valid certificate chain + + @short Determine if this represents a valid certificate chain + */ + public native boolean isValid(); + /** + Do a deep copy of the certificate chain. + This is an expensive operation, and you are responsible for deleting + the returned object yourself. + @return pointer to a new certificate chain object + + @short Do a deep copy of the certificate chain. + */ + public native KSSLCertChain replicate(); + /** + Set the raw chain from OpenSSL + @short Set the raw chain from OpenSSL + */ + // void setChain(void* arg1); >>>> NOT CONVERTED + // void setChain(TQPtrList<KSSLCertificate>& arg1); >>>> NOT CONVERTED + /** + Set the certificate chain as a list of base64 encoded X.509 + certificates. + @param chain the certificate chain + @short Set the certificate chain as a list of base64 encoded X. + */ + public native void setCertChain(String[] chain); + /** + Obtain a copy of the certificate chain. + @return a deep copy of the certificate chain. + + @short Obtain a copy of the certificate chain. + @see KSSLCertificate + */ + // TQPtrList<KSSLCertificate> getChain(); >>>> NOT CONVERTED + /** + Determine the number of entries (depth) of the chain. + @return the number of entries in the certificate chain + + @short Determine the number of entries (depth) of the chain. + */ + public native int depth(); + /** + Read the raw chain in OpenSSL format + @short Read the raw chain in OpenSSL format + */ + // void* rawChain(); >>>> NOT CONVERTED + /** 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(); +} |