clmobile

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCredentialMessage

type CreateCredentialMessage struct {
	IssueSignatureMessage *gabi.IssueSignatureMessage `json:"ism"`
	AttributeValues       [][]byte                    `json:"attributes"`
}

type Result

type Result struct {
	Value []byte
	Error string
}

func CreateCommitmentMessage

func CreateCommitmentMessage(holderSkJson, issuerPkXml, issuerNonceBase64 []byte) *Result

func CreateCredential

func CreateCredential(holderSkJson, ccmJson []byte) *Result

func DiscloseAllWithTime

func DiscloseAllWithTime(issuerPkXml, credJson []byte) *Result

func GenerateHolderSk

func GenerateHolderSk() *Result

type VerifyResult

type VerifyResult struct {
	AttributeValues []string
	UnixTimeSeconds int64
	Error           string
}

func Verify

func Verify(issuerPkXml, proofAsn1 []byte) *VerifyResult

Jump to

Keyboard shortcuts

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