Struct openssl::x509::X509StoreContextRef []

pub struct X509StoreContextRef(_);

Reference to X509StoreContext.

Methods

impl X509StoreContextRef
[src]

[src]

Returns application data pertaining to an X509 store context.

This corresponds to X509_STORE_CTX_get_ex_data.

[src]

Returns the error code of the context.

This corresponds to X509_STORE_CTX_get_error.

[src]

Set the error code of the context.

This corresponds to X509_STORE_CTX_set_error.

[src]

Returns a reference to the certificate which caused the error or None if no certificate is relevant to the error.

This corresponds to X509_STORE_CTX_get_current_cert.

[src]

Returns a non-negative integer representing the depth in the certificate chain where the error occurred. If it is zero it occurred in the end entity certificate, one if it is the certificate which signed the end entity certificate and so on.

This corresponds to X509_STORE_CTX_get_error_depth.

[src]

Returns a reference to a complete valid X509 certificate chain.

This corresponds to X509_STORE_CTX_get0_chain.

Trait Implementations

impl ForeignTypeRef for X509StoreContextRef

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.

impl Send for X509StoreContextRef
[src]

impl Sync for X509StoreContextRef
[src]