Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestingSignedSCT ¶
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.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl defines a Publisher
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. |
Click to show internal directories.
Click to hide internal directories.