aes_gcm_siv_go_proto

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 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_aes_gcm_siv_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AesGcmSivKey

type AesGcmSivKey struct {
	Version  uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

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

func (*AesGcmSivKey) Descriptor deprecated

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

Deprecated: Use AesGcmSivKey.ProtoReflect.Descriptor instead.

func (*AesGcmSivKey) GetKeyValue

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

func (*AesGcmSivKey) GetVersion

func (x *AesGcmSivKey) GetVersion() uint32

func (*AesGcmSivKey) ProtoMessage

func (*AesGcmSivKey) ProtoMessage()

func (*AesGcmSivKey) ProtoReflect

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

func (*AesGcmSivKey) Reset

func (x *AesGcmSivKey) Reset()

func (*AesGcmSivKey) String

func (x *AesGcmSivKey) String() string

type AesGcmSivKeyFormat

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

The only allowed IV size is 12 bytes and tag size is 16 bytes. Thus, accept no params.

func (*AesGcmSivKeyFormat) Descriptor deprecated

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

Deprecated: Use AesGcmSivKeyFormat.ProtoReflect.Descriptor instead.

func (*AesGcmSivKeyFormat) GetKeySize

func (x *AesGcmSivKeyFormat) GetKeySize() uint32

func (*AesGcmSivKeyFormat) GetVersion

func (x *AesGcmSivKeyFormat) GetVersion() uint32

func (*AesGcmSivKeyFormat) ProtoMessage

func (*AesGcmSivKeyFormat) ProtoMessage()

func (*AesGcmSivKeyFormat) ProtoReflect

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

func (*AesGcmSivKeyFormat) Reset

func (x *AesGcmSivKeyFormat) Reset()

func (*AesGcmSivKeyFormat) String

func (x *AesGcmSivKeyFormat) String() string

Jump to

Keyboard shortcuts

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