Crate sshkeys[−][src]
The sshkeys
crate provides types and methods for parsing
OpenSSH public keys and certificates.
The following public key types are supported.
- RSA
- DSA
- ECDSA
- ED25519
The following OpenSSH certificate types are supported as well.
- ssh-rsa-cert-v01@openssh.com
- ssh-dss-cert-v01@openssh.com
- ecdsa-sha2-nistp256-cert-v01@openssh.com
- ecdsa-sha2-nistp384-cert-v01@openssh.com
- ecdsa-sha2-nistp512-cert-v01@openssh.com
- ssh-ed25519-cert-v01@openssh.com
Examples
In order to view examples of this crate in use, please refer to the
examples
directory.
Structs
Certificate | 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 |
Curve | A type which represents a cryptographic curve. |
DsaPublicKey | DSA public key. The format of DSA public keys is described in RFC 4253, section 6.6 |
EcdsaPublicKey | ECDSA public key. The format of ECDSA public keys is described in RFC 5656, section 3.1. |
Ed25519PublicKey | ED25519 public key. The format of ED25519 public keys is described in https://tools.ietf.org/html/draft-bjh21-ssh-ed25519-02 |
Error | The |
Fingerprint | A type that represents an OpenSSH public key fingerprint. |
KeyType |
|
PublicKey | A type which represents an OpenSSH public key. |
Reader | A |
RsaPublicKey | RSA public key. The format of RSA public keys is described in RFC 4253, section 6.6 |
Writer | A |
Enums
CertType | Represents the different types a certificate can be. |
CurveKind | Represents the different kinds of supported curves. |
FingerprintKind | The |
KeyTypeKind | A type which represents the various kinds of keys. |
PublicKeyKind | A type which represents the different kinds a public key can be. |
Type Definitions
Result | A |