Enum thrussh_keys::signature::Signature[][src]

pub enum Signature {
    Ed25519(SignatureBytes),
    RSA(Vec<u8>),
}

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

Variants

An Ed25519 signature

An RSA signature

Trait Implementations

impl AsRef<[u8]> for Signature
[src]

Important traits for &'a [u8]

Performs the conversion.

Auto Trait Implementations

impl Send for Signature

impl Sync for Signature