package certsubmitter

import "github.com/google/monologue/certsubmitter"

Package certsubmitter periodically issues a certificate or pre-certificate and submits it to a CT Log.

Index

Functions

func Run

Run runs a Certificate Submitter, which periodically issues a certificate or pre-certificate, submits it to a CT Log, and checks and stores the SCT that the Log returns.

Types

type SCTExtensionsError

type SCTExtensionsError struct {
	Extensions ct.CTExtensions
}

SCTExtensionsError indicates that an SCT contained unexpected data in its extensions field.

func (*SCTExtensionsError) Error

func (e *SCTExtensionsError) Error() string

type SCTFromFutureError

type SCTFromFutureError struct {
	ReceivedAt time.Time
	Timestamp  time.Time
}

SCTFromFutureError indicates that an SCT timestamp is fresher than time when it was received.

func (*SCTFromFutureError) Error

func (e *SCTFromFutureError) Error() string

type SCTLogIDError

type SCTLogIDError struct {
	Got  logid.LogID
	Want logid.LogID
}

SCTLogIDError indicates that an SCT contained the wrong Log ID.

func (*SCTLogIDError) Error

func (e *SCTLogIDError) Error() string

type SCTVersionError

type SCTVersionError struct {
	Got  ct.Version
	Want ct.Version
}

SCTVersionError indicates that an SCT contained a version that was not as expected.

func (*SCTVersionError) Error

func (e *SCTVersionError) Error() string

Source Files

certsubmitter.go

Version
v0.0.0-20230315160450-1dc62842925e (latest)
Published
Mar 15, 2023
Platform
linux/amd64
Imports
17 packages
Last checked
4 days ago

Tools for package owners.