pub struct ComplianceChecker { /* private fields */ }Expand description
Compliance checker for cryptographic operations
Implementations§
Source§impl ComplianceChecker
impl ComplianceChecker
Sourcepub fn check_compliance(
&mut self,
operation: &str,
key_id: Option<&str>,
) -> Result<bool, MlDsaError>
pub fn check_compliance( &mut self, operation: &str, key_id: Option<&str>, ) -> Result<bool, MlDsaError>
Check cryptographic operation compliance
Sourcepub fn get_audit_log(&self) -> &[AuditEntry]
pub fn get_audit_log(&self) -> &[AuditEntry]
Get audit log
Sourcepub fn clear_audit_log(&mut self)
pub fn clear_audit_log(&mut self)
Clear audit log
Sourcepub fn check_quantum_readiness(&self) -> bool
pub fn check_quantum_readiness(&self) -> bool
Check if the current configuration meets quantum resistance requirements. Evaluates the ML-DSA security level against the configured threshold.
Sourcepub fn fiduciary_standards(&self) -> &FiduciaryStandards
pub fn fiduciary_standards(&self) -> &FiduciaryStandards
Get the current fiduciary standards configuration
Sourcepub fn quantum_resistance_threshold(&self) -> f64
pub fn quantum_resistance_threshold(&self) -> f64
Get quantum resistance threshold
Auto Trait Implementations§
impl Freeze for ComplianceChecker
impl RefUnwindSafe for ComplianceChecker
impl Send for ComplianceChecker
impl Sync for ComplianceChecker
impl Unpin for ComplianceChecker
impl UnsafeUnpin for ComplianceChecker
impl UnwindSafe for ComplianceChecker
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more