SealingKey

Trait SealingKey 

Source
pub trait SealingKey: KeyType {
    const PIE_WRAP_HEADER: &'static str;
    const PW_WRAP_HEADER: &'static str;
}
Expand description

A marker for Secret and Local keys, used for signing and encrypting tokens.

Required Associated Constants§

Source

const PIE_WRAP_HEADER: &'static str

Source

const PW_WRAP_HEADER: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl SealingKey for Local

Source§

const PIE_WRAP_HEADER: &'static str = ".local-wrap.pie."

Source§

const PW_WRAP_HEADER: &'static str = ".local-pw."

Source§

impl SealingKey for Secret

Source§

const PIE_WRAP_HEADER: &'static str = ".secret-wrap.pie."

Source§

const PW_WRAP_HEADER: &'static str = ".secret-pw."