pub struct BeginResponseBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> BeginResponseBuilder<S>
impl<S: State> BeginResponseBuilder<S>
Sourcepub fn build(self) -> BeginResponsewhere
S: IsComplete,
pub fn build(self) -> BeginResponsewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn channel_binding_required(
self,
value: bool,
) -> BeginResponseBuilder<SetChannelBindingRequired<S>>where
S::ChannelBindingRequired: IsUnset,
pub fn channel_binding_required(
self,
value: bool,
) -> BeginResponseBuilder<SetChannelBindingRequired<S>>where
S::ChannelBindingRequired: IsUnset,
Required.
True if the server requires channel-binding data (the connection’s TLS exported keying material) to be folded into the signed transcript. Only relevant when enrolling over mTLS; it never applies on a transport without TLS channel binding.
Sourcepub fn nonce(self, value: String) -> BeginResponseBuilder<SetNonce<S>>where
S::Nonce: IsUnset,
pub fn nonce(self, value: String) -> BeginResponseBuilder<SetNonce<S>>where
S::Nonce: IsUnset,
Required.
Base64-standard-encoded 32-byte challenge nonce. Sign it, together with the machine ID, device public key, and channel-binding data if required, and submit the signature when completing enrollment.
Auto Trait Implementations§
impl<S> Freeze for BeginResponseBuilder<S>
impl<S> RefUnwindSafe for BeginResponseBuilder<S>
impl<S> Send for BeginResponseBuilder<S>
impl<S> Sync for BeginResponseBuilder<S>
impl<S> Unpin for BeginResponseBuilder<S>
impl<S> UnsafeUnpin for BeginResponseBuilder<S>
impl<S> UnwindSafe for BeginResponseBuilder<S>
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