Struct X509StoreBuilderRef
pub struct X509StoreBuilderRef(/* private fields */);boring and crypto and std only.Expand description
A borrowed reference to a X509StoreBuilder.
Implementations§
§impl X509StoreBuilderRef
impl X509StoreBuilderRef
pub fn add_cert(&mut self, cert: impl AsRef<X509Ref>) -> Result<(), ErrorStack>
pub fn add_cert(&mut self, cert: impl AsRef<X509Ref>) -> Result<(), ErrorStack>
Adds a certificate to the certificate store.
This corresponds to X509_STORE_add_cert.
pub fn set_default_paths(&mut self) -> Result<(), ErrorStack>
pub fn set_default_paths(&mut self) -> Result<(), ErrorStack>
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.
This corresponds to X509_STORE_set_default_paths.
pub fn set_flags(&mut self, flags: X509VerifyFlags)
pub fn set_flags(&mut self, flags: X509VerifyFlags)
Sets certificate chain validation related flags.
This corresponds to X509_STORE_set_flags.
pub fn try_set_flags(
&mut self,
flags: X509VerifyFlags,
) -> Result<(), ErrorStack>
pub fn try_set_flags( &mut self, flags: X509VerifyFlags, ) -> Result<(), ErrorStack>
Sets certificate verification flags without panicking on native failure.
This corresponds to X509_STORE_set_flags.
pub fn verify_param_mut(&mut self) -> &mut X509VerifyParamRef
pub fn verify_param_mut(&mut self) -> &mut X509VerifyParamRef
Returns a mutable reference to the X509 verification configuration.
This corresponds to X509_STORE_get0_param.
pub fn set_param(
&mut self,
param: &X509VerifyParamRef,
) -> Result<(), ErrorStack>
pub fn set_param( &mut self, param: &X509VerifyParamRef, ) -> Result<(), ErrorStack>
Sets certificate chain validation related parameters.
This corresponds to X509_STORE_set1_param.
Trait Implementations§
§impl AsMut<X509StoreBuilderRef> for X509StoreBuilder
impl AsMut<X509StoreBuilderRef> for X509StoreBuilder
§fn as_mut(&mut self) -> &mut X509StoreBuilderRef
fn as_mut(&mut self) -> &mut X509StoreBuilderRef
§impl AsRef<X509StoreBuilderRef> for X509StoreBuilder
impl AsRef<X509StoreBuilderRef> for X509StoreBuilder
§fn as_ref(&self) -> &X509StoreBuilderRef
fn as_ref(&self) -> &X509StoreBuilderRef
§impl Borrow<X509StoreBuilderRef> for X509StoreBuilder
impl Borrow<X509StoreBuilderRef> for X509StoreBuilder
§fn borrow(&self) -> &X509StoreBuilderRef
fn borrow(&self) -> &X509StoreBuilderRef
§impl BorrowMut<X509StoreBuilderRef> for X509StoreBuilder
impl BorrowMut<X509StoreBuilderRef> for X509StoreBuilder
§fn borrow_mut(&mut self) -> &mut X509StoreBuilderRef
fn borrow_mut(&mut self) -> &mut X509StoreBuilderRef
§impl ForeignTypeRef for X509StoreBuilderRef
impl ForeignTypeRef for X509StoreBuilderRef
impl Send for X509StoreBuilderRef
impl Sync for X509StoreBuilderRef
Auto Trait Implementations§
impl !RefUnwindSafe for X509StoreBuilderRef
impl Freeze for X509StoreBuilderRef
impl Unpin for X509StoreBuilderRef
impl UnsafeUnpin for X509StoreBuilderRef
impl UnwindSafe for X509StoreBuilderRef
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a rama_grpc::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more