Documentation ¶
Index ¶
- type LocalSigner
- func (ls *LocalSigner) FindIssuerPk(kid string) (pk *gabi.PublicKey, err error)
- 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 // contains filtered or unexported fields }
func New ¶
func New(pkId, pkPath, skPath string) (*LocalSigner, error)
func NewFromString ¶
func NewFromString(pkId, pkXML, skXML string) (*LocalSigner, error)
func (*LocalSigner) FindIssuerPk ¶ added in v0.3.0
func (ls *LocalSigner) FindIssuerPk(kid string) (pk *gabi.PublicKey, err error)
func (*LocalSigner) PrepareSign ¶
func (ls *LocalSigner) PrepareSign() (pkId string, issuerNonce *big.Int, err error)
Click to show internal directories.
Click to hide internal directories.