revocation

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package revocation implements a revocation handler for the beacon server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrBeaconStore

func ErrBeaconStore(err error) *infra.HandlerResult

func NewHandler

func NewHandler(revStore Store, verifier infra.Verifier, timeout time.Duration) infra.Handler

NewHandler returns an infra.Handler for revocation.

Types

type Store

type Store interface {
	InsertRevocations(ctx context.Context, verifiedRevs ...*path_mgmt.SignedRevInfo) error
}

Store is the store in which to save the revocations.

Directories

Path Synopsis
Package mock_revocation is a generated GoMock package.
Package mock_revocation is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL