Added SILC SSH2 library providing support for SSH2 public and
[silc.git] / lib / silcssh / silcssh_pkcs.h
diff --git a/lib/silcssh/silcssh_pkcs.h b/lib/silcssh/silcssh_pkcs.h
new file mode 100644 (file)
index 0000000..21aed80
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+
+  silcssh_pkcs.h
+
+  Author: Pekka Riikonen <priikone@silcnet.org>
+
+  Copyright (C) 2007 Pekka Riikonen
+
+  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; version 2 of the License.
+
+  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 SILCSSH_PKCS_H
+#define SILCSSH_PKCS_H
+
+SILC_PKCS_GET_ALGORITHM(silc_pkcs_ssh_get_algorithm);
+SILC_PKCS_IMPORT_PUBLIC_KEY_FILE(silc_pkcs_ssh_import_public_key_file);
+SILC_PKCS_IMPORT_PUBLIC_KEY(silc_pkcs_ssh_import_public_key);
+SILC_PKCS_EXPORT_PUBLIC_KEY_FILE(silc_pkcs_ssh_export_public_key_file);
+SILC_PKCS_EXPORT_PUBLIC_KEY(silc_pkcs_ssh_export_public_key);
+SILC_PKCS_PUBLIC_KEY_BITLEN(silc_pkcs_ssh_public_key_bitlen);
+SILC_PKCS_PUBLIC_KEY_COPY(silc_pkcs_ssh_public_key_copy);
+SILC_PKCS_PUBLIC_KEY_COMPARE(silc_pkcs_ssh_public_key_compare);
+SILC_PKCS_PUBLIC_KEY_FREE(silc_pkcs_ssh_public_key_free);
+SILC_PKCS_IMPORT_PRIVATE_KEY_FILE(silc_pkcs_ssh_import_private_key_file);
+SILC_PKCS_IMPORT_PRIVATE_KEY(silc_pkcs_ssh_import_private_key);
+SILC_PKCS_EXPORT_PRIVATE_KEY_FILE(silc_pkcs_ssh_export_private_key_file);
+SILC_PKCS_EXPORT_PRIVATE_KEY(silc_pkcs_ssh_export_private_key);
+SILC_PKCS_PRIVATE_KEY_BITLEN(silc_pkcs_ssh_private_key_bitlen);
+SILC_PKCS_PRIVATE_KEY_FREE(silc_pkcs_ssh_private_key_free);
+SILC_PKCS_ENCRYPT(silc_pkcs_ssh_encrypt);
+SILC_PKCS_DECRYPT(silc_pkcs_ssh_decrypt);
+SILC_PKCS_SIGN(silc_pkcs_ssh_sign);
+SILC_PKCS_VERIFY(silc_pkcs_ssh_verify);
+
+SILC_PKCS_ALG_IMPORT_PUBLIC_KEY(silc_ssh_rsa_import_public_key);
+SILC_PKCS_ALG_EXPORT_PUBLIC_KEY(silc_ssh_rsa_export_public_key);
+
+SILC_PKCS_ALG_IMPORT_PUBLIC_KEY(silc_ssh_dsa_import_public_key);
+SILC_PKCS_ALG_EXPORT_PUBLIC_KEY(silc_ssh_dsa_export_public_key);
+
+#endif /* SILCSSH_PKCS_H */