Peter Kurfer
460940e4d8
- fixed fallback to P256 curve - added option to configure minimal TLS version - added option to include insecure cipher suites
17 lines
421 B
Go
17 lines
421 B
Go
package config
|
|
|
|
const (
|
|
EndpointsKey = "endpoints"
|
|
OptionsKey = "options"
|
|
|
|
CurveTypeP224 CurveType = "P224"
|
|
CurveTypeP256 CurveType = "P256"
|
|
CurveTypeP384 CurveType = "P384"
|
|
CurveTypeP521 CurveType = "P521"
|
|
CurveTypeED25519 CurveType = "ED25519"
|
|
|
|
TLSVersionSSL3 TLSVersion = "SSL3"
|
|
TLSVersionTLS10 TLSVersion = "TLS10"
|
|
TLSVersionTLS11 TLSVersion = "TLS11"
|
|
TLSVersionTLS12 TLSVersion = "TLS12"
|
|
)
|