Enum josekit::jwe::alg::direct::DirectJweAlgorithm [−][src]
pub enum DirectJweAlgorithm {
Dir,
}
Variants
Direct use of a shared symmetric key as the CEK
Implementations
pub fn encrypter_from_bytes(
&self,
input: impl AsRef<[u8]>
) -> Result<DirectJweEncrypter, JoseError>
pub fn decrypter_from_bytes(
&self,
input: impl AsRef<[u8]>
) -> Result<DirectJweDecrypter, JoseError>
Trait Implementations
type Target = dyn JweAlgorithm
type Target = dyn JweAlgorithm
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for DirectJweAlgorithm
impl Send for DirectJweAlgorithm
impl Sync for DirectJweAlgorithm
impl Unpin for DirectJweAlgorithm
impl UnwindSafe for DirectJweAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.