Struct indy_crypto::cl::MasterSecret [−][src]
pub struct MasterSecret { /* fields omitted */ }
Secret key encoded in a credential that is used to prove that prover owns the credential; can be used to
prove linkage across credentials.
Prover blinds master secret, generating BlindedCredentialSecrets
and CredentialSecretsBlindingFactors
(blinding factors)
and sends the BlindedCredentialSecrets
to Issuer who then encodes it credential creation.
The blinding factors are used by Prover for post processing of issued credentials.
Methods
impl MasterSecret
[src]
impl MasterSecret
pub fn clone(&self) -> Result<MasterSecret, IndyCryptoError>
[src]
pub fn clone(&self) -> Result<MasterSecret, IndyCryptoError>
pub fn value(&self) -> Result<BigNumber, IndyCryptoError>
[src]
pub fn value(&self) -> Result<BigNumber, IndyCryptoError>
Trait Implementations
impl Debug for MasterSecret
[src]
impl Debug for MasterSecret
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl JsonEncodable for MasterSecret
[src]
impl JsonEncodable for MasterSecret
fn to_json(&self) -> Result<String, IndyCryptoError>
[src]
fn to_json(&self) -> Result<String, IndyCryptoError>
impl<'a> JsonDecodable<'a> for MasterSecret
[src]
impl<'a> JsonDecodable<'a> for MasterSecret
fn from_json(to_string: &'a str) -> Result<Self, IndyCryptoError>
[src]
fn from_json(to_string: &'a str) -> Result<Self, IndyCryptoError>
Auto Trait Implementations
impl Send for MasterSecret
impl Send for MasterSecret
impl Sync for MasterSecret
impl Sync for MasterSecret