Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MatchSubjectRegexUnkCA ¶
type MatchSubjectRegexUnkCA struct { CertificateSubjectRegex *regexp.Regexp PrecertificateSubjectRegex *regexp.Regexp FuzzySubject []string CAWhitelist map[string]bool }
func (MatchSubjectRegexUnkCA) CertificateMatches ¶
func (m MatchSubjectRegexUnkCA) CertificateMatches(c *x509.Certificate) bool
Returns true if either CN or any SAN of |c| matches |CertificateSubjectRegex| and Issuer not in CA whitelist.
func (MatchSubjectRegexUnkCA) PrecertificateMatches ¶
func (m MatchSubjectRegexUnkCA) PrecertificateMatches(p *ct.Precertificate) bool
Returns true if either CN or any SAN of |p| matches |PrecertificatesubjectRegex| and Issuer is not in CA whitelist.
Click to show internal directories.
Click to hide internal directories.