Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func (*Checker) CheckCert ¶
func (c *Checker) CheckCert(leaf, issuer *x509.Certificate, opts Options) *RevocationInfo
type RevocationInfo ¶
type RevocationInfo struct {
OverallStatus string `json:"overall_status" yaml:"overall_status"`
CheckedAt string `json:"checked_at,omitempty" yaml:"checked_at,omitempty"`
Results []RevocationResult `json:"results,omitempty" yaml:"results,omitempty"`
}
type RevocationResult ¶
type RevocationResult struct {
Method string `json:"method" yaml:"method"`
Status string `json:"status" yaml:"status"`
ResponderURL string `json:"responder_url,omitempty" yaml:"responder_url,omitempty"`
RevokedAt string `json:"revoked_at,omitempty" yaml:"revoked_at,omitempty"`
Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
Error string `json:"error,omitempty" yaml:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.