Struct ssh_key::public::PublicKey [−][src]
Expand description
SSH public key.
Fields
data: KeyDataKey data.
comment: StringThis is supported on crate feature
alloc only.Comment on the key (e.g. email address)
Implementations
Parse an OpenSSH-formatted public key.
OpenSSH-formatted public keys look like the following:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILM+rvN+ot98qgEN796jTiQfZfG1KaT0PtFDJ/XFSqti foo@bar.comTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more