diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-19 16:26:29 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-26 11:23:51 +0200 |
commit | d1b3e8607e249692ea84c7b7856eeb4ee354de49 (patch) | |
tree | 2c987de478416ba24790af5017915c77888cd138 /src/libstrongswan/plugins/pgp/pgp_encoder.h | |
parent | e773fe4cab7b9d20ef4d50f49893a1779463cf92 (diff) | |
download | strongswan-d1b3e8607e249692ea84c7b7856eeb4ee354de49.tar.bz2 strongswan-d1b3e8607e249692ea84c7b7856eeb4ee354de49.tar.xz |
implemented PGP fingerprinting
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_encoder.h')
-rw-r--r-- | src/libstrongswan/plugins/pgp/pgp_encoder.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_encoder.h b/src/libstrongswan/plugins/pgp/pgp_encoder.h new file mode 100644 index 000000000..1b66969f7 --- /dev/null +++ b/src/libstrongswan/plugins/pgp/pgp_encoder.h @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2009 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. + */ + +/** + * @defgroup pgp_encoder pgp_encoder + * @{ @ingroup pgp + */ + +#ifndef PGP_ENCODER_H_ +#define PGP_ENCODER_H_ + +#include <credentials/keys/key_encoding.h> + +/** + * Encoding function for PGP fingerprints. + */ +bool pgp_encoder_encode(key_encoding_type_t type, chunk_t *encoding, + va_list args); + +#endif /* PGP_ENCODER_ @}*/ |