Module thrussh::key [] [src]

Key generation and use.

Modules

ed25519

Keys for elliptic curve Ed25519 cryptography.

Structs

Name

Name of a public key algorithm.

OpenSSLPKey

A public key from OpenSSL.

Enums

Algorithm

Public key exchange algorithms.

PublicKey

Public key

Signature

The type of a signature, depending on the algorithm used.

SignatureHash

The hash function used for hashing buffers.

Constants

ED25519

The name of the Ed25519 algorithm for SSH.

RSA_SHA2_256

The name of the ssh-sha2-256 algorithm for SSH.

RSA_SHA2_512

The name of the ssh-sha2-512 algorithm for SSH.

Functions

parse_public_key

Parse a public key from a byte slice.