Crate openssh_keys [] [src]

ssh-keys

this library provides pure-rust parsing, manipulation, and some basic validation of ssh keys. it provides a struct for encapsulation of ssh keys in projects.

ssh-keys doesn't have the ability to generate ssh-keys. however, it does allow you to construct rsa and dsa keys from their components, so if you generate the keys with another library (say, rust-openssl), then you can output the ssh public keys with this library.

Modules

errors

Structs

PublicKey

PublicKey is the struct representation of an ssh public key.

Enums

Curve

Curves for ECDSA

Data

Data is the representation of the data section of an ssh public key. it is an enum with all the different supported key algorithms.