Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadKeyHash ¶
func ClassifyIdentity ¶
Types ¶
type BadKey ¶
type BadKey struct {
BKHash string
Vendor string
Product string
Device string
Kind string
Note string
}
func MatchBadKey ¶
type CertInfo ¶
type CertInfo struct {
Host string `json:"host"`
Port int `json:"port"`
SHA256 string `json:"sha256"`
SPKI256 string `json:"spkiSha256,omitempty"`
SubjectCN string `json:"subjectCn,omitempty"`
SubjectO string `json:"subjectO,omitempty"`
IssuerCN string `json:"issuerCn,omitempty"`
NotBefore time.Time `json:"notBefore"`
NotAfter time.Time `json:"notAfter"`
SelfSigned bool `json:"selfSigned"`
KeyBits int `json:"keyBits,omitempty"`
Expired bool `json:"expired"`
DefaultSubject *KnownDefault `json:"defaultSubject,omitempty"`
BadKeyMatch *BadKey `json:"badKeyMatch,omitempty"`
BadKeyHash string `json:"badKeyHash,omitempty"`
Vendor string `json:"vendor,omitempty"`
Product string `json:"product,omitempty"`
ClientCertRequested bool `json:"clientCertRequested,omitempty"`
AcceptableCAs []string `json:"acceptableCas,omitempty"`
TLSVersion string `json:"tlsVersion,omitempty"`
CipherSuite string `json:"cipherSuite,omitempty"`
ALPN string `json:"alpn,omitempty"`
Findings []string `json:"findings,omitempty"`
}
type KnownDefault ¶
type SharedPubKey ¶
type SharedPubKey struct {
}
Click to show internal directories.
Click to hide internal directories.