Struct openssl::ocsp::OcspRequest
[−]
pub struct OcspRequest(_);
Methods
impl OcspRequest
[src]
fn new() -> Result<OcspRequest, ErrorStack>
fn from_der(der: &[u8]) -> Result<OcspRequest, ErrorStack>
Deserializes a value from DER-formatted data.
Methods from Deref<Target=OcspRequestRef>
fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
Serializes this value to DER.
fn add_id(&mut self, id: OcspCertId) -> Result<&mut OcspOneReqRef, ErrorStack>
Trait Implementations
impl ForeignType for OcspRequest
type CType = OCSP_REQUEST
The raw C type.
type Ref = OcspRequestRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut OCSP_REQUEST) -> OcspRequest
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut OCSP_REQUEST
Returns a raw pointer to the wrapped value.
impl Drop for OcspRequest
impl Deref for OcspRequest
type Target = OcspRequestRef
The resulting type after dereferencing
fn deref(&self) -> &OcspRequestRef
The method called to dereference a value
impl DerefMut for OcspRequest
fn deref_mut(&mut self) -> &mut OcspRequestRef
The method called to mutably dereference a value