Documentation ¶
Overview ¶
Package repo gathers and maintains OCSP responses
Index ¶
Constants ¶
View Source
const UnknownIssuerError = OcspStoreError("unknown issuer")
View Source
const UpstreamError = OcspStoreError("upstream")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressedResponse ¶
func NewCompressedResponseFromBinaryString ¶
func NewCompressedResponseFromBinaryString(s string, serial storage.Serial) (CompressedResponse, error)
func NewCompressedResponseFromRawResponseAndHeaders ¶
func NewCompressedResponseFromRawResponseAndHeaders(RawResp []byte, headers map[string]string) (*CompressedResponse, error)
func (*CompressedResponse) BinaryString ¶
func (cr *CompressedResponse) BinaryString() (string, error)
func (*CompressedResponse) Headers ¶
func (cr *CompressedResponse) Headers() map[string]string
type OcspStore ¶
type OcspStore struct {
// contains filtered or unexported fields
}
func NewOcspStore ¶
func (*OcspStore) AddFetcherForIssuer ¶
type OcspStoreError ¶
type OcspStoreError string
func (OcspStoreError) Error ¶
func (e OcspStoreError) Error() string
func (OcspStoreError) OcspStoreError ¶
func (OcspStoreError) OcspStoreError()
Click to show internal directories.
Click to hide internal directories.