package
0.0.0-20211021182516-bd7519246422
Repository: https://github.com/rdoorn/gohelper.git
Documentation: pkg.go.dev

# Functions

AddCertificate adds a certificate to an existing config, based on TLSConfig.
GetOCSPResult collects the required certificates and handles the OCSP call.
LoadCertificate loads the user definable config and returns the tls.Config.
OCSPHandler refreshes OCSP staple if expired or not present.
RenewOCSP renews the OCSP reply Caveat - the expiry time is that of the shortest certificate.

# Variables

TLSCipherLookup is a lookup table for TLS Cipher ID.
TLSClientAuthLookup is a lookup table for TLS Client Auth.
TLSCurveLookup is a lookup table for TLS Curve ID.
TLSRenegotiateLookup is a lookup table for TLS renegotiate ID.
TLSVersionLookup is a lookup table for TLS Version ID.

# Structs

TLSConfig is user definable config for TLS.