summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAxel Eppe <aeppe@google.com>2015-08-23 17:26:11 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-09-07 13:29:23 +0200
commit6da4e21065c30eee630cf448b4f45d29815c6f14 (patch)
treed1a948dee74281e5a7fd27e2ef011a6288fd4a41 /include/libssh/pki.h
parent7bfe8d2f036b67cad164e5a74ede9f8c98912f3d (diff)
downloadlibssh-6da4e21065c30eee630cf448b4f45d29815c6f14.tar.gz
libssh-6da4e21065c30eee630cf448b4f45d29815c6f14.tar.xz
libssh-6da4e21065c30eee630cf448b4f45d29815c6f14.zip
pki: Add rsa, dss certificate key type definitions
- Add rsa/dsa (ssh-{rsa,dss}-cert-v01@openssh.com) as key types. - Add a cert_type member in the ssh_key struct. Signed-off-by: Axel Eppe <aeppe@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 9f9ddf4a..b146d982 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -60,6 +60,7 @@ struct ssh_key_struct {
ed25519_pubkey *ed25519_pubkey;
ed25519_privkey *ed25519_privkey;
void *cert;
+ enum ssh_keytypes_e cert_type;
};
struct ssh_signature_struct {