Documentation ¶
Index ¶
- Constants
- Variables
- type Module
- type Signer
- type SignerConfig
- func (c *SignerConfig) Build() (signer.Signer, error)
- func (*SignerConfig) Descriptor() ([]byte, []int)
- func (m *SignerConfig) Marshal() (dAtA []byte, err error)
- func (m *SignerConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *SignerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignerConfig) ProtoMessage()
- func (m *SignerConfig) Reset()
- func (m *SignerConfig) Size() (n int)
- func (m *SignerConfig) String() string
- func (m *SignerConfig) Unmarshal(dAtA []byte) error
- func (c *SignerConfig) Validate() error
- func (m *SignerConfig) XXX_DiscardUnknown()
- func (m *SignerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignerConfig) XXX_Merge(src proto.Message)
- func (m *SignerConfig) XXX_Size() int
- func (m *SignerConfig) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ModuleName = "lcp.signers.raw"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct{}
func (Module) RegisterInterfaces ¶
func (Module) RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the module interfaces to protobuf Any.
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
func NewSigner ¶
func NewSigner(privKey *ecdsa.PrivateKey) *Signer
func (*Signer) GetPublicKey ¶
type SignerConfig ¶
type SignerConfig struct {
PrivateKey string `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
}
func (*SignerConfig) Descriptor ¶
func (*SignerConfig) Descriptor() ([]byte, []int)
func (*SignerConfig) Marshal ¶
func (m *SignerConfig) Marshal() (dAtA []byte, err error)
func (*SignerConfig) MarshalToSizedBuffer ¶
func (m *SignerConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignerConfig) ProtoMessage ¶
func (*SignerConfig) ProtoMessage()
func (*SignerConfig) Reset ¶
func (m *SignerConfig) Reset()
func (*SignerConfig) Size ¶
func (m *SignerConfig) Size() (n int)
func (*SignerConfig) String ¶
func (m *SignerConfig) String() string
func (*SignerConfig) Unmarshal ¶
func (m *SignerConfig) Unmarshal(dAtA []byte) error
func (*SignerConfig) Validate ¶
func (c *SignerConfig) Validate() error
func (*SignerConfig) XXX_DiscardUnknown ¶
func (m *SignerConfig) XXX_DiscardUnknown()
func (*SignerConfig) XXX_Marshal ¶
func (m *SignerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignerConfig) XXX_Merge ¶
func (m *SignerConfig) XXX_Merge(src proto.Message)
func (*SignerConfig) XXX_Size ¶
func (m *SignerConfig) XXX_Size() int
func (*SignerConfig) XXX_Unmarshal ¶
func (m *SignerConfig) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.