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