Expand description
Functions or structs for dealing with SSH Certificates.
Parsing, and creating certs happens here.
This module is a heavily modified version of the sshkeys crate
that adds certificate verification, and many other things to
support that. The original licence for the code is in the source
code provided
Structs
- A type which represents an OpenSSH certificate key. Please refer to [PROTOCOL.certkeys] for more details about OpenSSH certificates. [PROTOCOL.certkeys]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
- A type which represents a cryptographic curve.
- ECDSA private key.
- ECDSA public key. The format of ECDSA public keys is described in RFC 5656, section 3.1.
- Hardware backed ECDSA private key.
- ED25519 private key.
- ED25519 public key. The format of ED25519 public keys is described in https://tools.ietf.org/html/draft-bjh21-ssh-ed25519-02
- Hardware backed Ed25519 private key.
- A type that represents an OpenSSH public key fingerprint.
KeyTyperepresents the type of an OpenSSH key.- A type which represents an OpenSSH private key.
- A type which represents an OpenSSH public key.
- A
Readeris used for reading from a byte sequence representing an encoded OpenSSH public/private key or certificate. - RSA private key.
- RSA public key. The format of RSA public keys is described in RFC 4253, section 6.6
- A
Writeris used for encoding a key in OpenSSH compatible format.
Enums
- Represents the different types a certificate can be.
- Represents the different kinds of supported curves.
- The
FingerprintKindenum represents the different fingerprint representation. - A type which represents the various kinds of keys.
- A type which represents the different kinds a public key can be.
- A type which represents the different kinds a public key can be.
Traits
- Types that implement this trait can be used to sign SSH certificates using the Certificate::sign function.