Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EcPointFormat_name = map[int32]string{
0: "UNKNOWN_FORMAT",
1: "UNCOMPRESSED",
2: "COMPRESSED",
3: "DO_NOT_USE_CRUNCHY_UNCOMPRESSED",
}
View Source
var EcPointFormat_value = map[string]int32{
"UNKNOWN_FORMAT": 0,
"UNCOMPRESSED": 1,
"COMPRESSED": 2,
"DO_NOT_USE_CRUNCHY_UNCOMPRESSED": 3,
}
View Source
var EllipticCurveType_name = map[int32]string{
0: "UNKNOWN_CURVE",
2: "NIST_P256",
3: "NIST_P384",
4: "NIST_P521",
5: "CURVE25519",
}
View Source
var EllipticCurveType_value = map[string]int32{
"UNKNOWN_CURVE": 0,
"NIST_P256": 2,
"NIST_P384": 3,
"NIST_P521": 4,
"CURVE25519": 5,
}
View Source
var HashType_name = map[int32]string{
0: "UNKNOWN_HASH",
1: "SHA1",
2: "SHA384",
3: "SHA256",
4: "SHA512",
5: "SHA224",
}
View Source
var HashType_value = map[string]int32{
"UNKNOWN_HASH": 0,
"SHA1": 1,
"SHA384": 2,
"SHA256": 3,
"SHA512": 4,
"SHA224": 5,
}
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) EnumDescriptor ¶
func (EcPointFormat) EnumDescriptor() ([]byte, []int)
func (EcPointFormat) String ¶
func (x EcPointFormat) String() string
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) EnumDescriptor ¶
func (EllipticCurveType) EnumDescriptor() ([]byte, []int)
func (EllipticCurveType) String ¶
func (x EllipticCurveType) String() string
Click to show internal directories.
Click to hide internal directories.