Struct openssl::ssl::SslContextRef
[−]
pub struct SslContextRef(_);
Methods
impl SslContextRef
[src]
fn cert_store(&self) -> &X509StoreRef
[src]
Returns the certificate store used for verification.
fn extra_chain_certs(&self) -> &StackRef<X509>
[src]
fn ex_data<T>(&self, index: Index<SslContext, T>) -> Option<&T>
[src]
Returns a reference to the extra data at the specified index.
Trait Implementations
impl ForeignTypeRef for SslContextRef
type CType = SSL_CTX
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
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.