Documentation ¶
Index ¶
- Variables
- type EcdhAeadEncParams
- func (*EcdhAeadEncParams) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhAeadEncParams) GetAeadEnc() *tink_go_proto.KeyTemplate
- func (x *EcdhAeadEncParams) GetCEK() []byte
- func (*EcdhAeadEncParams) ProtoMessage()
- func (x *EcdhAeadEncParams) ProtoReflect() protoreflect.Message
- func (x *EcdhAeadEncParams) Reset()
- func (x *EcdhAeadEncParams) String() string
- type EcdhAeadKeyFormat
- func (*EcdhAeadKeyFormat) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhAeadKeyFormat) GetParams() *EcdhAeadParams
- func (*EcdhAeadKeyFormat) ProtoMessage()
- func (x *EcdhAeadKeyFormat) ProtoReflect() protoreflect.Message
- func (x *EcdhAeadKeyFormat) Reset()
- func (x *EcdhAeadKeyFormat) String() string
- type EcdhAeadParams
- func (*EcdhAeadParams) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhAeadParams) GetEcPointFormat() common_go_proto.EcPointFormat
- func (x *EcdhAeadParams) GetEncParams() *EcdhAeadEncParams
- func (x *EcdhAeadParams) GetKwParams() *EcdhKwParams
- func (*EcdhAeadParams) ProtoMessage()
- func (x *EcdhAeadParams) ProtoReflect() protoreflect.Message
- func (x *EcdhAeadParams) Reset()
- func (x *EcdhAeadParams) String() string
- type EcdhAeadPrivateKey
- func (*EcdhAeadPrivateKey) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhAeadPrivateKey) GetKeyValue() []byte
- func (x *EcdhAeadPrivateKey) GetPublicKey() *EcdhAeadPublicKey
- func (x *EcdhAeadPrivateKey) GetVersion() uint32
- func (*EcdhAeadPrivateKey) ProtoMessage()
- func (x *EcdhAeadPrivateKey) ProtoReflect() protoreflect.Message
- func (x *EcdhAeadPrivateKey) Reset()
- func (x *EcdhAeadPrivateKey) String() string
- type EcdhAeadPublicKey
- func (*EcdhAeadPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhAeadPublicKey) GetKID() string
- func (x *EcdhAeadPublicKey) GetParams() *EcdhAeadParams
- func (x *EcdhAeadPublicKey) GetVersion() uint32
- func (x *EcdhAeadPublicKey) GetX() []byte
- func (x *EcdhAeadPublicKey) GetY() []byte
- func (*EcdhAeadPublicKey) ProtoMessage()
- func (x *EcdhAeadPublicKey) ProtoReflect() protoreflect.Message
- func (x *EcdhAeadPublicKey) Reset()
- func (x *EcdhAeadPublicKey) String() string
- type EcdhKwParams
- func (*EcdhKwParams) Descriptor() ([]byte, []int)deprecated
- func (x *EcdhKwParams) GetCurveType() common_go_proto.EllipticCurveType
- func (x *EcdhKwParams) GetKeyType() KeyType
- func (*EcdhKwParams) ProtoMessage()
- func (x *EcdhKwParams) ProtoReflect() protoreflect.Message
- func (x *EcdhKwParams) Reset()
- func (x *EcdhKwParams) String() string
- type KeyType
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 ¶ added in v0.1.6
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 ¶ added in v0.1.6
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 ¶ added in v0.1.6
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 ¶ added in v0.1.6
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 ¶ added in v0.1.6
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 (x *EcdhKwParams) GetCurveType() common_go_proto.EllipticCurveType
func (*EcdhKwParams) GetKeyType ¶
func (x *EcdhKwParams) GetKeyType() KeyType
func (*EcdhKwParams) ProtoMessage ¶
func (*EcdhKwParams) ProtoMessage()
func (*EcdhKwParams) ProtoReflect ¶ added in v0.1.6
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
func (KeyType) Descriptor ¶ added in v0.1.6
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶ added in v0.1.6
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶ added in v0.1.6
func (KeyType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.