boulder: github.com/letsencrypt/boulder/publisher Index | Files | Directories

package publisher

import "github.com/letsencrypt/boulder/publisher"

Index

Package Files

publisher.go

func CreateTestingSignedSCT Uses

func CreateTestingSignedSCT(req []string, k *ecdsa.PrivateKey, precert bool, timestamp time.Time) []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.

type Impl Uses

type Impl struct {
    // contains filtered or unexported fields
}

Impl defines a Publisher

func New Uses

func New(
    bundle []ct.ASN1Cert,
    userAgent string,
    logger blog.Logger,
    stats metrics.Scope,
) *Impl

New creates a Publisher that will submit certificates to requested CT logs

func (*Impl) SubmitToSingleCTWithResult Uses

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

type Log Uses

type Log struct {
    // contains filtered or unexported fields
}

Log contains the CT client and signature verifier for a particular CT log

func NewLog Uses

func NewLog(uri, b64PK, userAgent string, logger blog.Logger) (*Log, error)

NewLog returns an initialized Log struct

Directories

PathSynopsis
mock_publisherPackage mock_publisher is a generated GoMock package.
proto

Package publisher imports 26 packages (graph) and is imported by 45 packages. Updated 2019-11-13. Refresh now. Tools for package owners.