Documentation ¶
Index ¶
- type LocalSigner
- func (ls *LocalSigner) FindIssuerPk(kid string) (pk *gabi.PublicKey, err error)
- func (ls *LocalSigner) GetPrimePool() gabipool.PrimePool
- func (ls *LocalSigner) PrepareSign() (pkId string, issuerNonce *big.Int, err error)
- func (ls *LocalSigner) Sign(credentialsAttributes [][]*big.Int, proofUs []*big.Int, holderNonce *big.Int) (isms []*gabi.IssueSignatureMessage, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalSigner ¶
type LocalSigner struct { PkId string Pk *gabi.PublicKey Pool gabipool.PrimePool // contains filtered or unexported fields }
func NewFromString ¶
func NewFromString(pkId, pkXML, skXML string, pool gabipool.PrimePool) (*LocalSigner, error)
func (*LocalSigner) FindIssuerPk ¶ added in v0.3.0
func (ls *LocalSigner) FindIssuerPk(kid string) (pk *gabi.PublicKey, err error)
func (*LocalSigner) GetPrimePool ¶ added in v0.5.1
func (ls *LocalSigner) GetPrimePool() gabipool.PrimePool
func (*LocalSigner) PrepareSign ¶
func (ls *LocalSigner) PrepareSign() (pkId string, issuerNonce *big.Int, err error)
Click to show internal directories.
Click to hide internal directories.