comparison libpurple/certificate.h @ 19067:6c0aad79c4c5

- Change the internal structure of activation/expiration times to match the "NSS way", which is already how the libpurple public interface works - Change ssl-gnutls to match the above
author William Ehlhardt <williamehlhardt@gmail.com>
date Fri, 03 Aug 2007 06:12:42 +0000
parents c79b54f03f9d
children daa68185a018
comparison
equal deleted inserted replaced
19066:b631b409a515 19067:6c0aad79c4c5
233 * @see purple_certificate_check_subject_name() 233 * @see purple_certificate_check_subject_name()
234 * @return TRUE if it is a match, else FALSE 234 * @return TRUE if it is a match, else FALSE
235 */ 235 */
236 gboolean (* check_subject_name)(PurpleCertificate *crt, const gchar *name); 236 gboolean (* check_subject_name)(PurpleCertificate *crt, const gchar *name);
237 237
238 /** Retrieve the certificate activation time */ 238 /** Retrieve the certificate activation/expiration times */
239 time_t (* get_activation)(PurpleCertificate *crt); 239 gboolean (* get_times)(PurpleCertificate *crt, time_t *activation, time_t *expiration);
240 /** Retrieve the expiration time */
241 time_t (* get_expiration)(PurpleCertificate *crt);
242 240
243 /* TODO: Fill out this structure */ 241 /* TODO: Fill out this structure */
244 }; 242 };
245 243
246 /** A set of operations used to provide logic for verifying a Certificate's 244 /** A set of operations used to provide logic for verifying a Certificate's