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

package aes_gcm_go_proto

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

Index

Variables

var File_third_party_tink_proto_aes_gcm_proto protoreflect.FileDescriptor

Types

type AesGcmKey

type AesGcmKey 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.AesGcmKey

func (*AesGcmKey) Descriptor

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

Deprecated: Use AesGcmKey.ProtoReflect.Descriptor instead.

func (*AesGcmKey) GetKeyValue

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

func (*AesGcmKey) GetVersion

func (x *AesGcmKey) GetVersion() uint32

func (*AesGcmKey) ProtoMessage

func (*AesGcmKey) ProtoMessage()

func (*AesGcmKey) ProtoReflect

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

func (*AesGcmKey) Reset

func (x *AesGcmKey) Reset()

func (*AesGcmKey) String

func (x *AesGcmKey) String() string

type AesGcmKeyFormat

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

only allowing IV size in bytes = 12 and tag size in bytes = 16 Thus, accept no params.

func (*AesGcmKeyFormat) Descriptor

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

Deprecated: Use AesGcmKeyFormat.ProtoReflect.Descriptor instead.

func (*AesGcmKeyFormat) GetKeySize

func (x *AesGcmKeyFormat) GetKeySize() uint32

func (*AesGcmKeyFormat) GetVersion

func (x *AesGcmKeyFormat) GetVersion() uint32

func (*AesGcmKeyFormat) ProtoMessage

func (*AesGcmKeyFormat) ProtoMessage()

func (*AesGcmKeyFormat) ProtoReflect

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

func (*AesGcmKeyFormat) Reset

func (x *AesGcmKeyFormat) Reset()

func (*AesGcmKeyFormat) String

func (x *AesGcmKeyFormat) String() string

Source Files

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