boulder: Index | Files | Directories

package publisher

import ""


Package Files


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 prometheus.Registerer,
) *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 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


mock_publisherPackage mock_publisher is a generated GoMock package.

Package publisher imports 26 packages (graph) and is imported by 75 packages. Updated 2020-05-27. Refresh now. Tools for package owners.