cacert-gosigner/x509/revoking/repository.go

12 lines
314 B
Go

package revoking
import (
"crypto/x509/pkix"
)
// A Repository for storing certificate status information
type Repository interface {
// StoreRevocation stores information about a revoked certificate.
StoreRevocation(*pkix.RevokedCertificate) error
RevokedCertificates() ([]pkix.RevokedCertificate, error)
}