Struct openssl::ocsp::OcspRequest
[−]
pub struct OcspRequest(_);
Methods
impl OcspRequest
[src]
fn new() -> Result<OcspRequest, ErrorStack>
[src]
fn from_der(der: &[u8]) -> Result<OcspRequest, ErrorStack>
[src]
Deserializes a value from DER-formatted data.
Methods from Deref<Target = OcspRequestRef>
fn to_der(&self) -> Result<Vec<u8>, ErrorStack>
[src]
Serializes this value to DER.
fn add_id(&mut self, id: OcspCertId) -> Result<&mut OcspOneReqRef, ErrorStack>
[src]
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
Dereferences the value.
impl DerefMut for OcspRequest
fn deref_mut(&mut self) -> &mut OcspRequestRef
Mutably dereferences the value.