Documentation ¶
Index ¶
- type SecStore
- func (s *SecStore) AddKey(secret []byte)
- func (s *SecStore) DecryptMessage(data []byte) ([]byte, error)
- func (s *SecStore) Destroy()
- func (s *SecStore) ExportKey(password string) (string, error)
- func (s *SecStore) GetAddress() common.Address
- func (s *SecStore) GetPubKey() []byte
- func (s *SecStore) Sign(data []byte) []byte
- func (s *SecStore) SignFlipKey(fk *types.PublicFlipKey) (*types.PublicFlipKey, error)
- func (s *SecStore) SignFlipKeysPackage(fk *types.PrivateFlipKeysPackage) (*types.PrivateFlipKeysPackage, error)
- func (s *SecStore) SignTx(tx *types.Transaction) (*types.Transaction, error)
- func (s *SecStore) VrfEvaluate(data []byte) (index [32]byte, proof []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecStore ¶
type SecStore struct {
// contains filtered or unexported fields
}
func NewSecStore ¶
func NewSecStore() *SecStore
func (*SecStore) GetAddress ¶
func (*SecStore) SignFlipKey ¶
func (s *SecStore) SignFlipKey(fk *types.PublicFlipKey) (*types.PublicFlipKey, error)
func (*SecStore) SignFlipKeysPackage ¶
func (s *SecStore) SignFlipKeysPackage(fk *types.PrivateFlipKeysPackage) (*types.PrivateFlipKeysPackage, error)
func (*SecStore) SignTx ¶
func (s *SecStore) SignTx(tx *types.Transaction) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.