Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CipherSuites = []uint16{ tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, }
SHIP 9.1: the ciphers are reported insecure but are defined to be used by SHIP
Functions ¶
func CreateCertificate ¶
func CreateCertificate(organizationalUnit, organization, country, commonName string) (tls.Certificate, error)
Create a ship compatible self signed certificate organizationalUnit is the OU of the certificate organization is the O of the certificate country is the C of the certificate commonName is the CN of the certificate Example for commonName: "deviceModel-deviceSerialNumber"
func SkiFromCertificate ¶
func SkiFromCertificate(cert *x509.Certificate) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.