Struct openssl::ocsp::OcspResponseRef [−][src]
pub struct OcspResponseRef(_);
Implementations
impl OcspResponseRef[src]
impl OcspResponseRef[src]pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>[src]
Serializes the response to its standard DER encoding.
This corresponds to i2d_OCSP_RESPONSE.
pub fn status(&self) -> OcspResponseStatus[src]
Returns the status of the response.
pub fn basic(&self) -> Result<OcspBasicResponse, ErrorStack>[src]
Returns the basic response.
This will only succeed if status() returns RESPONSE_STATUS_SUCCESSFUL.
Trait Implementations
impl AsRef<OcspResponseRef> for OcspResponse[src]
impl AsRef<OcspResponseRef> for OcspResponse[src]fn as_ref(&self) -> &OcspResponseRef[src]
impl Borrow<OcspResponseRef> for OcspResponse[src]
impl Borrow<OcspResponseRef> for OcspResponse[src]fn borrow(&self) -> &OcspResponseRef[src]
impl ForeignTypeRef for OcspResponseRef[src]
impl ForeignTypeRef for OcspResponseRef[src]