hmac_go_proto

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_third_party_tink_proto_hmac_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

key_type: type.googleapis.com/google.crypto.tink.HmacKey

func (*HmacKey) Descriptor deprecated

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

Deprecated: Use HmacKey.ProtoReflect.Descriptor instead.

func (*HmacKey) GetKeyValue

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

func (*HmacKey) GetParams

func (x *HmacKey) GetParams() *HmacParams

func (*HmacKey) GetVersion

func (x *HmacKey) GetVersion() uint32

func (*HmacKey) ProtoMessage

func (*HmacKey) ProtoMessage()

func (*HmacKey) ProtoReflect added in v1.7.0

func (x *HmacKey) ProtoReflect() protoreflect.Message

func (*HmacKey) Reset

func (x *HmacKey) Reset()

func (*HmacKey) String

func (x *HmacKey) String() string

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"`
	Version uint32      `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*HmacKeyFormat) Descriptor deprecated

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

Deprecated: Use HmacKeyFormat.ProtoReflect.Descriptor instead.

func (*HmacKeyFormat) GetKeySize

func (x *HmacKeyFormat) GetKeySize() uint32

func (*HmacKeyFormat) GetParams

func (x *HmacKeyFormat) GetParams() *HmacParams

func (*HmacKeyFormat) GetVersion

func (x *HmacKeyFormat) GetVersion() uint32

func (*HmacKeyFormat) ProtoMessage

func (*HmacKeyFormat) ProtoMessage()

func (*HmacKeyFormat) ProtoReflect added in v1.7.0

func (x *HmacKeyFormat) ProtoReflect() protoreflect.Message

func (*HmacKeyFormat) Reset

func (x *HmacKeyFormat) Reset()

func (*HmacKeyFormat) String

func (x *HmacKeyFormat) String() string

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"` // HashType is an enum.
	TagSize uint32                   `protobuf:"varint,2,opt,name=tag_size,json=tagSize,proto3" json:"tag_size,omitempty"`
	// contains filtered or unexported fields
}

func (*HmacParams) Descriptor deprecated

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

Deprecated: Use HmacParams.ProtoReflect.Descriptor instead.

func (*HmacParams) GetHash

func (x *HmacParams) GetHash() common_go_proto.HashType

func (*HmacParams) GetTagSize

func (x *HmacParams) GetTagSize() uint32

func (*HmacParams) ProtoMessage

func (*HmacParams) ProtoMessage()

func (*HmacParams) ProtoReflect added in v1.7.0

func (x *HmacParams) ProtoReflect() protoreflect.Message

func (*HmacParams) Reset

func (x *HmacParams) Reset()

func (*HmacParams) String

func (x *HmacParams) String() string

Jump to

Keyboard shortcuts

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