package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
CipherSuitesToNamesOrDie given a list of cipher suites as ints, return their readable names.
CipherSuiteToNameOrDie given a cipher suite as an int, return its readable name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnsureCA returns a CA, whether it was created (as opposed to pre-existing), and any error if serialFile is empty, a RandomSerialGenerator will be used.
FilterExpiredCerts checks are all certificates in the bundle valid, i.e.
if serialFile is empty, a RandomSerialGenerator will be used.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TLS versions that are known to golang, but may not necessarily be enabled.
No description provided by the author
No description provided by the author
if serialFile is empty, a RandomSerialGenerator will be used.
No description provided by the author
No description provided by the author
No description provided by the author
Can be used as a certificate in http.Transport TLSClientConfig.
Can be used as a certificate in http.Transport TLSClientConfig.
No description provided by the author
No description provided by the author
OpenSSLToIANACipherSuites maps input OpenSSL Cipher Suite names to their IANA counterparts.
SecureTLSConfig enforces the default minimum security settings for the cluster.
No description provided by the author
No description provided by the author
TLSVersionToNameOrDie given a tls version as an int, return its readable name.
No description provided by the author
No description provided by the author
No description provided by the author
Returns the build enabled TLS versions.
# Structs
No description provided by the author
RandomSerialGenerator returns a serial based on time.Now and the subject.
SerialFileGenerator returns a unique, monotonically increasing serial number and ensures the CA on disk records that value.
No description provided by the author
No description provided by the author
# Interfaces
SerialGenerator is an interface for getting a serial number for the cert.
# Type aliases
CertificateExtensionFunc is passed a certificate that it may extend, or return an error if the extension attempt failed.