eckey

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Key) GetCompressed

func (m *Key) GetCompressed() bool

func (*Key) GetCurve

func (m *Key) GetCurve() KeyCurve

func (*Key) GetKeyBytes

func (m *Key) GetKeyBytes() []byte

func (*Key) GetType

func (m *Key) GetType() KeyType

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (m *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

type KeyCurve

type KeyCurve int32
const (
	KeyCurve_SECP256K1 KeyCurve = 0
)

func (KeyCurve) EnumDescriptor

func (KeyCurve) EnumDescriptor() ([]byte, []int)

func (KeyCurve) String

func (x KeyCurve) String() string

type KeyType

type KeyType int32
const (
	KeyType_ELLIPTIC KeyType = 0
)

func (KeyType) EnumDescriptor

func (KeyType) EnumDescriptor() ([]byte, []int)

func (KeyType) String

func (x KeyType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL