Documentation ¶
Index ¶
- func CreateCommitment(issuerPk *gabi.PublicKey, issuerNonce, holderSk *big.Int) (*gabi.CredentialBuilder, *gabi.IssueCommitmentMessage)
- func CreateCredential(credBuilder *gabi.CredentialBuilder, ism *gabi.IssueSignatureMessage, ...) (*gabi.Credential, error)
- func Disclose(cred *gabi.Credential, disclosureChoices []bool, challenge *big.Int) ([]byte, error)
- func DiscloseAll(cred *gabi.Credential, challenge *big.Int) ([]byte, error)
- func DiscloseAllWithTime(cred *gabi.Credential) ([]byte, error)
- func DiscloseLevel0WithTime(cred *gabi.Credential) ([]byte, error)
- func DiscloseLevel1WithTime(cred *gabi.Credential) ([]byte, error)
- func DiscloseLevel2WithTime(cred *gabi.Credential) ([]byte, error)
- func DiscloseWithTime(cred *gabi.Credential, disclosureChoices []bool) ([]byte, error)
- func GenerateHolderSk() *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommitment ¶
func CreateCommitment(issuerPk *gabi.PublicKey, issuerNonce, holderSk *big.Int) (*gabi.CredentialBuilder, *gabi.IssueCommitmentMessage)
func CreateCredential ¶
func CreateCredential(credBuilder *gabi.CredentialBuilder, ism *gabi.IssueSignatureMessage, attributeValues [][]byte) (*gabi.Credential, error)
func DiscloseAll ¶
func DiscloseAllWithTime ¶
func DiscloseAllWithTime(cred *gabi.Credential) ([]byte, error)
func DiscloseLevel0WithTime ¶
func DiscloseLevel0WithTime(cred *gabi.Credential) ([]byte, error)
func DiscloseLevel1WithTime ¶
func DiscloseLevel1WithTime(cred *gabi.Credential) ([]byte, error)
func DiscloseLevel2WithTime ¶
func DiscloseLevel2WithTime(cred *gabi.Credential) ([]byte, error)
func DiscloseWithTime ¶
func DiscloseWithTime(cred *gabi.Credential, disclosureChoices []bool) ([]byte, error)
func GenerateHolderSk ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.