secp256r1

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_crypto_secp256r1_keys_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PrivKey

type PrivKey struct {

	// secret number serialized using big-endian encoding
	Secret []byte `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

PrivKey defines a secp256r1 ECDSA private key.

func (*PrivKey) Descriptor deprecated

func (*PrivKey) Descriptor() ([]byte, []int)

Deprecated: Use PrivKey.ProtoReflect.Descriptor instead.

func (*PrivKey) GetSecret

func (x *PrivKey) GetSecret() []byte

func (*PrivKey) ProtoMessage

func (*PrivKey) ProtoMessage()

func (*PrivKey) ProtoReflect

func (x *PrivKey) ProtoReflect() protoreflect.Message

func (*PrivKey) Reset

func (x *PrivKey) Reset()

func (*PrivKey) String

func (x *PrivKey) String() string

type PubKey

type PubKey struct {

	// Point on secp256r1 curve in a compressed representation as specified in section
	// 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

PubKey defines a secp256r1 ECDSA public key.

func (*PubKey) Descriptor deprecated

func (*PubKey) Descriptor() ([]byte, []int)

Deprecated: Use PubKey.ProtoReflect.Descriptor instead.

func (*PubKey) GetKey

func (x *PubKey) GetKey() []byte

func (*PubKey) ProtoMessage

func (*PubKey) ProtoMessage()

func (*PubKey) ProtoReflect

func (x *PubKey) ProtoReflect() protoreflect.Message

func (*PubKey) Reset

func (x *PubKey) Reset()

func (*PubKey) String

func (x *PubKey) String() string

Jump to

Keyboard shortcuts

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