cacert-gosigner/pkg/x509/revoking/repository.go

13 lines
314 B
Go
Raw Normal View History

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)
}