diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-05 15:26:35 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-13 10:26:07 +0200 |
commit | c2e5cee413f5a6c5f9b7ab173b56e73232581e6d (patch) | |
tree | b38b5eae0b7f4f5feacd1babeaad5754accec80e /src/libstrongswan/plugins/revocation/revocation_plugin.h | |
parent | c1f9dad6729786c57796e6239ed7af236d695267 (diff) | |
download | strongswan-c2e5cee413f5a6c5f9b7ab173b56e73232581e6d.tar.bz2 strongswan-c2e5cee413f5a6c5f9b7ab173b56e73232581e6d.tar.xz |
Moved CRL/OCSP checking to a dedicated plugin called revocation
Diffstat (limited to 'src/libstrongswan/plugins/revocation/revocation_plugin.h')
-rw-r--r-- | src/libstrongswan/plugins/revocation/revocation_plugin.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/revocation/revocation_plugin.h b/src/libstrongswan/plugins/revocation/revocation_plugin.h new file mode 100644 index 000000000..fb886d53c --- /dev/null +++ b/src/libstrongswan/plugins/revocation/revocation_plugin.h @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2010 Martin Willi + * Copyright (C) 2010 revosec AG + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + */ + +/** + * @defgroup revocation revocation + * @ingroup plugins + * + * @defgroup revocation_plugin revocation_plugin + * @{ @ingroup revocation + */ + +#ifndef REVOCATION_PLUGIN_H_ +#define REVOCATION_PLUGIN_H_ + +#include <plugins/plugin.h> + +typedef struct revocation_plugin_t revocation_plugin_t; + +/** + * X509 certificate revocation support using CRL and OCSP. + */ +struct revocation_plugin_t { + + /** + * Implements plugin_t. interface. + */ + plugin_t plugin; +}; + +#endif /** REVOCATION_PLUGIN_H_ @}*/ |