Struct c509_certificate::c509::C509
source · pub struct C509 {
tbs_cert: TbsCert,
issuer_signature_value: Option<Vec<u8>>,
}
Expand description
A struct represents the C509
Certificate.
Fields§
§tbs_cert: TbsCert
A TBS Certificate.
issuer_signature_value: Option<Vec<u8>>
An optional IssuerSignatureValue
of the C509 Certificate.
Implementations§
source§impl C509
impl C509
sourcepub fn new(tbs_cert: TbsCert, issuer_signature_value: Option<Vec<u8>>) -> Self
pub fn new(tbs_cert: TbsCert, issuer_signature_value: Option<Vec<u8>>) -> Self
Create a new instance of C509 Certificate .
sourcepub fn get_tbs_cert(&self) -> &TbsCert
pub fn get_tbs_cert(&self) -> &TbsCert
Get the TBSCertificate
of the C509 Certificate.
sourcepub fn get_issuer_signature_value(&self) -> &Option<Vec<u8>>
pub fn get_issuer_signature_value(&self) -> &Option<Vec<u8>>
Get the IssuerSignatureValue
of the C509 Certificate.
Trait Implementations§
source§impl<'de> Deserialize<'de> for C509
impl<'de> Deserialize<'de> for C509
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for C509
Auto Trait Implementations§
impl Freeze for C509
impl RefUnwindSafe for C509
impl Send for C509
impl Sync for C509
impl Unpin for C509
impl UnwindSafe for C509
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)