aes_gcm_go_proto

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

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,proto3" json:"version,omitempty"`
	KeyValue             []byte   `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*AesGcmKey) XXX_DiscardUnknown added in v1.3.0

func (m *AesGcmKey) XXX_DiscardUnknown()

func (*AesGcmKey) XXX_Marshal added in v1.3.0

func (m *AesGcmKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AesGcmKey) XXX_Merge added in v1.3.0

func (m *AesGcmKey) XXX_Merge(src proto.Message)

func (*AesGcmKey) XXX_Size added in v1.3.0

func (m *AesGcmKey) XXX_Size() int

func (*AesGcmKey) XXX_Unmarshal added in v1.3.0

func (m *AesGcmKey) XXX_Unmarshal(b []byte) error

type AesGcmKeyFormat

type AesGcmKeyFormat struct {
	KeySize              uint32   `protobuf:"varint,2,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*AesGcmKeyFormat) XXX_DiscardUnknown added in v1.3.0

func (m *AesGcmKeyFormat) XXX_DiscardUnknown()

func (*AesGcmKeyFormat) XXX_Marshal added in v1.3.0

func (m *AesGcmKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AesGcmKeyFormat) XXX_Merge added in v1.3.0

func (m *AesGcmKeyFormat) XXX_Merge(src proto.Message)

func (*AesGcmKeyFormat) XXX_Size added in v1.3.0

func (m *AesGcmKeyFormat) XXX_Size() int

func (*AesGcmKeyFormat) XXX_Unmarshal added in v1.3.0

func (m *AesGcmKeyFormat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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