chacha20_poly1305_go_proto

package
v2.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_third_party_tink_proto_chacha20_poly1305_proto protoreflect.FileDescriptor

Functions

This section is empty.

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 deprecated

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 deprecated

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

Jump to

Keyboard shortcuts

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