Versions in this module Expand all Collapse all v1 v1.1.2 Mar 3, 2020 Changes in this version + func ContainsSCT(cert *x509.Certificate, sct *ct.SignedCertificateTimestamp) (bool, error) + func LeafHash(chain []*x509.Certificate, sct *ct.SignedCertificateTimestamp, embedded bool) ([sha256.Size]byte, error) + func LeafHashB64(chain []*x509.Certificate, sct *ct.SignedCertificateTimestamp, embedded bool) (string, error) + func VerifySCT(pubKey crypto.PublicKey, chain []*x509.Certificate, ...) error + func VerifySCTWithVerifier(sv *ct.SignatureVerifier, chain []*x509.Certificate, ...) error + type LogInfo struct + Client client.CheckLogClient + Description string + MMD time.Duration + PublicKey []byte + Verifier *ct.SignatureVerifier + func NewLogInfo(log *loglist.Log, hc *http.Client) (*LogInfo, error) + func NewLogInfoOverDNS(log *loglist.Log) (*LogInfo, error) + func NewLogInfoOverDNSWrapper(log *loglist.Log, _ *http.Client) (*LogInfo, error) + func (li *LogInfo) LastSTH() *ct.SignedTreeHead + func (li *LogInfo) SetSTH(sth *ct.SignedTreeHead) + func (li *LogInfo) VerifyInclusion(ctx context.Context, leaf ct.MerkleTreeLeaf, timestamp uint64) (int64, error) + func (li *LogInfo) VerifyInclusionAt(ctx context.Context, leaf ct.MerkleTreeLeaf, timestamp, treeSize uint64, ...) (int64, error) + func (li *LogInfo) VerifyInclusionLatest(ctx context.Context, leaf ct.MerkleTreeLeaf, timestamp uint64) (int64, error) + func (li *LogInfo) VerifySCTSignature(sct ct.SignedCertificateTimestamp, leaf ct.MerkleTreeLeaf) error + type LogInfoByHash map[[sha256.Size]byte]*LogInfo + func LogInfoByKeyHash(ll *loglist.LogList, hc *http.Client) (LogInfoByHash, error) + func LogInfoByKeyHashOverDNS(ll *loglist.LogList, hc *http.Client) (LogInfoByHash, error)