Merge remote-tracking branch 'origin/crl-support' into crl-support
# Conflicts: # api/api_test.go # authority/tls.go
This commit is contained in:
commit
773741eda8
1 changed files with 8 additions and 0 deletions
8
db/db.go
8
db/db.go
|
@ -127,6 +127,14 @@ type CertificateRevocationListInfo struct {
|
||||||
DER []byte
|
DER []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CertificateRevocationListInfo contains a CRL in DER format and associated
|
||||||
|
// metadata to allow a decision on whether to regenerate the CRL or not easier
|
||||||
|
type CertificateRevocationListInfo struct {
|
||||||
|
Number int64
|
||||||
|
ExpiresAt time.Time
|
||||||
|
DER []byte
|
||||||
|
}
|
||||||
|
|
||||||
// IsRevoked returns whether or not a certificate with the given identifier
|
// IsRevoked returns whether or not a certificate with the given identifier
|
||||||
// has been revoked.
|
// has been revoked.
|
||||||
// In the case of an X509 Certificate the `id` should be the Serial Number of
|
// In the case of an X509 Certificate the `id` should be the Serial Number of
|
||||||
|
|
Loading…
Add table
Reference in a new issue