[][src]Trait openidconnect::JweContentEncryptionAlgorithm

pub trait JweContentEncryptionAlgorithm<JT>: Clone + Debug + DeserializeOwned + Serialize + 'static where
    JT: JsonWebKeyType
{ fn key_type(&self) -> Result<JT, String>; }

JSON Web Encryption (JWE) content encryption algorithm.

Required methods

fn key_type(&self) -> Result<JT, String>

Returns the type of key required to use this encryption algorithm.

Loading content...

Implementors

Loading content...