[maemo-developers] How to install a X509 certificate?

From: Zhihai Wang pageguest at gmail.com
Date: Mon May 26 10:49:36 EEST 2008
Dear all,

How to install a X509 certificate into the browser?

I had thought that
g_web_perform_crtificate_context_action<file:///D:/src/microb/www/docs/eal/gweb_8h.html#7e47733defd6f89ae3c64a1c08ee1cd3>(web,
ctx, *G_WEB_CERT_ACTION_INSTALL, cert*) will do the job.

But when I looked into the
implimentation(g_mozilla_web_perform_crtificate_context_action), I found
that nothing was done there.

*static GWebCertificateReaction
g_mozilla_web_perform_crtificate_context_action (GMozillaWeb *self,
                                                 GObject *context,
                                                 GWebCertificateAction
action,
                                                 GObject *cert)
{
    TRACE_LOG();
    if (action == G_WEB_CERT_ACTION_ACCEPT) {
        GMozillaWebCertContext* ctx = (GMozillaWebCertContext*) context;
        if (cert && ctx->mozcert != cert) {
            return G_WEB_CERT_REACTION_CLOSE;
        }
    } else if (action == G_WEB_CERT_ACTION_CANCEL) {
        return G_WEB_CERT_REACTION_CLOSE;
    }

    return G_WEB_CERT_REACTION_NOTHING;
}*

Any clue or suggestion will be greatly appreciated.

Best Regards,
Zhihai Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080526/32e180af/attachment.htm 
More information about the maemo-developers mailing list