Struct mbedtls::x509::certificate::LinkedCertificate
source · #[repr(C)]pub struct LinkedCertificate { /* private fields */ }
Implementations
sourceimpl LinkedCertificate
impl LinkedCertificate
pub fn check_key_usage(&self, usage: KeyUsage) -> bool
pub fn check_extended_key_usage(&self, usage_oid: &[c_char]) -> bool
pub fn issuer(&self) -> Result<String>
pub fn issuer_raw(&self) -> Result<Vec<u8>>
pub fn subject(&self) -> Result<String>
pub fn subject_raw(&self) -> Result<Vec<u8>>
pub fn serial(&self) -> Result<String>
pub fn serial_raw(&self) -> Result<Vec<u8>>
pub fn public_key(&self) -> &Pk
pub fn public_key_mut(&mut self) -> &mut Pk
pub fn as_der(&self) -> &[u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
pub fn verify(
&mut self,
trust_ca: &mut Certificate,
err_info: Option<&mut String>
) -> Result<()>
Trait Implementations
sourceimpl Debug for LinkedCertificate
impl Debug for LinkedCertificate
sourceimpl<'c, 'r> From<&'c mut List<'r>> for &'c mut LinkedCertificate
impl<'c, 'r> From<&'c mut List<'r>> for &'c mut LinkedCertificate
sourcefn from(list: &'c mut List<'r>) -> &'c mut LinkedCertificate
fn from(list: &'c mut List<'r>) -> &'c mut LinkedCertificate
Converts to this type from the input type.
sourceimpl<'r> Into<*const x509_crt> for &'r LinkedCertificate
impl<'r> Into<*const x509_crt> for &'r LinkedCertificate
Auto Trait Implementations
impl RefUnwindSafe for LinkedCertificate
impl !Send for LinkedCertificate
impl !Sync for LinkedCertificate
impl Unpin for LinkedCertificate
impl UnwindSafe for LinkedCertificate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more