Struct openssl::ocsp::OcspBasicResponse [−][src]
pub struct OcspBasicResponse(_);
Methods from Deref<Target = OcspBasicResponseRef>
pub fn verify(
&self,
certs: &StackRef<X509>,
store: &X509StoreRef,
flags: OcspFlag
) -> Result<(), ErrorStack>
[src]
&self,
certs: &StackRef<X509>,
store: &X509StoreRef,
flags: OcspFlag
) -> Result<(), ErrorStack>
Verifies the validity of the response.
The certs
parameter contains a set of certificates that will be searched when locating the
OCSP response signing certificate. Some responders do not include this in the response.
pub fn find_status<'a>(&'a self, id: &OcspCertIdRef) -> Option<OcspStatus<'a>>
[src]
Looks up the status for the specified certificate ID.
Trait Implementations
impl AsRef<OcspBasicResponseRef> for OcspBasicResponse
[src]
impl AsRef<OcspBasicResponseRef> for OcspBasicResponse
[src]fn as_ref(&self) -> &OcspBasicResponseRef
[src]
impl Borrow<OcspBasicResponseRef> for OcspBasicResponse
[src]
impl Borrow<OcspBasicResponseRef> for OcspBasicResponse
[src]fn borrow(&self) -> &OcspBasicResponseRef
[src]
impl Deref for OcspBasicResponse
[src]
impl Deref for OcspBasicResponse
[src]type Target = OcspBasicResponseRef
The resulting type after dereferencing.
fn deref(&self) -> &OcspBasicResponseRef
[src]
impl DerefMut for OcspBasicResponse
[src]
impl DerefMut for OcspBasicResponse
[src]fn deref_mut(&mut self) -> &mut OcspBasicResponseRef
[src]
impl Drop for OcspBasicResponse
[src]
impl Drop for OcspBasicResponse
[src]impl ForeignType for OcspBasicResponse
[src]
impl ForeignType for OcspBasicResponse
[src]type CType = OCSP_BASICRESP
The raw C type.
type Ref = OcspBasicResponseRef
The type representing a reference to this type.