Struct openssl::ssl::SslContextRef []

pub struct SslContextRef(_);

Reference to SslContext

Methods

impl SslContextRef
[src]

[src]

Returns the certificate associated with this SslContext, if present.

Requires OpenSSL 1.0.2 or newer.

This corresponds to SSL_CTX_get0_certificate.

[src]

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

Requires OpenSSL 1.0.2 or newer.

This corresponds to SSL_CTX_get0_privatekey.

[src]

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

This corresponds to SSL_CTX_get_cert_store.

[src]

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.

[src]

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 W
[src]

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

Important traits for &'a mut W
[src]

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

[src]

Returns a raw pointer to the wrapped value.

impl Send for SslContextRef
[src]

impl Sync for SslContextRef
[src]