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 the v102 or v110 features and OpenSSL 1.0.2 or OpenSSL 1.1.0.

This corresponds to SSL_CTX_get0_certificate.

[src]

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

Requires the v102 or v110 features and OpenSSL 1.0.2 or OpenSSL 1.1.0.

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 ForeignTypeRef for SslContextRef

The raw C type.

[src]

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

[src]

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

[src]

Returns a raw pointer to the wrapped value.