api/pkg/config/constants.go
Peter Kurfer 460940e4d8
Fixed TLS issue with mismatching certificates
- fixed fallback to P256 curve
- added option to configure minimal TLS version
- added option to include insecure cipher suites
2020-06-24 12:25:34 +02:00

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"
)