Struct openssl::ocsp::OcspCertId [−]
pub struct OcspCertId(_);
Methods
impl OcspCertId
[src]
impl OcspCertId
pub 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 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
unsafe fn from_ptr(ptr: *mut OCSP_CERTID) -> OcspCertId
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut OCSP_CERTID
fn as_ptr(&self) -> *mut OCSP_CERTID
Returns a raw pointer to the wrapped value.
impl Drop for OcspCertId
impl Drop for OcspCertId
impl Deref for OcspCertId
impl Deref for OcspCertId
type Target = OcspCertIdRef
The resulting type after dereferencing.
fn deref(&self) -> &OcspCertIdRef
fn deref(&self) -> &OcspCertIdRef
Dereferences the value.
impl DerefMut for OcspCertId
impl DerefMut for OcspCertId
fn deref_mut(&mut self) -> &mut OcspCertIdRef
fn deref_mut(&mut self) -> &mut OcspCertIdRef
Mutably dereferences the value.
impl Borrow<OcspCertIdRef> for OcspCertId
impl Borrow<OcspCertIdRef> for OcspCertId
fn borrow(&self) -> &OcspCertIdRef
fn borrow(&self) -> &OcspCertIdRef
Immutably borrows from an owned value. Read more
impl AsRef<OcspCertIdRef> for OcspCertId
impl AsRef<OcspCertIdRef> for OcspCertId
fn as_ref(&self) -> &OcspCertIdRef
fn as_ref(&self) -> &OcspCertIdRef
Performs the conversion.
impl Send for OcspCertId
[src]
impl Send for OcspCertId
impl Sync for OcspCertId
[src]
impl Sync for OcspCertId