hkdf_prf_proto

package
v1.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 15, 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 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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*HkdfPrfKey) Descriptor

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

func (*HkdfPrfKey) GetKeyValue

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

func (*HkdfPrfKey) GetParams

func (m *HkdfPrfKey) GetParams() *HkdfPrfParams

func (*HkdfPrfKey) GetVersion

func (m *HkdfPrfKey) GetVersion() uint32

func (*HkdfPrfKey) ProtoMessage

func (*HkdfPrfKey) ProtoMessage()

func (*HkdfPrfKey) Reset

func (m *HkdfPrfKey) Reset()

func (*HkdfPrfKey) String

func (m *HkdfPrfKey) String() string

func (*HkdfPrfKey) XXX_DiscardUnknown

func (m *HkdfPrfKey) XXX_DiscardUnknown()

func (*HkdfPrfKey) XXX_Marshal

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

func (*HkdfPrfKey) XXX_Merge

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

func (*HkdfPrfKey) XXX_Size

func (m *HkdfPrfKey) XXX_Size() int

func (*HkdfPrfKey) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*HkdfPrfKeyFormat) Descriptor

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

func (*HkdfPrfKeyFormat) GetKeySize

func (m *HkdfPrfKeyFormat) GetKeySize() uint32

func (*HkdfPrfKeyFormat) GetParams

func (m *HkdfPrfKeyFormat) GetParams() *HkdfPrfParams

func (*HkdfPrfKeyFormat) GetVersion

func (m *HkdfPrfKeyFormat) GetVersion() uint32

func (*HkdfPrfKeyFormat) ProtoMessage

func (*HkdfPrfKeyFormat) ProtoMessage()

func (*HkdfPrfKeyFormat) Reset

func (m *HkdfPrfKeyFormat) Reset()

func (*HkdfPrfKeyFormat) String

func (m *HkdfPrfKeyFormat) String() string

func (*HkdfPrfKeyFormat) XXX_DiscardUnknown

func (m *HkdfPrfKeyFormat) XXX_DiscardUnknown()

func (*HkdfPrfKeyFormat) XXX_Marshal

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

func (*HkdfPrfKeyFormat) XXX_Merge

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

func (*HkdfPrfKeyFormat) XXX_Size

func (m *HkdfPrfKeyFormat) XXX_Size() int

func (*HkdfPrfKeyFormat) XXX_Unmarshal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HkdfPrfParams) Descriptor

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

func (*HkdfPrfParams) GetHash

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

func (*HkdfPrfParams) GetSalt

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

func (*HkdfPrfParams) ProtoMessage

func (*HkdfPrfParams) ProtoMessage()

func (*HkdfPrfParams) Reset

func (m *HkdfPrfParams) Reset()

func (*HkdfPrfParams) String

func (m *HkdfPrfParams) String() string

func (*HkdfPrfParams) XXX_DiscardUnknown

func (m *HkdfPrfParams) XXX_DiscardUnknown()

func (*HkdfPrfParams) XXX_Marshal

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

func (*HkdfPrfParams) XXX_Merge

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

func (*HkdfPrfParams) XXX_Size

func (m *HkdfPrfParams) XXX_Size() int

func (*HkdfPrfParams) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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