Mercurial > pidgin
comparison libpurple/certificate.h @ 32212:1bcedeb32bb4
Remove the old deprecated purple_certificate_check_signature_chain.
Rename purple_certificate_check_signature_chain_with_failing to purple_certificate_check_signature_chain.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 24 Sep 2011 16:36:57 +0000 |
parents | c35fd54ec64b |
children | 02a2e8183b1d |
comparison
equal
deleted
inserted
replaced
32211:fa4b88cf8b56 | 32212:1bcedeb32bb4 |
---|---|
460 * in the order certificate, issuer, issuer's issuer, etc. | 460 * in the order certificate, issuer, issuer's issuer, etc. |
461 * @param failing A pointer to a PurpleCertificate*. If not NULL, if the | 461 * @param failing A pointer to a PurpleCertificate*. If not NULL, if the |
462 * chain fails to validate, this will be set to the | 462 * chain fails to validate, this will be set to the |
463 * certificate whose signature could not be validated. | 463 * certificate whose signature could not be validated. |
464 * @return TRUE if the chain is valid. See description. | 464 * @return TRUE if the chain is valid. See description. |
465 * | 465 */ |
466 * @since 2.6.0 | 466 gboolean |
467 * @deprecated This function will become | 467 purple_certificate_check_signature_chain(GList *chain, |
468 * purple_certificate_check_signature_chain in 3.0.0 | |
469 */ | |
470 gboolean | |
471 purple_certificate_check_signature_chain_with_failing(GList *chain, | |
472 PurpleCertificate **failing); | 468 PurpleCertificate **failing); |
473 | |
474 /** | |
475 * Check that a certificate chain is valid | |
476 * | |
477 * Uses purple_certificate_signed_by() to verify that each PurpleCertificate | |
478 * in the chain carries a valid signature from the next. A single-certificate | |
479 * chain is considered to be valid. | |
480 * | |
481 * @param chain List of PurpleCertificate instances comprising the chain, | |
482 * in the order certificate, issuer, issuer's issuer, etc. | |
483 * @return TRUE if the chain is valid. See description. | |
484 * @todo Specify which certificate in the chain caused a failure | |
485 * @deprecated This function will be removed in 3.0.0 and replaced with | |
486 * purple_certificate_check_signature_chain_with_failing | |
487 */ | |
488 gboolean | |
489 purple_certificate_check_signature_chain(GList *chain); | |
490 | 469 |
491 /** | 470 /** |
492 * Imports a PurpleCertificate from a file | 471 * Imports a PurpleCertificate from a file |
493 * | 472 * |
494 * @param scheme Scheme to import under | 473 * @param scheme Scheme to import under |