gogithub.com/google/tink/go/proto/ed25519_go_proto Index | Files

package ed25519_go_proto

import "github.com/google/tink/go/proto/ed25519_go_proto"

Index

Variables

var File_third_party_tink_proto_ed25519_proto protoreflect.FileDescriptor

Types

type Ed25519KeyFormat

type Ed25519KeyFormat struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Ed25519KeyFormat) Descriptor

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

Deprecated: Use Ed25519KeyFormat.ProtoReflect.Descriptor instead.

func (*Ed25519KeyFormat) GetVersion

func (x *Ed25519KeyFormat) GetVersion() uint32

func (*Ed25519KeyFormat) ProtoMessage

func (*Ed25519KeyFormat) ProtoMessage()

func (*Ed25519KeyFormat) ProtoReflect

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

func (*Ed25519KeyFormat) Reset

func (x *Ed25519KeyFormat) Reset()

func (*Ed25519KeyFormat) String

func (x *Ed25519KeyFormat) String() string

type Ed25519PrivateKey

type Ed25519PrivateKey struct {

	// Required.
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// The private key is 32 bytes of cryptographically secure random data.
	// See https://tools.ietf.org/html/rfc8032#section-5.1.5.
	// Required.
	KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	// The corresponding public key.
	PublicKey *Ed25519PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

key_type: type.googleapis.com/google.crypto.tink.Ed25519PrivateKey

func (*Ed25519PrivateKey) Descriptor

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

Deprecated: Use Ed25519PrivateKey.ProtoReflect.Descriptor instead.

func (*Ed25519PrivateKey) GetKeyValue

func (x *Ed25519PrivateKey) GetKeyValue() []byte

func (*Ed25519PrivateKey) GetPublicKey

func (x *Ed25519PrivateKey) GetPublicKey() *Ed25519PublicKey

func (*Ed25519PrivateKey) GetVersion

func (x *Ed25519PrivateKey) GetVersion() uint32

func (*Ed25519PrivateKey) ProtoMessage

func (*Ed25519PrivateKey) ProtoMessage()

func (*Ed25519PrivateKey) ProtoReflect

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

func (*Ed25519PrivateKey) Reset

func (x *Ed25519PrivateKey) Reset()

func (*Ed25519PrivateKey) String

func (x *Ed25519PrivateKey) String() string

type Ed25519PublicKey

type Ed25519PublicKey struct {

	// Required.
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// The public key is 32 bytes, encoded according to
	// https://tools.ietf.org/html/rfc8032#section-5.1.2.
	// Required.
	KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

key_type: type.googleapis.com/google.crypto.tink.Ed25519PublicKey

func (*Ed25519PublicKey) Descriptor

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

Deprecated: Use Ed25519PublicKey.ProtoReflect.Descriptor instead.

func (*Ed25519PublicKey) GetKeyValue

func (x *Ed25519PublicKey) GetKeyValue() []byte

func (*Ed25519PublicKey) GetVersion

func (x *Ed25519PublicKey) GetVersion() uint32

func (*Ed25519PublicKey) ProtoMessage

func (*Ed25519PublicKey) ProtoMessage()

func (*Ed25519PublicKey) ProtoReflect

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

func (*Ed25519PublicKey) Reset

func (x *Ed25519PublicKey) Reset()

func (*Ed25519PublicKey) String

func (x *Ed25519PublicKey) String() string

Source Files

ed25519.pb.go

Version
v1.7.0 (latest)
Published
Aug 10, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
3 months ago

Tools for package owners.