Expand description
Shared OpenSSH helpers.
Macros§
- ssh_
to_ 🔒internal_ erased - Convert ssh_key KeyData or KeypairData to one of our key types.
Structs§
- SshKey
Data - A public key or a keypair.
Enums§
- SshKey
Algorithm - SSH key algorithms.
- SshKey
Data 🔒Inner - The inner representation of a public key or a keypair.
Constants§
- ED25519_
EXPANDED_ 🔒ALGORITHM_ NAME - The algorithm string for expanded ed25519 SSH keys.
- X25519_
ALGORITHM_ 🔒NAME - The algorithm string for x25519 SSH keys.
Functions§
- convert_
ed25519_ 🔒kp - Try to convert an
Ed25519Keypair
to an [ed25519::Keypair
]. - convert_
ed25519_ 🔒pk - Try to convert an
Ed25519PublicKey
to an [ed25519::PublicKey
]. - convert_
expanded_ 🔒ed25519_ kp - Try to convert an
OpaqueKeypair
to an [ed25519::ExpandedKeypair
]. - convert_
expanded_ 🔒ed25519_ pk - Try to convert an
OpaquePublicKey
to an [ed25519::PublicKey
]. - convert_
x25519_ 🔒kp - Try to convert an
OpaqueKeypair
to a [curve25519::StaticKeypair
]. - convert_
x25519_ 🔒pk - Try to convert an
OpaquePublicKey
to a [curve25519::PublicKey
].