[−]Struct openssl::ocsp::OcspCertId
Methods
impl OcspCertId
[src]
pub fn from_cert(
digest: MessageDigest,
subject: &X509Ref,
issuer: &X509Ref
) -> Result<OcspCertId, ErrorStack>
[src]
digest: MessageDigest,
subject: &X509Ref,
issuer: &X509Ref
) -> Result<OcspCertId, ErrorStack>
Constructs a certificate ID for certificate subject
.
Trait Implementations
impl AsRef<OcspCertIdRef> for OcspCertId
fn as_ref(&self) -> &OcspCertIdRef
impl Borrow<OcspCertIdRef> for OcspCertId
fn borrow(&self) -> &OcspCertIdRef
impl Deref for OcspCertId
type Target = OcspCertIdRef
The resulting type after dereferencing.
fn deref(&self) -> &OcspCertIdRef
impl DerefMut for OcspCertId
fn deref_mut(&mut self) -> &mut OcspCertIdRef
impl Drop for OcspCertId
fn drop(&mut self)
impl ForeignType for OcspCertId
type 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
fn as_ptr(&self) -> *mut OCSP_CERTID
impl Send for OcspCertId
[src]
impl Sync for OcspCertId
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,