Documentation
¶
Index ¶
- func AddRevocationListToStore(ctx context.Context, t *testing.T, s store.Store, expirationStart time.Time) map[string]*store.RevocationList
- func CheckRevocationList(t *testing.T, expected, actual *store.RevocationList, ...)
- func GetCertificate(c int, rev, exp time.Time) *store.RevocationListCertificate
- func GetIssuerID(i int) string
- func MakeCRLConfig() grpc.CRLConfig
- func MakeConfig(t require.TestingT) service.Config
- func MakeHTTPConfig() service.HTTPConfig
- func MakeStorageConfig() service.StorageConfig
- func New(t require.TestingT, cfg service.Config) func()
- func NewCQLStore(t require.TestingT) (*storeCqlDB.Store, func())
- func NewMongoStore(t require.TestingT) (*storeMongo.Store, func())
- func NewStore(t require.TestingT) (store.Store, func())
- func SetUp(t require.TestingT) (tearDown func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRevocationListToStore ¶ added in v2.25.0
func AddRevocationListToStore(ctx context.Context, t *testing.T, s store.Store, expirationStart time.Time) map[string]*store.RevocationList
AddRevocationListToStore creates and stores multiple revocation lists with certificates. It returns a map of created revocation lists indexed by their IDs.
func CheckRevocationList ¶ added in v2.25.0
func CheckRevocationList(t *testing.T, expected, actual *store.RevocationList, ignoreRevocationTime bool)
func GetCertificate ¶ added in v2.25.0
func GetCertificate(c int, rev, exp time.Time) *store.RevocationListCertificate
func GetIssuerID ¶ added in v2.25.0
func MakeCRLConfig ¶ added in v2.25.0
func MakeHTTPConfig ¶ added in v2.25.0
func MakeHTTPConfig() service.HTTPConfig
func MakeStorageConfig ¶ added in v2.7.18
func MakeStorageConfig() service.StorageConfig
func NewCQLStore ¶ added in v2.16.0
func NewCQLStore(t require.TestingT) (*storeCqlDB.Store, func())
func NewMongoStore ¶ added in v2.7.18
func NewMongoStore(t require.TestingT) (*storeMongo.Store, func())
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.