Mercurial > dropbear
view keyimport.h @ 22:c1e5d9195402
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 23 Jun 2004 07:14:16 +0000 |
parents | fe6bca95afa7 |
children | e3adf4cf5465 |
line wrap: on
line source
#ifndef _KEYIMPORT_H_ #define _KEYIMPORT_H_ #include "includes.h" #include "signkey.h" enum { KEYFILE_DROPBEAR, KEYFILE_OPENSSH, KEYFILE_SSHCOM }; int import_write(const char *filename, sign_key *key, char *passphrase, int filetype); sign_key *import_read(const char *filename, char *passphrase, int filetype); int import_encrypted(const char* filename, int filetype); #endif /* _KEYIMPORT_H_ */