Commit d83e1f0b authored by matthias.lang's avatar matthias.lang
Browse files

Merge branch 'master' of git.scc.kit.edu:KIT-CA/websearch

* 'master' of git.scc.kit.edu:KIT-CA/websearch:
  m…
parents 026ac2b4 1c47f3d2
......@@ -446,10 +446,10 @@ func (c *SearchableCert) JSONResult(watchers map[int]*AttributeState) *JSONResul
CommonName: c.rawCertificate.Subject.CommonName,
OrganizationalUnit: strings.Join(c.rawCertificate.Subject.OrganizationalUnit, "/"),
KeyLength: c.KeyLength,
NotBeforeDuration: humanreltime.German.Duration(c.NotBefore, now, humanreltime.Years),
NotBeforeDuration: humanreltime.German.Duration(c.NotBefore, now, humanreltime.Years, 2),
NotBeforeDisplay: c.NotBefore.Format(time.RFC1123Z),
NotBeforeEpoch: c.NotBefore.Unix(),
NotAfterDuration: humanreltime.German.Duration(c.NotAfter, now, humanreltime.Years),
NotAfterDuration: humanreltime.German.Duration(c.NotAfter, now, humanreltime.Years, 2),
NotAfterDisplay: c.NotAfter.Format(time.RFC1123Z),
NotAfterEpoch: c.NotAfter.Unix(),
DNSNames: c.DNSNames,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment