]>
Commit | Line | Data |
---|---|---|
f40e9f4d TB |
1 | /* |
2 | * Copyright (C) 2013 Tobias Brunner | |
19ef2aec TB |
3 | * |
4 | * Copyright (C) secunet Security Networks AG | |
f40e9f4d TB |
5 | * |
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>. | |
10 | * | |
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 | |
14 | * for more details. | |
15 | */ | |
16 | ||
17 | /** | |
18 | * @defgroup sshkey_encoder sshkey_encoder | |
19 | * @{ @ingroup sshkey_p | |
20 | */ | |
21 | ||
22 | #ifndef SSHKEY_ENCODER_H_ | |
23 | #define SSHKEY_ENCODER_H_ | |
24 | ||
25 | #include <credentials/cred_encoding.h> | |
26 | ||
27 | /** | |
28 | * Encoding of public keys to RFC 4253 format. | |
29 | */ | |
30 | bool sshkey_encoder_encode(cred_encoding_type_t type, chunk_t *encoding, | |
31 | va_list args); | |
32 | ||
33 | #endif /** SSHKEY_ENCODER_H_ @}*/ |