Struct openssl::x509::store::X509StoreBuilderRef [−][src]
pub struct X509StoreBuilderRef(_);
Expand description
Reference to an X509StoreBuilder
.
Implementations
Adds a certificate to the certificate store.
Load certificates from their default locations.
These locations are read from the SSL_CERT_FILE
and SSL_CERT_DIR
environment variables if present, or defaults specified at OpenSSL
build time otherwise.
pub fn add_lookup<T>(
&mut self,
method: &'static X509LookupMethodRef<T>
) -> Result<&mut X509LookupRef<T>, ErrorStack>
pub fn add_lookup<T>(
&mut self,
method: &'static X509LookupMethodRef<T>
) -> Result<&mut X509LookupRef<T>, ErrorStack>
Adds a lookup method to the store.
This corresponds to X509_STORE_add_lookup
.
Sets certificate chain validation related flags.
This corresponds to X509_STORE_set_flags
.
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type CType = X509_STORE
type CType = X509_STORE
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.