holder

package
v0.0.0-...-0cb0544 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2021 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Index

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 Disclose

func Disclose(cred *gabi.Credential, disclosureChoices []bool, challenge *big.Int) ([]byte, error)

func DiscloseAll

func DiscloseAll(cred *gabi.Credential, challenge *big.Int) ([]byte, error)

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

func GenerateHolderSk() *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL