Struct openssl::ssl::SslContextRef[]

pub struct SslContextRef(_);

Reference to SslContext

Methods

impl SslContextRef
[src]

Returns the certificate associated with this SslContext, if present.

Requires OpenSSL 1.0.2 or newer.

This corresponds to SSL_CTX_get0_certificate.

Returns the private key associated with this SslContext, if present.

Requires OpenSSL 1.0.2 or newer.

This corresponds to SSL_CTX_get0_privatekey.

Returns a shared reference to the certificate store used for verification.

This corresponds to SSL_CTX_get_cert_store.

Returns a shared reference to the stack of certificates making up the chain from the leaf.

This corresponds to SSL_CTX_get_extra_chain_certs.

Returns a reference to the extra data at the specified index.

This corresponds to SSL_CTX_get_ex_data.

Trait Implementations

impl Borrow<SslContextRef> for SslContext

Immutably borrows from an owned value. Read more

impl AsRef<SslContextRef> for SslContext

Performs the conversion.

impl ForeignTypeRef for SslContextRef

The raw C type.

Important traits for &'a mut R

Constructs a shared instance of this type from its raw type.

Important traits for &'a mut R

Constructs a mutable reference of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Send for SslContextRef
[src]

impl Sync for SslContextRef
[src]