Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckJSON ¶
func CheckJSON(ctx context.Context, config *DownloadConfig, ca *x509.Certificate, jsonBytes []byte) error
Types ¶
type RevocationList ¶
type RevocationList struct {
PublishedAt time.Time
Certificates []RevokedCertificate
NumBytes int
}
func DownloadCRL ¶
func DownloadCRL(ctx context.Context, config *DownloadConfig, ca *x509.Certificate, url string) (*RevocationList, error)
func ParseRevocationList ¶
func ParseRevocationList(der []byte, ca *x509.Certificate, uri string) (*RevocationList, error)
Source Files
¶
- download.go
- json.go
- parse.go
Click to show internal directories.
Click to hide internal directories.