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

package ecies_aead_hkdf_go_proto

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

Index

Variables

var File_third_party_tink_proto_ecies_aead_hkdf_proto protoreflect.FileDescriptor

Types

type EciesAeadDemParams

type EciesAeadDemParams struct {

	// Required.
	// Contains an Aead or DeterministicAead key format (e.g:
	// AesCtrHmacAeadKeyFormat, AesGcmKeyFormat or AesSivKeyFormat).
	AeadDem *tink_go_proto.KeyTemplate `protobuf:"bytes,2,opt,name=aead_dem,json=aeadDem,proto3" json:"aead_dem,omitempty"`
	// contains filtered or unexported fields
}

Parameters of AEAD DEM (Data Encapsulation Mechanism).

func (*EciesAeadDemParams) Descriptor

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

Deprecated: Use EciesAeadDemParams.ProtoReflect.Descriptor instead.

func (*EciesAeadDemParams) GetAeadDem

func (x *EciesAeadDemParams) GetAeadDem() *tink_go_proto.KeyTemplate

func (*EciesAeadDemParams) ProtoMessage

func (*EciesAeadDemParams) ProtoMessage()

func (*EciesAeadDemParams) ProtoReflect

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

func (*EciesAeadDemParams) Reset

func (x *EciesAeadDemParams) Reset()

func (*EciesAeadDemParams) String

func (x *EciesAeadDemParams) String() string

type EciesAeadHkdfKeyFormat

type EciesAeadHkdfKeyFormat struct {

	// Required.
	Params *EciesAeadHkdfParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*EciesAeadHkdfKeyFormat) Descriptor

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

Deprecated: Use EciesAeadHkdfKeyFormat.ProtoReflect.Descriptor instead.

func (*EciesAeadHkdfKeyFormat) GetParams

func (*EciesAeadHkdfKeyFormat) ProtoMessage

func (*EciesAeadHkdfKeyFormat) ProtoMessage()

func (*EciesAeadHkdfKeyFormat) ProtoReflect

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

func (*EciesAeadHkdfKeyFormat) Reset

func (x *EciesAeadHkdfKeyFormat) Reset()

func (*EciesAeadHkdfKeyFormat) String

func (x *EciesAeadHkdfKeyFormat) String() string

type EciesAeadHkdfParams

type EciesAeadHkdfParams struct {

	// Key Encapsulation Mechanism.
	// Required.
	KemParams *EciesHkdfKemParams `protobuf:"bytes,1,opt,name=kem_params,json=kemParams,proto3" json:"kem_params,omitempty"`
	// Data Encapsulation Mechanism.
	// Required.
	DemParams *EciesAeadDemParams `protobuf:"bytes,2,opt,name=dem_params,json=demParams,proto3" json:"dem_params,omitempty"`
	// EC point format.
	// Required.
	EcPointFormat common_go_proto.EcPointFormat `protobuf:"varint,3,opt,name=ec_point_format,json=ecPointFormat,proto3,enum=google.crypto.tink.EcPointFormat" json:"ec_point_format,omitempty"`
	// contains filtered or unexported fields
}

func (*EciesAeadHkdfParams) Descriptor

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

Deprecated: Use EciesAeadHkdfParams.ProtoReflect.Descriptor instead.

func (*EciesAeadHkdfParams) GetDemParams

func (x *EciesAeadHkdfParams) GetDemParams() *EciesAeadDemParams

func (*EciesAeadHkdfParams) GetEcPointFormat

func (x *EciesAeadHkdfParams) GetEcPointFormat() common_go_proto.EcPointFormat

func (*EciesAeadHkdfParams) GetKemParams

func (x *EciesAeadHkdfParams) GetKemParams() *EciesHkdfKemParams

func (*EciesAeadHkdfParams) ProtoMessage

func (*EciesAeadHkdfParams) ProtoMessage()

func (*EciesAeadHkdfParams) ProtoReflect

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

func (*EciesAeadHkdfParams) Reset

func (x *EciesAeadHkdfParams) Reset()

func (*EciesAeadHkdfParams) String

func (x *EciesAeadHkdfParams) String() string

type EciesAeadHkdfPrivateKey

type EciesAeadHkdfPrivateKey struct {

	// Required.
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required.
	PublicKey *EciesAeadHkdfPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// Required.
	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // Big integer in bigendian representation.
	// contains filtered or unexported fields
}

