Documentation ¶
Index ¶
- Variables
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetCompressed() bool
- func (m *Key) GetCurve() KeyCurve
- func (m *Key) GetKeyBytes() []byte
- func (m *Key) GetType() KeyType
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyCurve
- type KeyType
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyCurve_name = map[int32]string{
0: "SECP256K1",
}
View Source
var KeyCurve_value = map[string]int32{
"SECP256K1": 0,
}
View Source
var KeyType_name = map[int32]string{
0: "ELLIPTIC",
}
View Source
var KeyType_value = map[string]int32{
"ELLIPTIC": 0,
}
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { KeyBytes []byte `protobuf:"bytes,1,opt,name=key_bytes,json=keyBytes,proto3" json:"key_bytes,omitempty"` Type KeyType `protobuf:"varint,2,opt,name=type,proto3,enum=eckey.KeyType" json:"type,omitempty"` Curve KeyCurve `protobuf:"varint,3,opt,name=curve,proto3,enum=eckey.KeyCurve" json:"curve,omitempty"` Compressed bool `protobuf:"varint,4,opt,name=compressed,proto3" json:"compressed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Key) Descriptor ¶
func (*Key) GetCompressed ¶
func (*Key) GetKeyBytes ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.