pub struct VerifyOptions<'a> {
pub policy: Option<&'a PolicyDecision>,
pub self_signed_keys: Option<&'a SelfSignedKeyRegistry>,
}Expand description
Options for verify_with_options. Groups the optional policy decision
and the optional operator-supplied key registry so the call site stays
readable as the option count grows.
Fields§
§policy: Option<&'a PolicyDecision>ADR 0026 policy decision to compose with the witness result. When
Reject or Quarantine, the trust path falls closed before witness
checks run. None means no policy composition.
self_signed_keys: Option<&'a SelfSignedKeyRegistry>Operator-supplied key registry for SelfSigned witnesses. When
None, SelfSigned witnesses fail with UnsupportedAlgorithm.
When Some, the registry is consulted and verification proceeds for
known key ids.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for VerifyOptions<'a>
impl<'a> RefUnwindSafe for VerifyOptions<'a>
impl<'a> Send for VerifyOptions<'a>
impl<'a> Sync for VerifyOptions<'a>
impl<'a> Unpin for VerifyOptions<'a>
impl<'a> UnsafeUnpin for VerifyOptions<'a>
impl<'a> UnwindSafe for VerifyOptions<'a>
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