You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
4.4 KiB
Java
109 lines
4.4 KiB
Java
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.TQMetaObject;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.TQWidget;
|
|
|
|
/**
|
|
|
|
KDE SSL Information Dialog
|
|
This class creates a dialog that can be used to display information about
|
|
an SSL session.
|
|
There are NO GUARANTEES that KSSLInfoDlg will remain binary compatible/
|
|
Contact staikos@kde.org for details if needed.
|
|
@author George Staikos <staikos@kde.org>
|
|
|
|
@short KDE SSL Information Dialog.
|
|
@see KSSL
|
|
|
|
*/
|
|
public class KSSLInfoDlg extends KDialog {
|
|
protected KSSLInfoDlg(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Construct a KSSL Information Dialog
|
|
@param secureConnection true if the connection is secured with SSL
|
|
@param parent the parent widget
|
|
@param name the internal name of this instance
|
|
@param modal true if the dialog should be modal
|
|
@short Construct a KSSL Information Dialog
|
|
*/
|
|
public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal) {
|
|
super((Class) null);
|
|
newKSSLInfoDlg(secureConnection,parent,name,modal);
|
|
}
|
|
private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal);
|
|
public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKSSLInfoDlg(secureConnection,parent,name);
|
|
}
|
|
private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name);
|
|
public KSSLInfoDlg(boolean secureConnection, TQWidget parent) {
|
|
super((Class) null);
|
|
newKSSLInfoDlg(secureConnection,parent);
|
|
}
|
|
private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent);
|
|
public KSSLInfoDlg(boolean secureConnection) {
|
|
super((Class) null);
|
|
newKSSLInfoDlg(secureConnection);
|
|
}
|
|
private native void newKSSLInfoDlg(boolean secureConnection);
|
|
/**
|
|
Tell the dialog if the connection has portions that may not be
|
|
secure (ie. a mixture of secure and insecure frames)
|
|
@param isIt true if security is in question
|
|
@short Tell the dialog if the connection has portions that may not be secure (ie.
|
|
*/
|
|
public native void setSecurityInQuestion(boolean isIt);
|
|
/**
|
|
Setup the dialog before showing it.
|
|
@param cert the certificate presented by the site
|
|
@param ip the ip of the remote host
|
|
@param url the url being accessed
|
|
@param cipher the cipher in use
|
|
@param cipherdesc text description of the cipher in use
|
|
@param sslversion the version of SSL in use (SSLv2, SSLv3, TLSv1, etc)
|
|
@param usedbits the number of bits in the cipher key being used
|
|
@param bits the bit-size of the cipher in use
|
|
@param certState the certificate state (valid, invalid, etc)
|
|
@short Setup the dialog before showing it.
|
|
*/
|
|
public native void setup(KSSLCertificate cert, String ip, String url, String cipher, String cipherdesc, String sslversion, int usedbits, int bits, int certState);
|
|
/**
|
|
Setup the dialog before showing it. This is a convenience version
|
|
of the above method, and obtains the same information using the
|
|
@param ssl parameter instead.
|
|
@param ssl the ssl connection
|
|
@param ip the ip of the remote host
|
|
@param url the url being accessed
|
|
@short Setup the dialog before showing it.
|
|
*/
|
|
public native void setup(KSSL ssl, String ip, String url);
|
|
/**
|
|
Set the errors that were encountered while validating the site
|
|
certificate.
|
|
@short Set the errors that were encountered while validating the site certificate.
|
|
*/
|
|
public native void setCertState(String errorNrs);
|
|
/**
|
|
Utility function to generate the widget which displays the detailed
|
|
information about an X.509 certificate.
|
|
@param parent the parent widget
|
|
@param certName the name (subject) of the certificate
|
|
@param mailCatcher the class which catches click events on e-mail
|
|
addresses
|
|
@short Utility function to generate the widget which displays the detailed information about an X.
|
|
*/
|
|
public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName, TQWidget mailCatcher);
|
|
public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName);
|
|
/** 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();
|
|
}
|