[−]Struct openssl::ocsp::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 OcspCertIdBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T[src]
ⓘImportant traits for &'a mut R
fn borrow(&self) -> &TImmutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'a mut R
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more