pub struct CredentialRequest { /* private fields */ }Expand description
The request sent to the server by the client, proving that they know their private key.
Implementations§
Source§impl CredentialRequest
impl CredentialRequest
Sourcepub fn respond<H: Hasher>(
&self,
issuer_private_key: &IssuerPrivateKey,
params: &Params<H>,
rng: impl CryptoRngCore,
) -> Option<CredentialResponse>
pub fn respond<H: Hasher>( &self, issuer_private_key: &IssuerPrivateKey, params: &Params<H>, rng: impl CryptoRngCore, ) -> Option<CredentialResponse>
Responds to the given credential request with the data needed for the client to construct a new credential.
Trait Implementations§
Source§impl Clone for CredentialRequest
impl Clone for CredentialRequest
Source§fn clone(&self) -> CredentialRequest
fn clone(&self) -> CredentialRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CredentialRequest
impl RefUnwindSafe for CredentialRequest
impl Send for CredentialRequest
impl Sync for CredentialRequest
impl Unpin for CredentialRequest
impl UnwindSafe for CredentialRequest
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