forked from adamlaska/boulder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.go
More file actions
25 lines (20 loc) · 783 Bytes
/
common.go
File metadata and controls
25 lines (20 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package lints
import (
"time"
"github.com/zmap/zlint/v3/lint"
)
const (
// CABF Baseline Requirements 6.3.2 Certificate operational periods:
// For the purpose of calculations, a day is measured as 86,400 seconds.
// Any amount of time greater than this, including fractional seconds and/or
// leap seconds, shall represent an additional day.
BRDay time.Duration = 86400 * time.Second
// Declare our own Sources for use in zlint registry filtering.
LetsEncryptCPSAll lint.LintSource = "LECPSAll"
LetsEncryptCPSIntermediate lint.LintSource = "LECPSIntermediate"
LetsEncryptCPSRoot lint.LintSource = "LECPSRoot"
LetsEncryptCPSSubscriber lint.LintSource = "LECPSSubscriber"
)
var (
CPSV33Date = time.Date(2021, time.June, 8, 0, 0, 0, 0, time.UTC)
)