gogithub.com/google/tink/go/proto/hkdf_prf_go_proto Index | Files

package hkdf_prf_proto

import "github.com/google/tink/go/proto/hkdf_prf_go_proto"

Index

Variables

var File_third_party_tink_proto_hkdf_prf_proto protoreflect.FileDescriptor

Types

type HkdfPrfKey

type HkdfPrfKey struct {
	Version  uint32         `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Params   *HkdfPrfParams `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
}

func (*HkdfPrfKey) Descriptor

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

Deprecated: Use HkdfPrfKey.ProtoReflect.Descriptor instead.

func (*HkdfPrfKey) GetKeyValue

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

func (*HkdfPrfKey) GetParams

func (x *HkdfPrfKey) GetParams() *HkdfPrfParams

func (*HkdfPrfKey) GetVersion

func (x *HkdfPrfKey) GetVersion() uint32

func (*HkdfPrfKey) ProtoMessage

func (*HkdfPrfKey) ProtoMessage()

func (*HkdfPrfKey) ProtoReflect

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

func (*HkdfPrfKey) Reset

func (x *HkdfPrfKey) Reset()

func (*HkdfPrfKey) String

func (x *HkdfPrfKey) String() string

type HkdfPrfKeyFormat

type HkdfPrfKeyFormat struct {
	Params  *HkdfPrfParams `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 (*HkdfPrfKeyFormat) Descriptor

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

Deprecated: Use HkdfPrfKeyFormat.ProtoReflect.Descriptor instead.

func (*HkdfPrfKeyFormat) GetKeySize

func (x *HkdfPrfKeyFormat) GetKeySize() uint32

func (*HkdfPrfKeyFormat) GetParams

func (x *HkdfPrfKeyFormat) GetParams() *HkdfPrfParams

func (*HkdfPrfKeyFormat) GetVersion

func (x *HkdfPrfKeyFormat) GetVersion() uint32

func (*HkdfPrfKeyFormat) ProtoMessage

func (*HkdfPrfKeyFormat) ProtoMessage()

func (*HkdfPrfKeyFormat) ProtoReflect

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

func (*HkdfPrfKeyFormat) Reset

func (x *HkdfPrfKeyFormat) Reset()

func (*HkdfPrfKeyFormat) String

func (x *HkdfPrfKeyFormat) String() string

type HkdfPrfParams

type HkdfPrfParams struct {
	Hash common_go_proto.HashType `protobuf:"varint,1,opt,name=hash,proto3,enum=google.crypto.tink.HashType" json:"hash,omitempty"`
	// Salt, optional in RFC 5869. Using "" is equivalent to zeros of length up to
	// the block length of the HMac.
	Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*HkdfPrfParams) Descriptor

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

Deprecated: Use HkdfPrfParams.ProtoReflect.Descriptor instead.

func (*HkdfPrfParams) GetHash

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

func (*HkdfPrfParams) GetSalt

func (x *HkdfPrfParams) GetSalt() []byte

func (*HkdfPrfParams) ProtoMessage

func (*HkdfPrfParams) ProtoMessage()

func (*HkdfPrfParams) ProtoReflect

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

func (*HkdfPrfParams) Reset

func (x *HkdfPrfParams) Reset()

func (*HkdfPrfParams) String

func (x *HkdfPrfParams) String() string

Source Files

hkdf_prf.pb.go

Version
v1.7.0 (latest)
Published
Aug 10, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
3 months ago

Tools for package owners.