Enum FipsStatus

pub enum FipsStatus

FIPS validation status of an algorithm or implementation.

Variants

Unvalidated

Not FIPS tested, or unapproved algorithm.

Pending

In queue for FIPS validation.

Certified { certificate: &'static str }

FIPS certified, with named certificate.

Implementations

impl FipsStatus

const fn certified(certificate: &'static str) -> Self

Construct a FipsStatus::Certified.

The argument should be a name, number or URL referencing the FIPS certificate. This is for human presentation purposes, it is not for automated use.

Trait Implementations

impl Clone for FipsStatus

fn clone(&self) -> FipsStatus

impl Copy for FipsStatus

impl Debug for FipsStatus

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for FipsStatus

impl Ord for FipsStatus

fn cmp(&self, other: &FipsStatus) -> Ordering

impl PartialEq for FipsStatus

fn eq(&self, other: &FipsStatus) -> bool

impl PartialOrd for FipsStatus

fn partial_cmp(&self, other: &FipsStatus) -> Option<Ordering>

impl StructuralPartialEq for FipsStatus

Auto Trait Implementations

impl Freeze for FipsStatus

impl RefUnwindSafe for FipsStatus

impl Send for FipsStatus

impl Sync for FipsStatus

impl Unpin for FipsStatus

impl UnsafeUnpin for FipsStatus

impl UnwindSafe for FipsStatus

Blanket Implementations

impl<T> Any for FipsStatus where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for FipsStatus where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for FipsStatus where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for FipsStatus where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for FipsStatus

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for FipsStatus where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for FipsStatus where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for FipsStatus where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for FipsStatus where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>