ecdh_aead_go_proto

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyType_name = map[int32]string{
		0: "UNKNOWN_KEY_TYPE",
		1: "EC",
		2: "OKP",
	}
	KeyType_value = map[string]int32{
		"UNKNOWN_KEY_TYPE": 0,
		"EC":               1,
		"OKP":              2,
	}
)

Enum value maps for KeyType.

View Source
var File_proto_ecdh_aead_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EcdhAeadEncParams

type EcdhAeadEncParams struct {
	AeadEnc *tink_go_proto.KeyTemplate `protobuf:"bytes,1,opt,name=aead_enc,json=aeadEnc,proto3" json:"aead_enc,omitempty"`
	CEK     []byte                     `protobuf:"bytes,2,opt,name=CEK,proto3" json:"CEK,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdhAeadEncParams) Descriptor deprecated

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

Deprecated: Use EcdhAeadEncParams.ProtoReflect.Descriptor instead.

func (*EcdhAeadEncParams) GetAeadEnc

func (x *EcdhAeadEncParams) GetAeadEnc() *tink_go_proto.KeyTemplate

func (*EcdhAeadEncParams) GetCEK

func (x *EcdhAeadEncParams) GetCEK() []byte

func (*EcdhAeadEncParams) ProtoMessage

func (*EcdhAeadEncParams) ProtoMessage()

func (*EcdhAeadEncParams) ProtoReflect

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

func (*EcdhAeadEncParams) Reset

func (x *EcdhAeadEncParams) Reset()

func (*EcdhAeadEncParams) String

func (x *EcdhAeadEncParams) String() string

type EcdhAeadKeyFormat

type EcdhAeadKeyFormat struct {
	Params *EcdhAeadParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdhAeadKeyFormat) Descriptor deprecated

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

Deprecated: Use EcdhAeadKeyFormat.ProtoReflect.Descriptor instead.

func (*EcdhAeadKeyFormat) GetParams

func (x *EcdhAeadKeyFormat) GetParams() *EcdhAeadParams

func (*EcdhAeadKeyFormat) ProtoMessage

func (*EcdhAeadKeyFormat) ProtoMessage()

func (*EcdhAeadKeyFormat) ProtoReflect

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

func (*EcdhAeadKeyFormat) Reset

func (x *EcdhAeadKeyFormat) Reset()

func (*EcdhAeadKeyFormat) String

func (x *EcdhAeadKeyFormat) String() string

type EcdhAeadParams

type EcdhAeadParams struct {
	KwParams      *EcdhKwParams                 `protobuf:"bytes,1,opt,name=kw_params,json=kwParams,proto3" json:"kw_params,omitempty"`
	EncParams     *EcdhAeadEncParams            `protobuf:"bytes,2,opt,name=enc_params,json=encParams,proto3" json:"enc_params,omitempty"`
	EcPointFormat common_go_proto.EcPointFormat `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EcdhAeadParams) Descriptor deprecated

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

Deprecated: Use EcdhAeadParams.ProtoReflect.Descriptor instead.

func (*EcdhAeadParams) GetEcPointFormat

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

func (*EcdhAeadParams) GetEncParams

func (x *EcdhAeadParams) GetEncParams() *EcdhAeadEncParams

func (*EcdhAeadParams) GetKwParams

func (x *EcdhAeadParams) GetKwParams() *EcdhKwParams

func (*EcdhAeadParams) ProtoMessage

func (*EcdhAeadParams) ProtoMessage()

func (*EcdhAeadParams) ProtoReflect

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

func (*EcdhAeadParams) Reset

func (x *EcdhAeadParams) Reset()

func (*EcdhAeadParams) String

func (x *EcdhAeadParams) String() string

type EcdhAeadPrivateKey

type EcdhAeadPrivateKey struct {
	Version   uint32             `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	PublicKey *EcdhAeadPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	KeyValue  []byte             `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdhAeadPrivateKey) Descriptor deprecated

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

Deprecated: Use EcdhAeadPrivateKey.ProtoReflect.Descriptor instead.

func (*EcdhAeadPrivateKey) GetKeyValue

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

func (*EcdhAeadPrivateKey) GetPublicKey

func (x *EcdhAeadPrivateKey) GetPublicKey() *EcdhAeadPublicKey

func (*EcdhAeadPrivateKey) GetVersion

func (x *EcdhAeadPrivateKey) GetVersion() uint32

func (*EcdhAeadPrivateKey) ProtoMessage

func (*EcdhAeadPrivateKey) ProtoMessage()

func (*EcdhAeadPrivateKey) ProtoReflect

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

func (*EcdhAeadPrivateKey) Reset

func (x *EcdhAeadPrivateKey) Reset()

func (*EcdhAeadPrivateKey) String

func (x *EcdhAeadPrivateKey) String() string

type EcdhAeadPublicKey

type EcdhAeadPublicKey struct {
	Version uint32          `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Params  *EcdhAeadParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	KID     string          `protobuf:"bytes,3,opt,name=KID,proto3" json:"KID,omitempty"`
	X       []byte          `protobuf:"bytes,4,opt,name=x,proto3" json:"x,omitempty"`
	Y       []byte          `protobuf:"bytes,5,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdhAeadPublicKey) Descriptor deprecated

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

Deprecated: Use EcdhAeadPublicKey.ProtoReflect.Descriptor instead.

func (*EcdhAeadPublicKey) GetKID

func (x *EcdhAeadPublicKey) GetKID() string

func (*EcdhAeadPublicKey) GetParams

func (x *EcdhAeadPublicKey) GetParams() *EcdhAeadParams

func (*EcdhAeadPublicKey) GetVersion

func (x *EcdhAeadPublicKey) GetVersion() uint32

func (*EcdhAeadPublicKey) GetX

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

func (*EcdhAeadPublicKey) GetY

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

func (*EcdhAeadPublicKey) ProtoMessage

func (*EcdhAeadPublicKey) ProtoMessage()

func (*EcdhAeadPublicKey) ProtoReflect

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

func (*EcdhAeadPublicKey) Reset

func (x *EcdhAeadPublicKey) Reset()

func (*EcdhAeadPublicKey) String

func (x *EcdhAeadPublicKey) String() string

type EcdhKwParams

type EcdhKwParams struct {
	CurveType common_go_proto.EllipticCurveType `` /* 131-byte string literal not displayed */
	KeyType   KeyType                           `protobuf:"varint,2,opt,name=key_type,json=keyType,proto3,enum=google.crypto.tink.KeyType" json:"key_type,omitempty"`
	// contains filtered or unexported fields
}

func (*EcdhKwParams) Descriptor deprecated

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

Deprecated: Use EcdhKwParams.ProtoReflect.Descriptor instead.

func (*EcdhKwParams) GetCurveType

func (*EcdhKwParams) GetKeyType

func (x *EcdhKwParams) GetKeyType() KeyType

func (*EcdhKwParams) ProtoMessage

func (*EcdhKwParams) ProtoMessage()

func (*EcdhKwParams) ProtoReflect

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

func (*EcdhKwParams) Reset

func (x *EcdhKwParams) Reset()

func (*EcdhKwParams) String

func (x *EcdhKwParams) String() string

type KeyType

type KeyType int32
const (
	KeyType_UNKNOWN_KEY_TYPE KeyType = 0
	KeyType_EC               KeyType = 1
	KeyType_OKP              KeyType = 2
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

func (KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

func (KeyType) Type

func (KeyType) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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