_PurpleCertificateVerificationRequest Struct Reference

Structure for a single certificate request. More...

#include <certificate.h>

Collaboration diagram for _PurpleCertificateVerificationRequest:

Collaboration graph
[legend]

Data Fields

PurpleCertificateVerifierverifier
 Reference to the verification logic used.
PurpleCertificateSchemescheme
 Reference to the scheme used.
gchar * subject_name
 Name to check that the certificate is issued to.
GList * cert_chain
 List of certificates in the chain to be verified (such as that returned by purple_ssl_get_peer_certificates ).
gpointer data
 Internal data used by the Verifier code.
PurpleCertificateVerifiedCallback cb
 Function to call with the verification result.
gpointer cb_data
 Data to pass to the post-verification callback.

Detailed Description

Structure for a single certificate request.

Useful for keeping track of the state of a verification that involves several steps

Definition at line 313 of file certificate.h.


Field Documentation

PurpleCertificateScheme* _PurpleCertificateVerificationRequest::scheme

Reference to the scheme used.

This is looked up from the Verifier when the Request is generated

Definition at line 321 of file certificate.h.

gchar* _PurpleCertificateVerificationRequest::subject_name

Name to check that the certificate is issued to.

For X.509 certificates, this is the Common Name

Definition at line 328 of file certificate.h.

GList* _PurpleCertificateVerificationRequest::cert_chain

List of certificates in the chain to be verified (such as that returned by purple_ssl_get_peer_certificates ).

This is most relevant for X.509 certificates used in SSL sessions. The list order should be: certificate, issuer, issuer's issuer, etc.

Definition at line 335 of file certificate.h.


The documentation for this struct was generated from the following file: