[][src]Struct indy_crypto::cl::CredentialValuesBuilder

pub struct CredentialValuesBuilder { /* fields omitted */ }

A Builder of Credential Values.

Methods

impl CredentialValuesBuilder
[src]

pub fn new() -> Result<CredentialValuesBuilder, IndyCryptoError>
[src]

pub fn add_dec_known(
    &mut self,
    attr: &str,
    value: &str
) -> Result<(), IndyCryptoError>
[src]

pub fn add_dec_hidden(
    &mut self,
    attr: &str,
    value: &str
) -> Result<(), IndyCryptoError>
[src]

pub fn add_dec_commitment(
    &mut self,
    attr: &str,
    value: &str,
    blinding_factor: &str
) -> Result<(), IndyCryptoError>
[src]

pub fn add_value_known(
    &mut self,
    attr: &str,
    value: &BigNumber
) -> Result<(), IndyCryptoError>
[src]

pub fn add_value_hidden(
    &mut self,
    attr: &str,
    value: &BigNumber
) -> Result<(), IndyCryptoError>
[src]

pub fn add_value_commitment(
    &mut self,
    attr: &str,
    value: &BigNumber,
    blinding_factor: &BigNumber
) -> Result<(), IndyCryptoError>
[src]

pub fn finalize(self) -> Result<CredentialValues, IndyCryptoError>
[src]

Trait Implementations

impl Debug for CredentialValuesBuilder
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self