Minor improvement to CertStore interface