Documentation ¶
Index ¶
- Variables
- type EcPointFormat
- func (EcPointFormat) Descriptor() protoreflect.EnumDescriptor
- func (x EcPointFormat) Enum() *EcPointFormat
- func (EcPointFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x EcPointFormat) Number() protoreflect.EnumNumber
- func (x EcPointFormat) String() string
- func (EcPointFormat) Type() protoreflect.EnumType
- type EllipticCurveType
- func (EllipticCurveType) Descriptor() protoreflect.EnumDescriptor
- func (x EllipticCurveType) Enum() *EllipticCurveType
- func (EllipticCurveType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EllipticCurveType) Number() protoreflect.EnumNumber
- func (x EllipticCurveType) String() string
- func (EllipticCurveType) Type() protoreflect.EnumType
- type HashType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EllipticCurveType_name = map[int32]string{ 0: "UNKNOWN_CURVE", 2: "NIST_P256", 3: "NIST_P384", 4: "NIST_P521", 5: "CURVE25519", } EllipticCurveType_value = map[string]int32{ "UNKNOWN_CURVE": 0, "NIST_P256": 2, "NIST_P384": 3, "NIST_P521": 4, "CURVE25519": 5, } )
Enum value maps for EllipticCurveType.
View Source
var ( EcPointFormat_name = map[int32]string{ 0: "UNKNOWN_FORMAT", 1: "UNCOMPRESSED", 2: "COMPRESSED", 3: "DO_NOT_USE_CRUNCHY_UNCOMPRESSED", } EcPointFormat_value = map[string]int32{ "UNKNOWN_FORMAT": 0, "UNCOMPRESSED": 1, "COMPRESSED": 2, "DO_NOT_USE_CRUNCHY_UNCOMPRESSED": 3, } )
Enum value maps for EcPointFormat.
View Source
var ( HashType_name = map[int32]string{ 0: "UNKNOWN_HASH", 1: "SHA1", 2: "SHA384", 3: "SHA256", 4: "SHA512", 5: "SHA224", } HashType_value = map[string]int32{ "UNKNOWN_HASH": 0, "SHA1": 1, "SHA384": 2, "SHA256": 3, "SHA512": 4, "SHA224": 5, } )
Enum value maps for HashType.
View Source
var File_third_party_tink_proto_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EcPointFormat ¶
type EcPointFormat int32
const ( EcPointFormat_UNKNOWN_FORMAT EcPointFormat = 0 EcPointFormat_UNCOMPRESSED EcPointFormat = 1 EcPointFormat_COMPRESSED EcPointFormat = 2 // Like UNCOMPRESSED but without the \x04 prefix. Crunchy uses this format. // DO NOT USE unless you are a Crunchy user moving to Tink. EcPointFormat_DO_NOT_USE_CRUNCHY_UNCOMPRESSED EcPointFormat = 3 )
func (EcPointFormat) Descriptor ¶ added in v1.7.0
func (EcPointFormat) Descriptor() protoreflect.EnumDescriptor
func (EcPointFormat) Enum ¶ added in v1.7.0
func (x EcPointFormat) Enum() *EcPointFormat
func (EcPointFormat) EnumDescriptor
deprecated
func (EcPointFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use EcPointFormat.Descriptor instead.
func (EcPointFormat) Number ¶ added in v1.7.0
func (x EcPointFormat) Number() protoreflect.EnumNumber
func (EcPointFormat) String ¶
func (x EcPointFormat) String() string
func (EcPointFormat) Type ¶ added in v1.7.0
func (EcPointFormat) Type() protoreflect.EnumType
type EllipticCurveType ¶
type EllipticCurveType int32
const ( EllipticCurveType_UNKNOWN_CURVE EllipticCurveType = 0 EllipticCurveType_NIST_P256 EllipticCurveType = 2 EllipticCurveType_NIST_P384 EllipticCurveType = 3 EllipticCurveType_NIST_P521 EllipticCurveType = 4 EllipticCurveType_CURVE25519 EllipticCurveType = 5 )
func (EllipticCurveType) Descriptor ¶ added in v1.7.0
func (EllipticCurveType) Descriptor() protoreflect.EnumDescriptor
func (EllipticCurveType) Enum ¶ added in v1.7.0
func (x EllipticCurveType) Enum() *EllipticCurveType
func (EllipticCurveType) EnumDescriptor
deprecated
func (EllipticCurveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EllipticCurveType.Descriptor instead.
func (EllipticCurveType) Number ¶ added in v1.7.0
func (x EllipticCurveType) Number() protoreflect.EnumNumber
func (EllipticCurveType) String ¶
func (x EllipticCurveType) String() string
func (EllipticCurveType) Type ¶ added in v1.7.0
func (EllipticCurveType) Type() protoreflect.EnumType
type HashType ¶
type HashType int32
func (HashType) Descriptor ¶ added in v1.7.0
func (HashType) Descriptor() protoreflect.EnumDescriptor
func (HashType) EnumDescriptor
deprecated
func (HashType) Number ¶ added in v1.7.0
func (x HashType) Number() protoreflect.EnumNumber
func (HashType) Type ¶ added in v1.7.0
func (HashType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.