Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTrustState ¶
func CheckTrustState(cert x509.Certificate, trustedCertFingerprints []string) (bool, string)
CheckTrustState checks whether the given client certificate is trusted (i.e. it has a valid time span and it belongs to the given list of trusted certificates). Returns whether or not the certificate is trusted, and the fingerprint of the certificate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.