pub enum KeyTypeKind {
    Rsa,
    Dsa,
    Ed25519,
    Ecdsa,
    RsaCert,
    DsaCert,
    Ed25519Cert,
    EcdsaCert,
    Ed25519Sk,
    EcdsaSk,
}
Expand description

A type which represents the various kinds of keys.

Variants

Rsa

Represents an RSA key type.

Dsa

Represents a DSA key type.

Ed25519

Represents an ED25519 key type.

Ecdsa

Represents an ECDSA key type.

RsaCert

Represents an RSA certificate key type.

DsaCert

Represents a DSA certificate key type.

Ed25519Cert

Represents an ED25519 certificate key type.

EcdsaCert

Represents an ECDSA certificate key type.

Ed25519Sk

Represents an ED25519 key type, generated by a security key.

EcdsaSk

Represents an ECDSA key type, generated by a security key.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.