|
gwenhywfar 5.12.0
|

Go to the source code of this file.
Functions | |
| int | GWEN_Gui_CheckCert (const GWEN_SSLCERTDESCR *cd, GWEN_SYNCIO *sio, uint32_t guiid) |
| int GWENHYWFAR_CB | GWEN_Gui_CheckCertBuiltIn (GWEN_UNUSED GWEN_GUI *gui, const GWEN_SSLCERTDESCR *cd, GWEN_UNUSED GWEN_SYNCIO *sio, uint32_t guiid) |
| int GWEN_Gui_CheckCert | ( | const GWEN_SSLCERTDESCR * | cert, |
| GWEN_SYNCIO * | sio, | ||
| uint32_t | guiid ) |
This function checks the given certificate. The default implementation just shows the given certificate to the user and asks whether to accept it.
| cert | certificate description |
| io | IO layer from which the certificate was received |
| guiid | id as returned by GWEN_Gui_ProgressStart or GWEN_Gui_ShowBox) |
Definition at line 30 of file gui_cert.c.
References GWEN_ERROR_NOT_IMPLEMENTED, and GWEN_Gui_GetGui().
Referenced by GWEN_SyncIo_Tls_Internal_CheckCert().


| int GWENHYWFAR_CB GWEN_Gui_CheckCertBuiltIn | ( | GWEN_UNUSED GWEN_GUI * | gui, |
| const GWEN_SSLCERTDESCR * | cd, | ||
| GWEN_UNUSED GWEN_SYNCIO * | sio, | ||
| uint32_t | guiid ) |
Definition at line 43 of file gui_cert.c.
References DBG_ERROR, DBG_NOTICE, GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_ERROR_SSL_SECURITY, GWEN_Gui_MessageBox(), GWEN_GUI_MSG_FLAGS_CONFIRM_B1, GWEN_GUI_MSG_FLAGS_SEVERITY_DANGEROUS, GWEN_GUI_MSG_FLAGS_TYPE_WARN, GWEN_LOGDOMAIN, GWEN_SslCertDescr_GetCommonName(), GWEN_SslCertDescr_GetCountryName(), GWEN_SslCertDescr_GetFingerPrint(), GWEN_SslCertDescr_GetFingerPrintSha1(), GWEN_SslCertDescr_GetFingerPrintSha512(), GWEN_SslCertDescr_GetIsError(), GWEN_SslCertDescr_GetLocalityName(), GWEN_SslCertDescr_GetNotAfter(), GWEN_SslCertDescr_GetNotBefore(), GWEN_SslCertDescr_GetOrganizationalUnitName(), GWEN_SslCertDescr_GetOrganizationName(), GWEN_SslCertDescr_GetStateOrProvinceName(), GWEN_SslCertDescr_GetStatusText(), GWEN_Time_toString(), GWEN_UNUSED, GWENHYWFAR_CB, I18N, and I18S.
Referenced by GWEN_Gui_new().

