Lines Matching refs:Key
31 typedef struct sshkey Key; typedef
62 void key_add_private(Key *);
63 Key *key_new_private(int);
64 void key_free(Key *);
65 Key *key_demote(const Key *);
66 int key_write(const Key *, FILE *);
67 int key_read(Key *, char **);
69 Key *key_generate(int, u_int);
70 Key *key_from_private(const Key *);
71 int key_to_certified(Key *);
72 int key_drop_cert(Key *);
73 int key_certify(Key *, Key *);
74 void key_cert_copy(const Key *, Key *);
75 int key_cert_check_authority(const Key *, int, int, const char *,
83 Key *key_from_blob(const u_char *, u_int);
84 int key_to_blob(const Key *, u_char **, u_int *);
86 int key_sign(const Key *, u_char **, u_int *, const u_char *, u_int,
88 int key_verify(const Key *, const u_char *, u_int, const u_char *, u_int);
90 void key_private_serialize(const Key *, struct sshbuf *);
91 Key *key_private_deserialize(struct sshbuf *);
94 int key_save_private(Key *, const char *, const char *, const char *,
97 Key *key_load_cert(const char *);
98 Key *key_load_public(const char *, char **);
99 Key *key_load_private(const char *, const char *, char **);
100 Key *key_load_private_cert(int, const char *, const char *, int *);
101 Key *key_load_private_type(int, const char *, const char *, char **, int *);