EciesKdfAeadPrivateKey represents HybridDecryption primitive. key_type: type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey

func (*EciesAeadHkdfPrivateKey) Descriptor

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

Deprecated: Use EciesAeadHkdfPrivateKey.ProtoReflect.Descriptor instead.

func (*EciesAeadHkdfPrivateKey) GetKeyValue

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

func (*EciesAeadHkdfPrivateKey) GetPublicKey

func (*EciesAeadHkdfPrivateKey) GetVersion

func (x *EciesAeadHkdfPrivateKey) GetVersion() uint32

func (*EciesAeadHkdfPrivateKey) ProtoMessage

func (*EciesAeadHkdfPrivateKey) ProtoMessage()

func (*EciesAeadHkdfPrivateKey) ProtoReflect

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

func (*EciesAeadHkdfPrivateKey) Reset

func (x *EciesAeadHkdfPrivateKey) Reset()

func (*EciesAeadHkdfPrivateKey) String

func (x *EciesAeadHkdfPrivateKey) String() string

type EciesAeadHkdfPublicKey

type EciesAeadHkdfPublicKey struct {

	// Required.
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required.
	Params *EciesAeadHkdfParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// Affine coordinates of the public key in bigendian representation.
	// The public key is a point (x, y) on the curve defined by
	// params.kem_params.curve. Required.
	X []byte `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
	// Required.
	Y []byte `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

EciesAeadHkdfPublicKey represents HybridEncryption primitive. key_type: type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey

func (*EciesAeadHkdfPublicKey) Descriptor

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

Deprecated: Use EciesAeadHkdfPublicKey.ProtoReflect.Descriptor instead.

func (*EciesAeadHkdfPublicKey) GetParams

func (*EciesAeadHkdfPublicKey) GetVersion

func (x *EciesAeadHkdfPublicKey) GetVersion() uint32

func (*EciesAeadHkdfPublicKey) GetX

func (x *EciesAeadHkdfPublicKey) GetX() []byte

func (*EciesAeadHkdfPublicKey) GetY

func (x *EciesAeadHkdfPublicKey) GetY() []byte

func (*EciesAeadHkdfPublicKey) ProtoMessage

func (*EciesAeadHkdfPublicKey) ProtoMessage()

func (*EciesAeadHkdfPublicKey) ProtoReflect

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

func (*EciesAeadHkdfPublicKey) Reset

func (x *EciesAeadHkdfPublicKey) Reset()

func (*EciesAeadHkdfPublicKey) String

func (x *EciesAeadHkdfPublicKey) String() string

type EciesHkdfKemParams

type EciesHkdfKemParams struct {

	// Required.
	CurveType common_go_proto.EllipticCurveType `protobuf:"varint,1,opt,name=curve_type,json=curveType,proto3,enum=google.crypto.tink.EllipticCurveType" json:"curve_type,omitempty"`
	// Required.
	HkdfHashType common_go_proto.HashType `protobuf:"varint,2,opt,name=hkdf_hash_type,json=hkdfHashType,proto3,enum=google.crypto.tink.HashType" json:"hkdf_hash_type,omitempty"`
	// Optional.
	HkdfSalt []byte `protobuf:"bytes,11,opt,name=hkdf_salt,json=hkdfSalt,proto3" json:"hkdf_salt,omitempty"`
	// contains filtered or unexported fields
}

Parameters of KEM (Key Encapsulation Mechanism)

func (*EciesHkdfKemParams) Descriptor

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

Deprecated: Use EciesHkdfKemParams.ProtoReflect.Descriptor instead.

func (*EciesHkdfKemParams) GetCurveType

func (*EciesHkdfKemParams) GetHkdfHashType

func (x *EciesHkdfKemParams) GetHkdfHashType() common_go_proto.HashType

func (*EciesHkdfKemParams) GetHkdfSalt

func (x *EciesHkdfKemParams) GetHkdfSalt() []byte

func (*EciesHkdfKemParams) ProtoMessage

func (*EciesHkdfKemParams) ProtoMessage()

func (*EciesHkdfKemParams) ProtoReflect

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

func (*EciesHkdfKemParams) Reset

func (x *EciesHkdfKemParams) Reset()

func (*EciesHkdfKemParams) String

func (x *EciesHkdfKemParams) String() string

Source Files

ecies_aead_hkdf.pb.go

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

Tools for package owners.