Documentation ¶
Index ¶
- type Key
- type KeySpecification
- type LocalSigner
- func (ls *LocalSigner) FindIssuerPk(ks *KeySpecification) (pk *gabi.PublicKey, kid string, err error)
- func (ls *LocalSigner) GetPrimePool() gabipool.PrimePool
- func (ls *LocalSigner) PrepareSign(ks *KeySpecification) (pkId string, issuerNonce *big.Int, err error)
- func (ls *LocalSigner) Sign(ks *KeySpecification, credentialsAttributes [][]*big.Int, proofUs []*big.Int, ...) (isms []*gabi.IssueSignatureMessage, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶ added in v0.7.0
type Key struct { KeyIdentifier string `mapstructure:"key-identifier"` PkPath string `mapstructure:"public-key-path"` SkPath string `mapstructure:"private-key-path"` // DEPRECATED: This field is deprecated and should be removed when callers have been migrated KeyUsage string `mapstructure:"key-usage"` // contains filtered or unexported fields }
type KeySpecification ¶ added in v0.7.2
type KeySpecification struct { KeyIdentifier string // DEPRECATED: Deprecated field in temporary structure KeyUsage string }
DEPRECATED: This struct is temporary and should be removed when callers have been migrated
type LocalSigner ¶
type LocalSigner struct {
// contains filtered or unexported fields
}
func (*LocalSigner) FindIssuerPk ¶ added in v0.3.0
func (ls *LocalSigner) FindIssuerPk(ks *KeySpecification) (pk *gabi.PublicKey, kid string, err error)
func (*LocalSigner) GetPrimePool ¶ added in v0.5.1
func (ls *LocalSigner) GetPrimePool() gabipool.PrimePool
func (*LocalSigner) PrepareSign ¶
func (ls *LocalSigner) PrepareSign(ks *KeySpecification) (pkId string, issuerNonce *big.Int, err error)
func (*LocalSigner) Sign ¶
func (ls *LocalSigner) Sign(ks *KeySpecification, credentialsAttributes [][]*big.Int, proofUs []*big.Int, holderNonce *big.Int) (isms []*gabi.IssueSignatureMessage, err error)
Click to show internal directories.
Click to hide internal directories.