Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CTConfig ¶
type CTConfig struct { Logs []LogDescription `json:"logs"` SubmissionRetries int `json:"submissionRetries"` SubmissionBackoffString string `json:"submissionBackoff"` IntermediateBundleFilename string `json:"intermediateBundleFilename"` }
CTConfig defines the JSON configuration file schema
type LogDescription ¶
LogDescription tells you how to connect to a log and verify its statements.
func (*LogDescription) UnmarshalJSON ¶
func (logDesc *LogDescription) UnmarshalJSON(data []byte) error
UnmarshalJSON parses a simple JSON format for log descriptions. Both the URI and the public key are expected to be strings. The public key is a base64-encoded PKIX public key structure.
type PublisherImpl ¶
type PublisherImpl struct { SA core.StorageAuthority // contains filtered or unexported fields }
PublisherImpl defines a Publisher
func NewPublisherImpl ¶
func NewPublisherImpl(ctConfig CTConfig) (pub PublisherImpl, err error)
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
Click to show internal directories.
Click to hide internal directories.