Struct openssl::x509::X509StoreContextRef
[−]
pub struct X509StoreContextRef(_);
Methods
impl X509StoreContextRef[src]
pub fn error(&self) -> Option<X509VerifyError>[src]
pub fn current_cert(&self) -> Option<&X509Ref>[src]
pub fn error_depth(&self) -> u32[src]
pub fn chain(&self) -> Option<&StackRef<X509>>[src]
pub fn ssl(&self) -> Result<Option<&SslRef>, ErrorStack>[src]
Returns a reference to the Ssl associated with this context.
Trait Implementations
impl Borrow<X509StoreContextRef> for X509StoreContext
fn borrow(&self) -> &X509StoreContextRef
Immutably borrows from an owned value. Read more
impl AsRef<X509StoreContextRef> for X509StoreContext
fn as_ref(&self) -> &X509StoreContextRef
Performs the conversion.
impl ForeignTypeRef for X509StoreContextRef
type CType = X509_STORE_CTX
The raw C type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self[src]
ⓘImportant traits for &'a mut R
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self[src]
ⓘImportant traits for &'a mut R
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType[src]
Returns a raw pointer to the wrapped value.