pub enum CatValidationType {
Mac,
Sign,
None,
}Expand description
Type of CAT validation mechanism to use for token generation and validation.
This enum specifies the cryptographic mechanism used to secure the token.
Variants§
Mac
HMAC-based authentication code (symmetric key)
Sign
Digital signature (asymmetric key) - not currently implemented
None
No cryptographic protection - not recommended for production use
Trait Implementations§
Source§impl Clone for CatValidationType
impl Clone for CatValidationType
Source§fn clone(&self) -> CatValidationType
fn clone(&self) -> CatValidationType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatValidationType
impl Debug for CatValidationType
Source§impl PartialEq for CatValidationType
impl PartialEq for CatValidationType
impl StructuralPartialEq for CatValidationType
Auto Trait Implementations§
impl Freeze for CatValidationType
impl RefUnwindSafe for CatValidationType
impl Send for CatValidationType
impl Sync for CatValidationType
impl Unpin for CatValidationType
impl UnwindSafe for CatValidationType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more