pub struct ClientCertInfo {
pub subject_dn: String,
pub serial: Vec<u8>,
pub der_bytes: Vec<u8>,
}Expand description
Client certificate information extracted from a DTLS handshake.
Used to identify the enrolling client for EST operations that require mTLS authentication (simpleenroll, simplereenroll, serverkeygen).
Fields§
§subject_dn: StringSubject distinguished name (RFC 4514 string form).
Empty if the DN could not be parsed from the DER certificate.
serial: Vec<u8>Certificate serial number (big-endian unsigned integer).
der_bytes: Vec<u8>Full DER-encoded certificate.
Trait Implementations§
Source§impl Clone for ClientCertInfo
impl Clone for ClientCertInfo
Source§fn clone(&self) -> ClientCertInfo
fn clone(&self) -> ClientCertInfo
Returns a duplicate 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 ClientCertInfo
impl Debug for ClientCertInfo
Source§impl PartialEq for ClientCertInfo
impl PartialEq for ClientCertInfo
impl Eq for ClientCertInfo
impl StructuralPartialEq for ClientCertInfo
Auto Trait Implementations§
impl Freeze for ClientCertInfo
impl RefUnwindSafe for ClientCertInfo
impl Send for ClientCertInfo
impl Sync for ClientCertInfo
impl Unpin for ClientCertInfo
impl UnsafeUnpin for ClientCertInfo
impl UnwindSafe for ClientCertInfo
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