Enum josekit::jwe::alg::aesgcmkw::AesgcmkwJweAlgorithm [−][src]
pub enum AesgcmkwJweAlgorithm {
A128gcmkw,
A192gcmkw,
A256gcmkw,
}
Variants
Key wrapping with AES GCM using 128-bit key
Key wrapping with AES GCM using 192-bit key
Key wrapping with AES GCM using 256-bit key
Implementations
pub fn encrypter_from_bytes(
&self,
input: impl AsRef<[u8]>
) -> Result<AesgcmkwJweEncrypter, JoseError>
pub fn decrypter_from_bytes(
&self,
input: impl AsRef<[u8]>
) -> Result<AesgcmkwJweDecrypter, JoseError>
Trait Implementations
type Target = dyn JweAlgorithm
type Target = dyn JweAlgorithm
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for AesgcmkwJweAlgorithm
impl Send for AesgcmkwJweAlgorithm
impl Sync for AesgcmkwJweAlgorithm
impl Unpin for AesgcmkwJweAlgorithm
impl UnwindSafe for AesgcmkwJweAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.