Documentation
¶
Index ¶
- type AesGcmKey
- func (*AesGcmKey) Descriptor() ([]byte, []int)
- func (m *AesGcmKey) GetKeyValue() []byte
- func (m *AesGcmKey) GetVersion() uint32
- func (*AesGcmKey) ProtoMessage()
- func (m *AesGcmKey) Reset()
- func (m *AesGcmKey) String() string
- func (m *AesGcmKey) XXX_DiscardUnknown()
- func (m *AesGcmKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AesGcmKey) XXX_Merge(src proto.Message)
- func (m *AesGcmKey) XXX_Size() int
- func (m *AesGcmKey) XXX_Unmarshal(b []byte) error
- type AesGcmKeyFormat
- func (*AesGcmKeyFormat) Descriptor() ([]byte, []int)
- func (m *AesGcmKeyFormat) GetKeySize() uint32
- func (*AesGcmKeyFormat) ProtoMessage()
- func (m *AesGcmKeyFormat) Reset()
- func (m *AesGcmKeyFormat) String() string
- func (m *AesGcmKeyFormat) XXX_DiscardUnknown()
- func (m *AesGcmKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AesGcmKeyFormat) XXX_Merge(src proto.Message)
- func (m *AesGcmKeyFormat) XXX_Size() int
- func (m *AesGcmKeyFormat) XXX_Unmarshal(b []byte) error
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) GetKeyValue ¶
func (*AesGcmKey) GetVersion ¶
func (*AesGcmKey) ProtoMessage ¶
func (*AesGcmKey) ProtoMessage()
func (*AesGcmKey) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *AesGcmKey) XXX_DiscardUnknown()
func (*AesGcmKey) XXX_Marshal ¶ added in v1.3.0
func (*AesGcmKey) XXX_Unmarshal ¶ added in v1.3.0
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
Click to show internal directories.
Click to hide internal directories.