pub trait TrustedStoreConfig: IsGlobal {
type Error: IsGlobalError;
// Required method
fn root_certificates(&self) -> Result<Arc<X509Store>, Self::Error>;
}Expand description
Trait for configuration that holds a X509Store.
Required Associated Types§
type Error: IsGlobalError
Required Methods§
Implementations on Foreign Types§
Source§impl<T: TrustedStoreConfig> TrustedStoreConfig for Arc<T>
impl<T: TrustedStoreConfig> TrustedStoreConfig for Arc<T>
Implementors§
Source§impl TrustedStoreConfig for PemCertificate
PemCertificate is both
impl TrustedStoreConfig for PemCertificate
PemCertificate is both
- primarily a certificate+intermediates, that is CertificateConfig,
- can also be used as a root CA TrustedStoreConfig.
In the latter case, the list of intermediates is empty, the PemCertificate represents a single self-signed CA.