AddCRL adds/updates provided CRL to in-memory storage.
(crl *CRL)
| 78 | |
| 79 | // AddCRL adds/updates provided CRL to in-memory storage. |
| 80 | func (p *StaticCRLProvider) addCRL(crl *CRL) { |
| 81 | key := crl.certList.Issuer.ToRDNSequence().String() |
| 82 | p.crls[key] = crl |
| 83 | } |
| 84 | |
| 85 | // CRL returns CRL struct if it was passed to NewStaticCRLProvider. |
| 86 | func (p *StaticCRLProvider) CRL(cert *x509.Certificate) (*CRL, error) { |
no test coverage detected