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

package chacha20_poly1305_go_proto

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

Index

Variables

var File_third_party_tink_proto_chacha20_poly1305_proto protoreflect.FileDescriptor

Types

type ChaCha20Poly1305Key

type ChaCha20Poly1305Key struct {
	Version  uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	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.ChaCha20Poly1305. This key type actually implements ChaCha20Poly1305 as described at https://tools.ietf.org/html/rfc7539#section-2.8.

func (*ChaCha20Poly1305Key) Descriptor

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

Deprecated: Use ChaCha20Poly1305Key.ProtoReflect.Descriptor instead.

func (*ChaCha20Poly1305Key) GetKeyValue

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

func (*ChaCha20Poly1305Key) GetVersion

func (x *ChaCha20Poly1305Key) GetVersion() uint32

func (*ChaCha20Poly1305Key) ProtoMessage

func (*ChaCha20Poly1305Key) ProtoMessage()

func (*ChaCha20Poly1305Key) ProtoReflect

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

func (*ChaCha20Poly1305Key) Reset

func (x *ChaCha20Poly1305Key) Reset()

func (*ChaCha20Poly1305Key) String

func (x *ChaCha20Poly1305Key) String() string

type ChaCha20Poly1305KeyFormat

type ChaCha20Poly1305KeyFormat struct {
	// contains filtered or unexported fields
}

func (*ChaCha20Poly1305KeyFormat) Descriptor

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

Deprecated: Use ChaCha20Poly1305KeyFormat.ProtoReflect.Descriptor instead.

func (*ChaCha20Poly1305KeyFormat) ProtoMessage

func (*ChaCha20Poly1305KeyFormat) ProtoMessage()

func (*ChaCha20Poly1305KeyFormat) ProtoReflect

func (*ChaCha20Poly1305KeyFormat) Reset

func (x *ChaCha20Poly1305KeyFormat) Reset()

func (*ChaCha20Poly1305KeyFormat) String

func (x *ChaCha20Poly1305KeyFormat) String() string

Source Files

chacha20_poly1305.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.