#include <certificate.h>
Data Fields | |
gchar * | scheme_name |
Name of the scheme this Verifier operates on. | |
gchar * | name |
Name of the Verifier - case insensitive. | |
void(* | start_verification )(PurpleCertificateVerificationRequest *vrq) |
Start the verification process. | |
void(* | destroy_request )(PurpleCertificateVerificationRequest *vrq) |
Destroy a completed Request under this Verifier The function pointed to here is only responsible for cleaning up whatever PurpleCertificateVerificationRequest::data points to. | |
void(* | _purple_reserved1 )(void) |
void(* | _purple_reserved2 )(void) |
void(* | _purple_reserved3 )(void) |
void(* | _purple_reserved4 )(void) |
A Verifier provider must fill out these fields, then register it using purple_certificate_register_verifier()
The (scheme_name, name) value must be unique for each Verifier - you may not register more than one Verifier of the same name for each Scheme
Definition at line 264 of file certificate.h.
Name of the scheme this Verifier operates on.
The scheme will be looked up by name when a Request is generated using this Verifier
Definition at line 271 of file certificate.h.
Start the verification process.
To be called from purple_certificate_verify once it has constructed the request. This will use the information in the given VerificationRequest to check the certificate and callback the requester with the verification results.
vrq | Request to process |
Destroy a completed Request under this Verifier The function pointed to here is only responsible for cleaning up whatever PurpleCertificateVerificationRequest::data points to.
It should not call free(vrq)
vrq | Request to destroy |