Versions in this module Expand all Collapse all v1 v1.2.1 Dec 16, 2024 v1.2.0 Oct 1, 2024 v1.1.2 Apr 3, 2024 v1.1.1 Feb 22, 2024 v1.1.0 Nov 16, 2023 v1.0.0 Sep 13, 2023 Changes in this version + var BitcoinCurveType_name = map[int32]string + var BitcoinCurveType_value = map[string]int32 + var File_proto_secp256k1_proto protoreflect.FileDescriptor + var Secp256K1SignatureEncoding_name = map[int32]string + var Secp256K1SignatureEncoding_value = map[string]int32 + type BitcoinCurveType int32 + const BitcoinCurveType_INVALID_BITCOIN_CURVE + const BitcoinCurveType_SECP256K1 + func (BitcoinCurveType) Descriptor() protoreflect.EnumDescriptor + func (BitcoinCurveType) EnumDescriptor() ([]byte, []int) + func (BitcoinCurveType) Type() protoreflect.EnumType + func (x BitcoinCurveType) Enum() *BitcoinCurveType + func (x BitcoinCurveType) Number() protoreflect.EnumNumber + func (x BitcoinCurveType) String() string + type Secp256K1KeyFormat struct + Params *Secp256K1Params + func (*Secp256K1KeyFormat) Descriptor() ([]byte, []int) + func (*Secp256K1KeyFormat) ProtoMessage() + func (x *Secp256K1KeyFormat) GetParams() *Secp256K1Params + func (x *Secp256K1KeyFormat) ProtoReflect() protoreflect.Message + func (x *Secp256K1KeyFormat) Reset() + func (x *Secp256K1KeyFormat) String() string + type Secp256K1Params struct + Curve BitcoinCurveType + Encoding Secp256K1SignatureEncoding + HashType common_go_proto.HashType + func (*Secp256K1Params) Descriptor() ([]byte, []int) + func (*Secp256K1Params) ProtoMessage() + func (x *Secp256K1Params) GetCurve() BitcoinCurveType + func (x *Secp256K1Params) GetEncoding() Secp256K1SignatureEncoding + func (x *Secp256K1Params) GetHashType() common_go_proto.HashType + func (x *Secp256K1Params) ProtoReflect() protoreflect.Message + func (x *Secp256K1Params) Reset() + func (x *Secp256K1Params) String() string + type Secp256K1PrivateKey struct + KeyValue []byte + PublicKey *Secp256K1PublicKey + Version uint32 + func (*Secp256K1PrivateKey) Descriptor() ([]byte, []int) + func (*Secp256K1PrivateKey) ProtoMessage() + func (x *Secp256K1PrivateKey) GetKeyValue() []byte + func (x *Secp256K1PrivateKey) GetPublicKey() *Secp256K1PublicKey + func (x *Secp256K1PrivateKey) GetVersion() uint32 + func (x *Secp256K1PrivateKey) ProtoReflect() protoreflect.Message + func (x *Secp256K1PrivateKey) Reset() + func (x *Secp256K1PrivateKey) String() string + type Secp256K1PublicKey struct + Params *Secp256K1Params + Version uint32 + X []byte + Y []byte + func (*Secp256K1PublicKey) Descriptor() ([]byte, []int) + func (*Secp256K1PublicKey) ProtoMessage() + func (x *Secp256K1PublicKey) GetParams() *Secp256K1Params + func (x *Secp256K1PublicKey) GetVersion() uint32 + func (x *Secp256K1PublicKey) GetX() []byte + func (x *Secp256K1PublicKey) GetY() []byte + func (x *Secp256K1PublicKey) ProtoReflect() protoreflect.Message + func (x *Secp256K1PublicKey) Reset() + func (x *Secp256K1PublicKey) String() string + type Secp256K1SignatureEncoding int32 + const Secp256K1SignatureEncoding_Bitcoin_DER + const Secp256K1SignatureEncoding_Bitcoin_IEEE_P1363 + const Secp256K1SignatureEncoding_UNKNOWN_BITCOIN_ENCODING + func (Secp256K1SignatureEncoding) Descriptor() protoreflect.EnumDescriptor + func (Secp256K1SignatureEncoding) EnumDescriptor() ([]byte, []int) + func (Secp256K1SignatureEncoding) Type() protoreflect.EnumType + func (x Secp256K1SignatureEncoding) Enum() *Secp256K1SignatureEncoding + func (x Secp256K1SignatureEncoding) Number() protoreflect.EnumNumber + func (x Secp256K1SignatureEncoding) String() string