#[repr(C)]pub struct Certificate {Show 14 fields
pub version: c_long,
pub issuer: *mut c_char,
pub subject: *mut c_char,
pub serial: *mut c_char,
pub sha1: ByteArray,
pub sha256: ByteArray,
pub key_alg: *mut c_char,
pub sig_alg: *mut c_char,
pub sig_alg_oid: *mut c_char,
pub not_before: i64,
pub not_after: i64,
pub key: *mut c_char,
pub issuer_attrs: Attributes,
pub subject_attrs: Attributes,
}
Fields§
§version: c_long
§issuer: *mut c_char
§subject: *mut c_char
§serial: *mut c_char
§sha1: ByteArray
§sha256: ByteArray
§key_alg: *mut c_char
§sig_alg: *mut c_char
§sig_alg_oid: *mut c_char
§not_before: i64
§not_after: i64
§key: *mut c_char
§issuer_attrs: Attributes
§subject_attrs: Attributes
Trait Implementations§
Source§impl Clone for Certificate
impl Clone for Certificate
Source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Certificate
impl Debug for Certificate
impl Copy for Certificate
Auto Trait Implementations§
impl Freeze for Certificate
impl RefUnwindSafe for Certificate
impl !Send for Certificate
impl !Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more