[][src]Enum vault_rs::secrets::transit::KeyType

pub enum KeyType {
    AES256GCM96,
    ChaCha20Poly1305AEAD,
    ED25519,
    EC256,
    RSA2048,
    RSA4096,
}

Type of Key in the Transit Secrets Engine

Variants

AES256GCM96

AES-256 wrapped with GCM using a 96-bit nonce size AEAD (symmetric, supports derivation and convergent encryption)

ChaCha20Poly1305AEAD

ChaCha20-Poly1305 AEAD (symmetric, supports derivation and convergent encryption)

ED25519

ED25519 (asymmetric, supports derivation). When using derivation, a sign operation with the same context will derive the same key and signature; this is a signing analogue to convergent_encryption.

EC256

ECDSA using the P-256 elliptic curve (asymmetric)

RSA2048

RSA with bit size of 2048 (asymmetric)

RSA4096

RSA with bit size of 4096 (asymmetric)

Trait Implementations

impl Debug for KeyType[src]

impl Default for KeyType[src]

impl<'de> Deserialize<'de> for KeyType[src]

impl Eq for KeyType[src]

impl PartialEq<KeyType> for KeyType[src]

impl Serialize for KeyType[src]

impl StructuralEq for KeyType[src]

impl StructuralPartialEq for KeyType[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyType

impl Send for KeyType

impl Sync for KeyType

impl Unpin for KeyType

impl UnwindSafe for KeyType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.