Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertHandler ¶
type CertHandler struct {
DB *MonDB
}
func (*CertHandler) HandleEvents ¶
func (s *CertHandler) HandleEvents(ch chan models.MonEvent)
type CertInfo ¶
type CertInfo struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id"` Index int64 CommonName string `bson:"CommonName"` Issuer string `bson:"Issuer"` Serial string `bson:"Serial"` NotBefore time.Time `bson:"NotBefore"` NotAfter time.Time `bson:"NotAfter"` KeyUsage int `bson:"KeyUsage"` PublicKeyAlgorithm int `bson:"PublicKeyAlgorithm"` SignatureAlgorithm int `bson:"SignatureAlgorithm"` DNSNames []string `bson:"DNSNames"` EmailAddresses []string `bson:"EmailAddresses"` OCSPServer []string `bson:"OCSPServer"` IssuingCertificateURL []string `bson:"IssuingCertificateURL"` PEMCert string `bson:"pem"` Precert bool `bson:"precert"` Created time.Time `bson:"created"` SHA256Sum string `bson:"sha256_sum"` }
type MonDB ¶
type MonDB struct {
// contains filtered or unexported fields
}
func (*MonDB) StoreCertDetails ¶
Click to show internal directories.
Click to hide internal directories.