Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueMessage ¶
type IssueMessage struct { PrepareIssueMessage *common.PrepareIssueMessage `json:"prepareIssueMessage"` IssueCommitmentMessage *gabi.IssueCommitmentMessage `json:"issueCommitmentMessage"` CredentialsAttributes []map[string]string `json:"credentialsAttributes"` }
type Issuer ¶
type Issuer struct {
Signer Signer
}
func (*Issuer) Issue ¶
func (iss *Issuer) Issue(im *IssueMessage) ([]*common.CreateCredentialMessage, error)
func (*Issuer) IssueStatic ¶ added in v0.3.0
func (iss *Issuer) IssueStatic(sim *StaticIssueMessage) (proofPrefixed, proofIdentifier []byte, err error)
func (*Issuer) PrepareIssue ¶
func (iss *Issuer) PrepareIssue(credentialAmount int) (*common.PrepareIssueMessage, error)
type Signer ¶
type Signer interface { PrepareSign() (pkId string, issuerNonce *big.Int, err error) Sign(credentialsAttributeList [][]*big.Int, proofUs []*big.Int, holderNonce *big.Int) (isms []*gabi.IssueSignatureMessage, err error) FindIssuerPk(kid string) (pk *gabi.PublicKey, err error) GetPrimePool() gabipool.PrimePool }
type StaticIssueMessage ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.