Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdenSigner ¶
type IdenSigner struct {
// contains filtered or unexported fields
}
func New ¶
func New(ks *babykeystore.KeyStore, pk babyjub.PublicKey) *IdenSigner
New creates a new IdenSigner service.
func (*IdenSigner) PublicKey ¶
func (s *IdenSigner) PublicKey() *babyjub.PublicKey
func (*IdenSigner) SignEthMsg ¶
func (s *IdenSigner) SignEthMsg(msg []byte) (*babyjub.SignatureComp, error)
func (*IdenSigner) SignEthMsgDate ¶
func (s *IdenSigner) SignEthMsgDate(msg []byte) (*babyjub.SignatureComp, int64, error)
Click to show internal directories.
Click to hide internal directories.