Documentation ¶
Overview ¶
Package hmac_proto is a generated protocol buffer package.
It is generated from these files:
proto/hmac.proto
It has these top-level messages:
HmacParams HmacKey HmacKeyFormat
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HmacKey ¶
type HmacKey struct { Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` Params *HmacParams `protobuf:"bytes,2,opt,name=params" json:"params,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.HmacKey
func (*HmacKey) Descriptor ¶
func (*HmacKey) GetKeyValue ¶
func (*HmacKey) GetParams ¶
func (m *HmacKey) GetParams() *HmacParams
func (*HmacKey) GetVersion ¶
func (*HmacKey) ProtoMessage ¶
func (*HmacKey) ProtoMessage()
type HmacKeyFormat ¶
type HmacKeyFormat struct { Params *HmacParams `protobuf:"bytes,1,opt,name=params" json:"params,omitempty"` KeySize uint32 `protobuf:"varint,2,opt,name=key_size,json=keySize" json:"key_size,omitempty"` }
func (*HmacKeyFormat) Descriptor ¶
func (*HmacKeyFormat) Descriptor() ([]byte, []int)
func (*HmacKeyFormat) GetKeySize ¶
func (m *HmacKeyFormat) GetKeySize() uint32
func (*HmacKeyFormat) GetParams ¶
func (m *HmacKeyFormat) GetParams() *HmacParams
func (*HmacKeyFormat) ProtoMessage ¶
func (*HmacKeyFormat) ProtoMessage()
func (*HmacKeyFormat) Reset ¶
func (m *HmacKeyFormat) Reset()
func (*HmacKeyFormat) String ¶
func (m *HmacKeyFormat) String() string
type HmacParams ¶
type HmacParams struct { Hash google_crypto_tink.HashType `protobuf:"varint,1,opt,name=hash,enum=google.crypto.tink.HashType" json:"hash,omitempty"` TagSize uint32 `protobuf:"varint,2,opt,name=tag_size,json=tagSize" json:"tag_size,omitempty"` }
func (*HmacParams) Descriptor ¶
func (*HmacParams) Descriptor() ([]byte, []int)
func (*HmacParams) GetHash ¶
func (m *HmacParams) GetHash() google_crypto_tink.HashType
func (*HmacParams) GetTagSize ¶
func (m *HmacParams) GetTagSize() uint32
func (*HmacParams) ProtoMessage ¶
func (*HmacParams) ProtoMessage()
func (*HmacParams) Reset ¶
func (m *HmacParams) Reset()
func (*HmacParams) String ¶
func (m *HmacParams) String() string
Click to show internal directories.
Click to hide internal directories.