Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestingSignedSCT ¶
func CreateTestingSignedSCT(req []string, k *ecdsa.PrivateKey, precert bool) []byte
CreateTestingSignedSCT is used by both the publisher tests and ct-test-serv, which is why it is exported. It creates a signed SCT based on the provided chain.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl defines a Publisher
func New ¶
func New( bundle []ct.ASN1Cert, logs []*Log, logger blog.Logger, stats metrics.Scope, sa core.StorageAuthority, ) *Impl
New creates a Publisher that will submit certificates to any CT logs configured in CTConfig
func (*Impl) SubmitToCT ¶
SubmitToCT will submit the certificate represented by certDER to any CT logs configured in pub.CT.Logs.
func (*Impl) SubmitToSingleCT ¶
func (pub *Impl) SubmitToSingleCT(ctx context.Context, logURL, logPublicKey string, der []byte) error
SubmitToSingleCT will submit the certificate represented by certDER to the CT log specified by log URL and public key (base64)
func (*Impl) SubmitToSingleCTWithResult ¶
func (pub *Impl) SubmitToSingleCTWithResult(ctx context.Context, req *pubpb.Request) (*pubpb.Result, error)
SubmitToSingleCTWithResult will submit the certificate represented by certDER to the CT log specified by log URL and public key (base64) and return the SCT to the caller
Directories
¶
Path | Synopsis |
---|---|
Package mock_publisher is a generated GoMock package.
|
Package mock_publisher is a generated GoMock package. |
Package publisher is a generated protocol buffer package.
|
Package publisher is a generated protocol buffer package. |