ocsp

package
v0.0.0-...-58e9167 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOCSPRenew

func CheckOCSPRenew(certFile string, renewalDueOCSP int) bool

CheckOCSPRenew checks if a prepared OCSP response exists and if it is still longer valid than renewaldueocsp from config

func GetOCSPResponse

func GetOCSPResponse(certfile string) ([]byte, error)

GetOCSPResponse gathers a new OCSP response for stapling

func LoadFromFile

func LoadFromFile(certFile string) (*ocsp.Response, error)

LoadFromFile loads and parsesn an OCSP Response from a file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL