| 1 |
#ifndef GKM_SSHOPENSSH_H_ |
| 2 |
#define GKM_SSHOPENSSH_H_ |
| 3 |
|
| 4 |
#include <glib.h> |
| 5 |
|
| 6 |
#include <gcrypt.h> |
| 7 |
|
| 8 |
#include "gkm/gkm-data-types.h" |
| 9 |
|
| 10 |
GkmDataResult gkm_ssh_openssh_parse_public_key (gconstpointer data, |
| 11 |
gsize n_data, |
| 12 |
gcry_sexp_t *sexp, |
| 13 |
gchar **comment); |
| 14 |
|
| 15 |
GkmDataResult gkm_ssh_openssh_parse_private_key (GBytes *data, |
| 16 |
const gchar *password, |
| 17 |
gssize n_password, |
| 18 |
gcry_sexp_t *sexp); |
| 19 |
|
| 20 |
gchar* gkm_ssh_openssh_digest_private_key (GBytes *data); |
| 21 |
|
| 22 |
#endif /* GKM_SSHOPENSSH_H_ */ |