Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerSideTLSConfiguration = `` /* 7942-byte string literal not displayed */
saved TLS configurations, used as backup if online version is not available
Functions ¶
func Evaluate ¶
func Evaluate(connInfo connection.Stored, cert certificate.Certificate) ([]byte, error)
Evaluate runs compliance checks of the provided json Stored connection and returns the results
Types ¶
type Configuration ¶
type Configuration struct { OpenSSLCiphersuites string `json:"openssl_ciphersuites"` Ciphersuites []string `json:"ciphersuites"` TLSVersions []string `json:"tls_versions"` TLSCurves []string `json:"tls_curves"` CertificateTypes []string `json:"certificate_types"` CertificateCurves []string `json:"certificate_curves"` CertificateSignatures []string `json:"certificate_signatures"` RsaKeySize float64 `json:"rsa_key_size"` DHParamSize float64 `json:"dh_param_size"` ECDHParamSize float64 `json:"ecdh_param_size"` HstsMinAge float64 `json:"hsts_min_age"` OldestClients []string `json:"oldest_clients"` }
Configuration represents configurations levels declared by the Mozilla server-side-tls see https://wiki.mozilla.org/Security/Server_Side_TLS
type EvaluationResults ¶
type EvaluationResults struct { Level string `json:"level"` Failures map[string][]string `json:"failures"` }
EvaluationResults contains the results of the mozillaEvaluationWorker
type ServerSideTLSJson ¶
type ServerSideTLSJson struct { Configurations map[string]Configuration `json:"configurations"` Version float64 `json:"version"` }
ServerSideTLSJson contains all the available configurations and the version of the current document.
Click to show internal directories.
Click to hide internal directories.