hmac_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: 4 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*HmacKey) GetKeyValue

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

func (*HmacKey) GetParams

func (m *HmacKey) GetParams() *HmacParams

func (*HmacKey) GetVersion

func (m *HmacKey) GetVersion() uint32

func (*HmacKey) ProtoMessage

func (*HmacKey) ProtoMessage()

func (*HmacKey) Reset

func (m *HmacKey) Reset()

func (*HmacKey) String

func (m *HmacKey) String() string

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

Jump to

Keyboard shortcuts

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