summaryrefslogtreecommitdiffhomepage
path: root/signkey.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-03 15:51:55 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-03 15:51:55 +0000
commit7a854cb1f8ffb4ec8f81b8ec50cc42c165839ff3 (patch)
tree940a782c38b9283735af6f5170db69027d56c4d6 /signkey.h
parent9c91ea1caf8a7263d830de0bbd5f3b183940b595 (diff)
Improved signkey code
--HG-- extra : convert_revision : fcf64cb4d2e273f80bf8c5f1d2dd00a0f4dc1acf
Diffstat (limited to 'signkey.h')
-rw-r--r--signkey.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/signkey.h b/signkey.h
index 396db7f..3bd5c58 100644
--- a/signkey.h
+++ b/signkey.h
@@ -42,6 +42,8 @@ struct SIGN_key {
typedef struct SIGN_key sign_key;
sign_key * new_sign_key();
+const char* signkey_name_from_type(int type, int *namelen);
+int signkey_type_from_name(const char* name, int namelen);
int buf_get_pub_key(buffer *buf, sign_key *key, int *type);
int buf_get_priv_key(buffer* buf, sign_key *key, int *type);
void buf_put_pub_key(buffer* buf, sign_key *key, int type);