2021-08-23 18:53:43 +00:00
|
|
|
package revoking
|
|
|
|
|
2022-04-23 17:37:42 +00:00
|
|
|
import (
|
|
|
|
"crypto/x509/pkix"
|
|
|
|
)
|
|
|
|
|
2021-08-23 18:53:43 +00:00
|
|
|
// A Repository for storing certificate status information
|
|
|
|
type Repository interface {
|
|
|
|
// StoreRevocation stores information about a revoked certificate.
|
2022-04-23 17:37:42 +00:00
|
|
|
StoreRevocation(*pkix.RevokedCertificate) error
|
|
|
|
RevokedCertificates() ([]pkix.RevokedCertificate, error)
|
2021-08-23 18:53:43 +00:00
|
|
|
}
|