Struct openssl::ocsp::OcspRequestRef
source · [−]pub struct OcspRequestRef(_);
Implementations
sourceimpl OcspRequestRef
impl OcspRequestRef
sourcepub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes the request to its standard DER encoding.
This corresponds to i2d_OCSP_REQUEST
.
sourcepub fn add_id(
&mut self,
id: OcspCertId
) -> Result<&mut OcspOneReqRef, ErrorStack>
pub fn add_id(
&mut self,
id: OcspCertId
) -> Result<&mut OcspOneReqRef, ErrorStack>
This corresponds to OCSP_request_add0_id
.
Trait Implementations
sourceimpl AsRef<OcspRequestRef> for OcspRequest
impl AsRef<OcspRequestRef> for OcspRequest
sourcefn as_ref(&self) -> &OcspRequestRef
fn as_ref(&self) -> &OcspRequestRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<OcspRequestRef> for OcspRequest
impl Borrow<OcspRequestRef> for OcspRequest
sourcefn borrow(&self) -> &OcspRequestRef
fn borrow(&self) -> &OcspRequestRef
Immutably borrows from an owned value. Read more
sourceimpl ForeignTypeRef for OcspRequestRef
impl ForeignTypeRef for OcspRequestRef
impl Send for OcspRequestRef
impl Sync for OcspRequestRef
Auto Trait Implementations
impl !RefUnwindSafe for OcspRequestRef
impl Unpin for OcspRequestRef
impl UnwindSafe for OcspRequestRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more