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 ¶
- func Run(ctx context.Context, lc *client.LogClient, ca *certgen.CA, sv *ct.SignatureVerifier, st storage.APICallWriter, l *ctlog.Log, period time.Duration)
- type SCTExtensionsError
- type SCTFromFutureError
- type SCTLogIDError
- type SCTVersionError
Functions ¶
func Run ¶
func Run(ctx context.Context, lc *client.LogClient, ca *certgen.CA, sv *ct.SignatureVerifier, st storage.APICallWriter, l *ctlog.Log, period time.Duration)
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 ¶
SCTFromFutureError indicates that an SCT timestamp is fresher than time when it was received.
func (*SCTFromFutureError) Error ¶
func (e *SCTFromFutureError) Error() string
type SCTLogIDError ¶
SCTLogIDError indicates that an SCT contained the wrong Log ID.
func (*SCTLogIDError) Error ¶
func (e *SCTLogIDError) Error() string
type SCTVersionError ¶
SCTVersionError indicates that an SCT contained a version that was not as expected.
func (*SCTVersionError) Error ¶
func (e *SCTVersionError) Error() string
Source Files ¶
- 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.