diff options
author | Martin Willi <martin@strongswan.org> | 2006-03-30 07:22:01 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-03-30 07:22:01 +0000 |
commit | efadbf79e9c864578bfd1277d824e69b2989aac5 (patch) | |
tree | cf5cde05d140a07f2ffe21c8e61a47610199145b /Source/charon/testcases/certificate_test.h | |
parent | 9c781c152ad66a73139447e40a2081c38080c651 (diff) | |
download | strongswan-efadbf79e9c864578bfd1277d824e69b2989aac5.tar.bz2 strongswan-efadbf79e9c864578bfd1277d824e69b2989aac5.tar.xz |
- rewrote a lot of RSA stuff
- done major work for ASN1/decoder
- allow loading of ASN1 der encoded private keys, public keys and certificates
- extracting public key from certificates
- passing certificates from stroke to charon
=> basic authentication with RSA certificates works!
Diffstat (limited to 'Source/charon/testcases/certificate_test.h')
-rw-r--r-- | Source/charon/testcases/certificate_test.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Source/charon/testcases/certificate_test.h b/Source/charon/testcases/certificate_test.h new file mode 100644 index 000000000..8dcbd0f93 --- /dev/null +++ b/Source/charon/testcases/certificate_test.h @@ -0,0 +1,42 @@ +/** + * @file certificate_test.h + * + * @brief Tests for the certificate_t class. + * + */ + +/* + * Copyright (C) 2006 Martin Willi + * 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 CERTIFICATE_TEST_H_ +#define CERTIFICATE_TEST_H_ + +#include <utils/tester.h> + +/** + * @brief Test function used to test the certificate_t functionality. + * + * @param tester associated protected_tester_t object + * + * @ingroup testcases + */ +void test_certificate(protected_tester_t *tester); + +#endif /* CERTIFICATE_TEST_H_ */ + + + + |