publisher

package
v0.0.0-...-a220ee0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2016 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct {
	SA core.StorageAuthority
	// contains filtered or unexported fields
}

Impl defines a Publisher

func New

func New(bundle []ct.ASN1Cert, logs []*Log, submissionTimeout time.Duration) *Impl

New creates a Publisher that will submit certificates to any CT logs configured in CTConfig

func (*Impl) SubmitToCT

func (pub *Impl) SubmitToCT(der []byte) error

SubmitToCT will submit the certificate represented by certDER to any CT logs configured in pub.CT.Logs

type Log

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

Log contains the CT client and signature verifier for a particular CT log

func NewLog

func NewLog(uri, b64PK string) (*Log, error)

NewLog returns an initialized Log struct

Jump to

Keyboard shortcuts

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