ctpolicy

package
v0.0.0-...-49c5947 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: MIT, MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTPolicy

type CTPolicy struct {
	// contains filtered or unexported fields
}

CTPolicy is used to hold information about SCTs required from various groupings

func New

func New(pub core.Publisher, groups []cmd.CTGroup, informational []cmd.LogDescription, log blog.Logger) *CTPolicy

New creates a new CTPolicy struct

func (*CTPolicy) GetSCTs

func (ctp *CTPolicy) GetSCTs(ctx context.Context, cert core.CertDER) ([]core.SCTDER, error)

GetSCTs attempts to retrieve a SCT from each configured grouping of logs and returns the set of SCTs to the caller.

Jump to

Keyboard shortcuts

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