You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.6 KiB
88 lines
2.6 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.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();
|
|
}
|