pub enum ServiceIndicator {
Approved,
ApprovedAsComponent,
NotApproved,
}Expand description
FIPS 140-3 requires a module to tell the caller whether the service it just used was an approved one. This is that indicator.
Variants§
Approved
An approved security function, used in the approved mode.
ApprovedAsComponent
Permitted, but not itself an approved security function — a raw block cipher used as a component, for example.
NotApproved
A non-approved algorithm, used outside approved mode.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceIndicator
impl Clone for ServiceIndicator
impl Copy for ServiceIndicator
Source§impl Debug for ServiceIndicator
impl Debug for ServiceIndicator
impl Eq for ServiceIndicator
Source§impl PartialEq for ServiceIndicator
impl PartialEq for ServiceIndicator
impl StructuralPartialEq for ServiceIndicator
Auto Trait Implementations§
impl Freeze for ServiceIndicator
impl RefUnwindSafe for ServiceIndicator
impl Send for ServiceIndicator
impl Sync for ServiceIndicator
impl Unpin for ServiceIndicator
impl UnsafeUnpin for ServiceIndicator
impl UnwindSafe for ServiceIndicator
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