2 * Copyright (C) 2010 Martin Willi
4 * Copyright (C) secunet Security Networks AG
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 * @defgroup openssl_crl openssl_crl
19 * @{ @ingroup openssl_p
22 #ifndef OPENSSL_CRL_H_
23 #define OPENSSL_CRL_H_
25 typedef struct openssl_crl_t openssl_crl_t
;
27 #include <credentials/certificates/crl.h>
30 * X.509 Certificate Revocation list implemented with OpenSSL.
32 struct openssl_crl_t
{
35 * Implements the crl_t interface.
41 * Load a X.509 CRL using OpenSSL.
43 * @param type certificate type, CERT_X509_CRL only
44 * @param args builder_part_t argument list
45 * @return X.509 CRL, NULL on failure
47 openssl_crl_t
*openssl_crl_load(certificate_type_t type
, va_list args
);
49 #endif /** OPENSSL_CRL_H_ @}*/