[−][src]Enum openid::biscuit::jwa::EncryptionOptions
Options to be passed in while performing an encryption operation, if required by the algorithm.
Variants
No options are required. Most algorithms do not require additional parameters
Options for AES GCM encryption.
Fields of AES_GCM
nonce: Vec<u8>
Initialization vector, or nonce for the AES GCM encryption. MUST BE 96 bits long.
AES GCM encryption operations should not reuse the nonce, or initialization vector. Users should keep track of previously used nonces and not reuse them. A simple way to keep track is to simply increment the nonce as a 96 bit counter.
Implementations
impl EncryptionOptions
[src]
pub fn description(&self) -> &'static str
[src]
Description of the type of key
Trait Implementations
impl Clone for EncryptionOptions
[src]
fn clone(&self) -> EncryptionOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EncryptionOptions
[src]
impl Default for EncryptionOptions
[src]
fn default() -> EncryptionOptions
[src]
impl Display for EncryptionOptions
[src]
impl Eq for EncryptionOptions
[src]
impl PartialEq<EncryptionOptions> for EncryptionOptions
[src]
fn eq(&self, other: &EncryptionOptions) -> bool
[src]
fn ne(&self, other: &EncryptionOptions) -> bool
[src]
impl StructuralEq for EncryptionOptions
[src]
impl StructuralPartialEq for EncryptionOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for EncryptionOptions
impl Send for EncryptionOptions
impl Sync for EncryptionOptions
impl Unpin for EncryptionOptions
impl UnwindSafe for EncryptionOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,