...

Package ocsp_test

import "github.com/letsencrypt/boulder/ocsp/test"
Overview
Index

Overview ▾

func FakeResponse

func FakeResponse(template ocsp.Response) (*ocsp.Response, *x509.Certificate, error)

FakeResponse signs and then parses an OCSP response, using fields from the input template. To do so, it generates a new signing key and makes an issuer certificate.