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) GetKeyValue ¶
func (*AesGcmKey) GetVersion ¶
func (*AesGcmKey) ProtoMessage ¶
func (*AesGcmKey) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.