aes_gcm_go_proto

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package aes_gcm_proto is a generated protocol buffer package.

It is generated from these files:

proto/aes_gcm.proto

It has these top-level messages:

AesGcmKeyFormat
AesGcmKey

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AesGcmKey

type AesGcmKey struct {
	Version  uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
}

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

func (*AesGcmKey) Descriptor

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

func (*AesGcmKey) GetKeyValue

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

func (*AesGcmKey) GetVersion

func (m *AesGcmKey) GetVersion() uint32

func (*AesGcmKey) ProtoMessage

func (*AesGcmKey) ProtoMessage()

func (*AesGcmKey) Reset

func (m *AesGcmKey) Reset()

func (*AesGcmKey) String

func (m *AesGcmKey) String() string

type AesGcmKeyFormat

type AesGcmKeyFormat struct {
	KeySize uint32 `protobuf:"varint,2,opt,name=key_size,json=keySize" json:"key_size,omitempty"`
}

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)

func (*AesGcmKeyFormat) GetKeySize

func (m *AesGcmKeyFormat) GetKeySize() uint32

func (*AesGcmKeyFormat) ProtoMessage

func (*AesGcmKeyFormat) ProtoMessage()

func (*AesGcmKeyFormat) Reset

func (m *AesGcmKeyFormat) Reset()

func (*AesGcmKeyFormat) String

func (m *AesGcmKeyFormat) String() string

Jump to

Keyboard shortcuts

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