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

pub struct X509VerifyResult(_);

The result of peer certificate verification.

Methods

impl X509VerifyResult
[src]

[src]

Creates an X509VerifyResult from a raw error number.

Safety

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

[src]

Return the integer representation of an X509VerifyResult.

[src]

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for X509VerifyResult
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for X509VerifyResult
[src]

impl Debug for X509VerifyResult
[src]

[src]

Formats the value using the given formatter.

impl Display for X509VerifyResult
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for X509VerifyResult
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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