Struct openssl::x509::X509VerifyResult[][src]

pub struct X509VerifyResult(_);

The result of peer certificate verification.

Methods

impl X509VerifyResult
[src]

Creates an X509VerifyResult from a raw error number.

Safety

Some methods on X509VerifyResult are not thread safe if the error number is invalid.

Return the integer representation of an X509VerifyResult.

Return a human readable error string from the verification error.

This corresponds to X509_verify_cert_error_string.

OK: X509VerifyResult = X509VerifyResult(ffi::X509_V_OK)

Successful peer certifiate verification.

APPLICATION_VERIFICATION: X509VerifyResult = X509VerifyResult(ffi::X509_V_ERR_APPLICATION_VERIFICATION)

Application verification failure.

Trait Implementations

impl Copy for X509VerifyResult
[src]

impl Clone for X509VerifyResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for X509VerifyResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for X509VerifyResult
[src]

impl Debug for X509VerifyResult
[src]

Formats the value using the given formatter. Read more

impl Display for X509VerifyResult
[src]

Formats the value using the given formatter. Read more

impl Error for X509VerifyResult
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations