assets

package
v1.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CipherDataBin string
View Source
var CipherSecLevel map[string]string = map[string]string{}

CipherSecLevel contains cipher and its security level Source: https://ciphersuite.info/

View Source
var RootCerts []*x509.Certificate

RootCerts contains root certificates, parsed from rootCertDataBin

Functions

func GetInSecureCipherSuites

func GetInSecureCipherSuites() []string

GetInSecureCipherSuites returns Ciphers with status `Insecure`. Insecure Ciphers either uses no authentication at all or does not provide confidentiality Ex: https://ciphersuite.info/cs/TLS_NULL_WITH_NULL_NULL/

func GetSecureCipherSuites

func GetSecureCipherSuites() []string

GetSecureCiphers returns Ciphers with status `Recommended` and `Secure` Ex: https://ciphersuite.info/cs/TLS_AES_128_CCM_8_SHA256/

func GetWeakCipherSuites

func GetWeakCipherSuites() []string

GetWeakCipherSuites returns Ciphers with status `Weak`. Weak Cipher suites use algorithms that are proven to be weak or can be broken Ex: https://ciphersuite.info/cs/TLS_RSA_WITH_AES_256_CBC_SHA/

func IsRootCert added in v1.1.1

func IsRootCert(cert *x509.Certificate) bool

IsRootCert checks if cert is root certificate

func ParseCertificates added in v1.1.1

func ParseCertificates(data []byte) ([]*x509.Certificate, error)

ParseCertificates parses certificates from data

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL