5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2007 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
20 #ifndef SILCSSH_PKCS_H
21 #define SILCSSH_PKCS_H
23 SILC_PKCS_GET_ALGORITHM(silc_pkcs_ssh_get_algorithm);
24 SILC_PKCS_IMPORT_PUBLIC_KEY_FILE(silc_pkcs_ssh_import_public_key_file);
25 SILC_PKCS_IMPORT_PUBLIC_KEY(silc_pkcs_ssh_import_public_key);
26 SILC_PKCS_EXPORT_PUBLIC_KEY_FILE(silc_pkcs_ssh_export_public_key_file);
27 SILC_PKCS_EXPORT_PUBLIC_KEY(silc_pkcs_ssh_export_public_key);
28 SILC_PKCS_PUBLIC_KEY_BITLEN(silc_pkcs_ssh_public_key_bitlen);
29 SILC_PKCS_PUBLIC_KEY_COPY(silc_pkcs_ssh_public_key_copy);
30 SILC_PKCS_PUBLIC_KEY_COMPARE(silc_pkcs_ssh_public_key_compare);
31 SILC_PKCS_PUBLIC_KEY_FREE(silc_pkcs_ssh_public_key_free);
32 SILC_PKCS_IMPORT_PRIVATE_KEY_FILE(silc_pkcs_ssh_import_private_key_file);
33 SILC_PKCS_IMPORT_PRIVATE_KEY(silc_pkcs_ssh_import_private_key);
34 SILC_PKCS_EXPORT_PRIVATE_KEY_FILE(silc_pkcs_ssh_export_private_key_file);
35 SILC_PKCS_EXPORT_PRIVATE_KEY(silc_pkcs_ssh_export_private_key);
36 SILC_PKCS_PRIVATE_KEY_BITLEN(silc_pkcs_ssh_private_key_bitlen);
37 SILC_PKCS_PRIVATE_KEY_FREE(silc_pkcs_ssh_private_key_free);
38 SILC_PKCS_ENCRYPT(silc_pkcs_ssh_encrypt);
39 SILC_PKCS_DECRYPT(silc_pkcs_ssh_decrypt);
40 SILC_PKCS_SIGN(silc_pkcs_ssh_sign);
41 SILC_PKCS_VERIFY(silc_pkcs_ssh_verify);
43 SILC_PKCS_ALG_IMPORT_PUBLIC_KEY(silc_ssh_rsa_import_public_key);
44 SILC_PKCS_ALG_EXPORT_PUBLIC_KEY(silc_ssh_rsa_export_public_key);
46 SILC_PKCS_ALG_IMPORT_PUBLIC_KEY(silc_ssh_dsa_import_public_key);
47 SILC_PKCS_ALG_EXPORT_PUBLIC_KEY(silc_ssh_dsa_export_public_key);
49 #endif /* SILCSSH_PKCS_H */