![]() |
![]() |
![]() |
libinfgtk-0.5 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
InfGtkCertificateDialog; enum InfGtkCertificateDialogFlags; InfGtkCertificateDialog * inf_gtk_certificate_dialog_new (GtkWindow *parent
,GtkDialogFlags dialog_flags
,InfGtkCertificateDialogFlags certificate_flags
,const gchar *hostname
,InfCertificateChain *certificate_chain
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----InfGtkCertificateDialog
"certificate-chain" InfCertificateChain* : Read / Write "certificate-flags" InfCertificateDialogFlags : Read / Write "hostname" gchar* : Read / Write
typedef enum { INF_GTK_CERTIFICATE_DIALOG_CERT_NOT_ACTIVATED = 1 << 0, INF_GTK_CERTIFICATE_DIALOG_CERT_EXPIRED = 1 << 1, INF_GTK_CERTIFICATE_DIALOG_CERT_HOSTNAME_MISMATCH = 1 << 2, INF_GTK_CERTIFICATE_DIALOG_CERT_INVALID = 1 << 3, INF_GTK_CERTIFICATE_DIALOG_CERT_ISSUER_NOT_TRUSTED = 1 << 4, INF_GTK_CERTIFICATE_DIALOG_CERT_CHANGED = 1 << 5, /* only valid when CERT_CHANGED is also set */ INF_GTK_CERTIFICATE_DIALOG_CERT_OLD_EXPIRED = 1 << 6 } InfGtkCertificateDialogFlags;
InfGtkCertificateDialog * inf_gtk_certificate_dialog_new (GtkWindow *parent
,GtkDialogFlags dialog_flags
,InfGtkCertificateDialogFlags certificate_flags
,const gchar *hostname
,InfCertificateChain *certificate_chain
);
Creates a new InfGtkCertificateDialog. A InfGtkCertificateDialog shows warnings about a server's certificate to a user, for example when the issuer is not trusted or the certificate is expired.
|
Parent GtkWindow of the dialog. |
|
Flags for the dialog, see GtkDialogFlags. |
|
What certificate warnings to show, see InfGtkCertificateDialogFlags. |
|
The host name of the server that provides the certificate. |
|
The certificate chain provided by the server. |
Returns : |
A New InfGtkCertificateDialog. |
"certificate-chain"
property"certificate-chain" InfCertificateChain* : Read / Write
The certificate chain to show in the dialog.
"certificate-flags"
property "certificate-flags" InfCertificateDialogFlags : Read / Write
What warnings about the certificate to display.
"hostname"
property"hostname" gchar* : Read / Write
Host name of the server from which the certificate is.
Default value: NULL