Struct anonymous_credentials::CredentialManager
source · pub struct CredentialManager { /* private fields */ }
Implementations§
source§impl CredentialManager
impl CredentialManager
pub fn new() -> Self
pub fn start_join(&mut self, challenge: &[u8]) -> StartJoinResult
pub fn finish_join( &mut self, public_key: &GroupPublicKey, gsk: &CredentialBIG, join_resp: JoinResponse ) -> Result<UserCredentials>
pub fn set_gsk_and_credentials( &mut self, gsk: CredentialBIG, credentials: UserCredentials )
pub fn sign(&mut self, msg: &[u8], basename: &[u8]) -> Result<Signature>
Auto Trait Implementations§
impl Freeze for CredentialManager
impl RefUnwindSafe for CredentialManager
impl Send for CredentialManager
impl Sync for CredentialManager
impl Unpin for CredentialManager
impl UnwindSafe for CredentialManager
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