pub struct VerifyOptions {
pub now: i64,
pub max_clock_skew: i64,
pub require_content_digest: bool,
pub algorithms: Vec<Algorithm>,
}Expand description
How verify judges a signature. The default is now, a 60-second
window either way, and Ed25519 or ES256.
Fields§
§now: i64Seconds since the epoch.
max_clock_skew: i64How far created may be from now, either way.
require_content_digest: boolA request with a body must cover content-digest: required of a
Person Server or Access Server by the profile.
algorithms: Vec<Algorithm>The algorithms accepted; any other is unsupported_algorithm.
Trait Implementations§
Source§impl Clone for VerifyOptions
impl Clone for VerifyOptions
Source§impl Debug for VerifyOptions
impl Debug for VerifyOptions
Auto Trait Implementations§
impl Freeze for VerifyOptions
impl RefUnwindSafe for VerifyOptions
impl Send for VerifyOptions
impl Sync for VerifyOptions
impl Unpin for VerifyOptions
impl UnsafeUnpin for VerifyOptions
impl UnwindSafe for VerifyOptions
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