Struct openssl::x509::X509StoreContext
[−]
pub struct X509StoreContext(_);
Methods from Deref<Target = X509StoreContextRef>
fn error(&self) -> Option<X509VerifyError>
fn current_cert(&self) -> Option<&X509Ref>
fn error_depth(&self) -> u32
fn chain(&self) -> Option<&StackRef<X509>>
fn ssl(&self) -> Result<Option<&SslRef>, ErrorStack>
Returns a reference to the Ssl
associated with this context.
Trait Implementations
impl ForeignType for X509StoreContext
type CType = X509_STORE_CTX
The raw C type.
type Ref = X509StoreContextRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut X509_STORE_CTX) -> X509StoreContext
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut X509_STORE_CTX
Returns a raw pointer to the wrapped value.
impl Drop for X509StoreContext
impl Deref for X509StoreContext
type Target = X509StoreContextRef
The resulting type after dereferencing
fn deref(&self) -> &X509StoreContextRef
The method called to dereference a value
impl DerefMut for X509StoreContext
fn deref_mut(&mut self) -> &mut X509StoreContextRef
The method called to mutably dereference a value