Data Fields
_PurpleCertificateVerificationRequest Struct Reference

Structure for a single certificate request. More...

#include <certificate.h>

Data Fields

PurpleCertificateVerifierverifier
 Reference to the verification logic used.
 
PurpleCertificateSchemescheme
 Reference to the scheme used. More...
 
gchar * subject_name
 Name to check that the certificate is issued to. More...
 
GList * cert_chain
 List of certificates in the chain to be verified (such as that returned by purple_ssl_get_peer_certificates ) More...
 
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 375 of file certificate.h.

Field Documentation

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 397 of file certificate.h.

PurpleCertificateScheme* _PurpleCertificateVerificationRequest::scheme

Reference to the scheme used.

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

Definition at line 383 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 390 of file certificate.h.


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