package tls
import
func () {
var [1]struct{}
_ = [PKCS1WithSHA256-1025]
_ = [PKCS1WithSHA384-1281]
_ = [PKCS1WithSHA512-1537]
_ = [PSSWithSHA256-2052]
_ = [PSSWithSHA384-2053]
_ = [PSSWithSHA512-2054]
_ = [ECDSAWithP256AndSHA256-1027]
_ = [ECDSAWithP384AndSHA384-1283]
_ = [ECDSAWithP521AndSHA512-1539]
_ = [Ed25519-2055]
_ = [PKCS1WithSHA1-513]
_ = [ECDSAWithSHA1-515]
}
const (
_SignatureScheme_name_0 = "PKCS1WithSHA1"
_SignatureScheme_name_1 = "ECDSAWithSHA1"
_SignatureScheme_name_2 = "PKCS1WithSHA256"
_SignatureScheme_name_3 = "ECDSAWithP256AndSHA256"
_SignatureScheme_name_4 = "PKCS1WithSHA384"
_SignatureScheme_name_5 = "ECDSAWithP384AndSHA384"
_SignatureScheme_name_6 = "PKCS1WithSHA512"
_SignatureScheme_name_7 = "ECDSAWithP521AndSHA512"
_SignatureScheme_name_8 = "PSSWithSHA256PSSWithSHA384PSSWithSHA512Ed25519"
)
var (
_SignatureScheme_index_8 = [...]uint8{0, 13, 26, 39, 46}
)
func ( SignatureScheme) () string {
switch {
case == 513:
return _SignatureScheme_name_0
case == 515:
return _SignatureScheme_name_1
case == 1025:
return _SignatureScheme_name_2
case == 1027:
return _SignatureScheme_name_3
case == 1281:
return _SignatureScheme_name_4
case == 1283:
return _SignatureScheme_name_5
case == 1537:
return _SignatureScheme_name_6
case == 1539:
return _SignatureScheme_name_7
case 2052 <= && <= 2055:
-= 2052
return _SignatureScheme_name_8[_SignatureScheme_index_8[]:_SignatureScheme_index_8[+1]]
default:
return "SignatureScheme(" + strconv.FormatInt(int64(), 10) + ")"
}
}
func () {
var [1]struct{}
_ = [CurveP256-23]
_ = [CurveP384-24]
_ = [CurveP521-25]
_ = [X25519-29]
}
const (
_CurveID_name_0 = "CurveP256CurveP384CurveP521"
_CurveID_name_1 = "X25519"
)
var (
_CurveID_index_0 = [...]uint8{0, 9, 18, 27}
)
func ( CurveID) () string {
switch {
case 23 <= && <= 25:
-= 23
return _CurveID_name_0[_CurveID_index_0[]:_CurveID_index_0[+1]]
case == 29:
return _CurveID_name_1
default:
return "CurveID(" + strconv.FormatInt(int64(), 10) + ")"
}
}
func () {
var [1]struct{}
_ = [NoClientCert-0]
_ = [RequestClientCert-1]
_ = [RequireAnyClientCert-2]
_ = [VerifyClientCertIfGiven-3]
_ = [RequireAndVerifyClientCert-4]
}
const _ClientAuthType_name = "NoClientCertRequestClientCertRequireAnyClientCertVerifyClientCertIfGivenRequireAndVerifyClientCert"
var _ClientAuthType_index = [...]uint8{0, 12, 29, 49, 72, 98}
func ( ClientAuthType) () string {
if < 0 || >= ClientAuthType(len(_ClientAuthType_index)-1) {
return "ClientAuthType(" + strconv.FormatInt(int64(), 10) + ")"
}
return _ClientAuthType_name[_ClientAuthType_index[]:_ClientAuthType_index[+1]]
}