Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VersionRequestURL ¶
func VersionRequestURL() string
VersionRequestURL returns a URL from which the current CRLSet version information can be fetched.
Types ¶
type CRLSet ¶
type CRLSet struct { Version string IssuerLists map[string]*IssuerList Sequence int NumParents int BlockedSPKIs []string }
CRLSet - data structure for storing CRLSet data, used by methods below
func FetchAndParse ¶
FetchAndParse - fetch from distribution point, parse to CRLSet struct as defined above
type CRLSetHeader ¶
CRLSetHeader is used to parse the JSON header found in CRLSet files.
type IssuerList ¶
IssuerList - list of revoked certificate entries for a given issuer
type Provider ¶
Provider specifies CRLSet provider interface
func NewProvider ¶
NewProvider returns default Provider
type RawCRLSetSerial ¶
RawCRLSetSerial - structure of certificate serial number in a raw CRLSet entry
type RawEntry ¶
type RawEntry struct { SPKIHash [32]byte // SHA256 of Issuer SPKI NumSerials uint32 Serials []RawCRLSetSerial }
RawEntry - structure for a raw CRLSet entry
Click to show internal directories.
Click to hide internal directories.