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

Documentation

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,proto3" json:"version,omitempty"`
	Params               *HmacParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,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.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

func (*HmacKey) XXX_DiscardUnknown added in v1.3.0

func (m *HmacKey) XXX_DiscardUnknown()

func (*HmacKey) XXX_Marshal added in v1.3.0

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

func (*HmacKey) XXX_Merge added in v1.3.0

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

func (*HmacKey) XXX_Size added in v1.3.0

func (m *HmacKey) XXX_Size() int

func (*HmacKey) XXX_Unmarshal added in v1.3.0

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

type HmacKeyFormat

type HmacKeyFormat struct {
	Params               *HmacParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	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:"-"`
}

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

func (*HmacKeyFormat) XXX_DiscardUnknown added in v1.3.0

func (m *HmacKeyFormat) XXX_DiscardUnknown()

func (*HmacKeyFormat) XXX_Marshal added in v1.3.0

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

func (*HmacKeyFormat) XXX_Merge added in v1.3.0

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

func (*HmacKeyFormat) XXX_Size added in v1.3.0

func (m *HmacKeyFormat) XXX_Size() int

func (*HmacKeyFormat) XXX_Unmarshal added in v1.3.0

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

type HmacParams

type HmacParams struct {
	Hash                 common_go_proto.HashType `protobuf:"varint,1,opt,name=hash,proto3,enum=google.crypto.tink.HashType" json:"hash,omitempty"`
	TagSize              uint32                   `protobuf:"varint,2,opt,name=tag_size,json=tagSize,proto3" json:"tag_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*HmacParams) Descriptor

func (*HmacParams) Descriptor() ([]byte, []int)

func (*HmacParams) GetHash

func (m *HmacParams) GetHash() common_go_proto.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

func (*HmacParams) XXX_DiscardUnknown added in v1.3.0

func (m *HmacParams) XXX_DiscardUnknown()

func (*HmacParams) XXX_Marshal added in v1.3.0

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

func (*HmacParams) XXX_Merge added in v1.3.0

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

func (*HmacParams) XXX_Size added in v1.3.0

func (m *HmacParams) XXX_Size() int

func (*HmacParams) XXX_Unmarshal added in v1.3.0

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

Jump to

Keyboard shortcuts

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