diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-05-15 16:59:00 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-11 17:33:32 +0200 |
commit | fff4b74db26968bac72ade4bd6c702be7b51ec7a (patch) | |
tree | f101045942fa34c0c93e9b828def87778feacb11 /src/pluto/x509.h | |
parent | 4a54860986e34f46183eebe60d7af767de7ddf25 (diff) | |
download | strongswan-fff4b74db26968bac72ade4bd6c702be7b51ec7a.tar.bz2 strongswan-fff4b74db26968bac72ade4bd6c702be7b51ec7a.tar.xz |
Bye bye Pluto!
Charon will take over IKEv1 duties from here. This also removes
libfreeswan and whack.
Diffstat (limited to 'src/pluto/x509.h')
-rw-r--r-- | src/pluto/x509.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/pluto/x509.h b/src/pluto/x509.h deleted file mode 100644 index 3101724a6..000000000 --- a/src/pluto/x509.h +++ /dev/null @@ -1,42 +0,0 @@ -/* Support of X.509 certificates - * Copyright (C) 2000 Andreas Hess, Patric Lichtsteiner, Roger Wegmann - * Copyright (C) 2001 Marco Bertossa, Andreas Schleiss - * Copyright (C) 2002 Mario Strasser - * Copyright (C) 2000-2009 Andreas Steffen, Hochschule fuer Technik Rapperswil - * - * 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. - */ - -#ifndef _X509_H -#define _X509_H - -#include <utils/identification.h> -#include <utils/linked_list.h> -#include <credentials/keys/private_key.h> -#include <credentials/certificates/x509.h> - -#include "constants.h" -#include "certs.h" - -#define X509_MAX_PATH_LEN 7 - -extern bool same_keyid(chunk_t a, chunk_t b); -extern bool x509_check_signature(chunk_t tbs, chunk_t sig, int algorithm, - certificate_t *issuer_cert); -extern chunk_t x509_build_signature(chunk_t tbs, int algorithm, - private_key_t *key, bool bit_string); -extern bool verify_x509cert(cert_t *cert, bool strict, time_t *until); -extern void store_x509certs(linked_list_t *certs, bool strict); -extern void list_x509cert_chain(const char *caption, cert_t* cert, - x509_flag_t flags, bool utc); -extern void list_x509_end_certs(bool utc); - -#endif /* _X509_H */ |