Struct openssl::ocsp::OcspCertId [−]
pub struct OcspCertId(_);
Methods
impl OcspCertId[src]
impl OcspCertIdpub fn from_cert(
digest: MessageDigest,
subject: &X509Ref,
issuer: &X509Ref
) -> Result<OcspCertId, ErrorStack>[src]
pub fn from_cert(
digest: MessageDigest,
subject: &X509Ref,
issuer: &X509Ref
) -> Result<OcspCertId, ErrorStack>Constructs a certificate ID for certificate subject.
Trait Implementations
impl ForeignType for OcspCertId
impl ForeignType for OcspCertIdtype CType = OCSP_CERTID
The raw C type.
type Ref = OcspCertIdRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut OCSP_CERTID) -> OcspCertId
unsafe fn from_ptr(ptr: *mut OCSP_CERTID) -> OcspCertIdConstructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut OCSP_CERTID
fn as_ptr(&self) -> *mut OCSP_CERTIDReturns a raw pointer to the wrapped value.
impl Drop for OcspCertId
impl Drop for OcspCertIdimpl Deref for OcspCertId
impl Deref for OcspCertIdtype Target = OcspCertIdRef
The resulting type after dereferencing.
fn deref(&self) -> &OcspCertIdRef
fn deref(&self) -> &OcspCertIdRefDereferences the value.
impl DerefMut for OcspCertId
impl DerefMut for OcspCertIdfn deref_mut(&mut self) -> &mut OcspCertIdRef
fn deref_mut(&mut self) -> &mut OcspCertIdRefMutably dereferences the value.
impl Borrow<OcspCertIdRef> for OcspCertId
impl Borrow<OcspCertIdRef> for OcspCertIdfn borrow(&self) -> &OcspCertIdRef
fn borrow(&self) -> &OcspCertIdRefImmutably borrows from an owned value. Read more
impl AsRef<OcspCertIdRef> for OcspCertId
impl AsRef<OcspCertIdRef> for OcspCertIdfn as_ref(&self) -> &OcspCertIdRef
fn as_ref(&self) -> &OcspCertIdRefPerforms the conversion.
impl Send for OcspCertId[src]
impl Send for OcspCertIdimpl Sync for OcspCertId[src]
impl Sync for OcspCertId