Struct openssl::ocsp::OcspCertId [−][src]
Implementations
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
[src]
fn as_ref(&self) -> &OcspCertIdRef
[src]
impl Borrow<OcspCertIdRef> for OcspCertId
[src]
fn borrow(&self) -> &OcspCertIdRef
[src]
impl Deref for OcspCertId
[src]
type Target = OcspCertIdRef
The resulting type after dereferencing.
fn deref(&self) -> &OcspCertIdRef
[src]
impl DerefMut for OcspCertId
[src]
fn deref_mut(&mut self) -> &mut OcspCertIdRef
[src]
impl Drop for OcspCertId
[src]
impl ForeignType for OcspCertId
[src]
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
[src]
fn as_ptr(&self) -> *mut OCSP_CERTID
[src]
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,
pub 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.
pub 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>,