Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
func Fingerprint(cert *x509.Certificate) string
func FingerprintPEM ¶
FingerprintPEM parses a PEM certificate and returns its fingerprint.
func ValidateFingerprint ¶ added in v0.3.0
ValidateFingerprint checks that s is a well-formed certificate fingerprint: the "SHA256:" prefix followed by base64 of exactly 32 bytes, matching the form Fingerprint produces.
Types ¶
type CA ¶
type CA struct {
Cert *x509.Certificate
Key ed25519.PrivateKey
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.