boulder: github.com/letsencrypt/boulder/ctpolicy Index | Files | Directories

package ctpolicy

import "github.com/letsencrypt/boulder/ctpolicy"

Index

Package Files

ctpolicy.go

type CTPolicy Uses

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

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

func New Uses

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

New creates a new CTPolicy struct

func (*CTPolicy) GetSCTs Uses

func (ctp *CTPolicy) GetSCTs(ctx context.Context, cert core.CertDER, expiration time.Time) (core.SCTDERs, error)

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

func (*CTPolicy) SubmitFinalCert Uses

func (ctp *CTPolicy) SubmitFinalCert(cert []byte, expiration time.Time)

SubmitFinalCert submits finalized certificates created from precertificates to any configured logs

Directories

PathSynopsis
ctconfig

Package ctpolicy imports 12 packages (graph) and is imported by 10 packages. Updated 2019-06-12. Refresh now. Tools for package owners.