publisher

package
v0.0.0-...-8237a13 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: 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 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

type PublisherImpl

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

PublisherImpl defines a Publisher

func NewPublisherImpl

func NewPublisherImpl(bundle []ct.ASN1Cert, logs []*Log) (pub PublisherImpl)

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

func (*PublisherImpl) SubmitToCT

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

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

Jump to

Keyboard shortcuts

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