Documentation ¶
Overview ¶
Package certs provides splice provisioning support for certificate generation, lookup and verification during the provisioning process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Intermediates cert pool to be used for validating cert intermediates Intermediates = x509.NewCertPool() // Roots cert pool to be used for validating cert roots Roots = x509.NewCertPool() )
Functions ¶
func Fingerprint ¶ added in v1.1.0
Fingerprint generates a sha256 certificate fingerprint
Types ¶
type Certificate ¶ added in v1.1.0
type Certificate struct { Cert *x509.Certificate Decrypter crypto.Decrypter Key interface{} }
Certificate holds a host certificate including the x509 certificate and its corresponding key.
Click to show internal directories.
Click to hide internal directories.