Struct openssl::ocsp::OcspResponse[][src]

pub struct OcspResponse(_);

Implementations

Creates an OCSP response from the status and optional body.

A body should only be provided if status is RESPONSE_STATUS_SUCCESSFUL.

Deserializes a DER-encoded OCSP response.

This corresponds to d2i_OCSP_RESPONSE.

Methods from Deref<Target = OcspResponseRef>

Serializes the response to its standard DER encoding.

This corresponds to i2d_OCSP_RESPONSE.

Returns the status of the response.

Returns the basic response.

This will only succeed if status() returns RESPONSE_STATUS_SUCCESSFUL.

Trait Implementations

Performs the conversion.

Immutably borrows from an owned value. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.