Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterExpiredCerts ¶
func FilterExpiredCerts(certs ...*x509.Certificate) []*x509.Certificate
FilterExpiredCerts checks are all certificates in the bundle valid, i.e. they have not expired. The function returns new bundle with only valid certificates or error if no valid certificate is found.
func MergeCABundle ¶
MergeCABundle adds the new certificate to the list of CABundles, eliminates duplicates, and prunes the list of expired certs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.