Lines Matching refs:tlc
117 tlc := TemporalLogClient{
121 return &tlc, nil
126 func (tlc *TemporalLogClient) GetAcceptedRoots(ctx context.Context) ([]ct.ASN1Cert, error) {
131 results := make(chan result, len(tlc.Clients))
132 for _, c := range tlc.Clients {
142 for range tlc.Clients {
160 func (tlc *TemporalLogClient) AddChain(ctx context.Context, chain []ct.ASN1Cert) (*ct.SignedCertifi…
161 return tlc.addChain(ctx, ct.X509LogEntryType, ct.AddChainPath, chain)
165 func (tlc *TemporalLogClient) AddPreChain(ctx context.Context, chain []ct.ASN1Cert) (*ct.SignedCert…
166 return tlc.addChain(ctx, ct.PrecertLogEntryType, ct.AddPreChainPath, chain)
169 func (tlc *TemporalLogClient) addChain(ctx context.Context, ctype ct.LogEntryType, path string, cha…
178 cidx, err := tlc.IndexByDate(cert.NotAfter)
182 return tlc.Clients[cidx].addChainWithRetry(ctx, ctype, path, chain)
187 func (tlc *TemporalLogClient) IndexByDate(when time.Time) (int, error) {
188 for i, interval := range tlc.intervals {