Documentation
¶
Index ¶
- func EncodeForSigning(typedData apitypes.TypedData) (hash common.Hash, err error)
- func GetPubKey(svc *kms.Client, keyId string) (*ecdsa.PublicKey, error)
- func GetPubKeyCtx(ctx context.Context, svc *kms.Client, keyId string) (*ecdsa.PublicKey, error)
- func NewAwsKmsTransactorWithChainID(svc *kms.Client, keyId string, chainID *big.Int) (*bind.TransactOpts, error)
- func NewAwsKmsTransactorWithChainIDCtx(ctx context.Context, svc *kms.Client, keyId string, chainID *big.Int) (*bind.TransactOpts, error)
- func VerifySig(from, sigHex string, msg []byte) bool
- type AwsKmsTypedDataSigner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeForSigning ¶ added in v1.0.2
encodeForSigning - Encoding the typed data
func GetPubKeyCtx ¶
Types ¶
type AwsKmsTypedDataSigner ¶ added in v1.0.2
type AwsKmsTypedDataSigner struct {
// contains filtered or unexported fields
}
func NewAwsKmsTypedDataSigner ¶ added in v1.0.2
func (*AwsKmsTypedDataSigner) Address ¶ added in v1.0.2
func (s *AwsKmsTypedDataSigner) Address() common.Address
func (*AwsKmsTypedDataSigner) ChainID ¶ added in v1.0.2
func (s *AwsKmsTypedDataSigner) ChainID() *big.Int
func (*AwsKmsTypedDataSigner) SignTypedData ¶ added in v1.0.2
func (s *AwsKmsTypedDataSigner) SignTypedData(typedData apitypes.TypedData) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.