Struct openssl::ocsp::OcspRequestRef [−]
pub struct OcspRequestRef(_);
Methods
impl OcspRequestRef
[src]
impl OcspRequestRef
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
[src]
pub fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes the request to its standard DER encoding.
This corresponds to i2d_OCSP_REQUEST
.
pub fn add_id(
&mut self,
id: OcspCertId
) -> Result<&mut OcspOneReqRef, ErrorStack>
[src]
pub fn add_id(
&mut self,
id: OcspCertId
) -> Result<&mut OcspOneReqRef, ErrorStack>
Trait Implementations
impl Borrow<OcspRequestRef> for OcspRequest
impl Borrow<OcspRequestRef> for OcspRequest
fn borrow(&self) -> &OcspRequestRef
fn borrow(&self) -> &OcspRequestRef
Immutably borrows from an owned value. Read more
impl AsRef<OcspRequestRef> for OcspRequest
impl AsRef<OcspRequestRef> for OcspRequest
fn as_ref(&self) -> &OcspRequestRef
fn as_ref(&self) -> &OcspRequestRef
Performs the conversion.
impl ForeignTypeRef for OcspRequestRef
impl ForeignTypeRef for OcspRequestRef
type CType = OCSP_REQUEST
The raw C type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
[src]
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.
impl Send for OcspRequestRef
[src]
impl Send for OcspRequestRef
impl Sync for OcspRequestRef
[src]
impl Sync for OcspRequestRef