Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSCAMasterList ¶
CSCAMasterList represents a master list of Country Signing Certificate Authority (CSCA). See https://pkddownloadsg.icao.int/ for more info.
func ExtractMasterLists ¶
func ExtractMasterLists(rawData [][]byte) ([]CSCAMasterList, error)
ExtractMasterLists extracts CSCA master lists from raw LDIF data
func (CSCAMasterList) ToX509 ¶
func (ml CSCAMasterList) ToX509() ([]*x509.Certificate, error)
ToX509 converts to X.509 certificates, ignoring x509.NonFatalErrors
type LDIF ¶
type LDIF interface { ToX509() []*x509.Certificate ToPem() []string RawPubKeys() ([][]byte, error) }
func FromReader ¶
FromReader creates new LDIF instance from file
func FromS3Bucket ¶
FromS3Bucket creates new LDIF instance from ICAO list downloaded from remote S3 (like Google Storage or Amazon S3)
Click to show internal directories.
Click to hide internal directories.