pub struct CertAndPrivateKey {
pub cert: Cert,
pub key: PrivateKey,
}
Fields§
§cert: Cert
§key: PrivateKey
Implementations§
Source§impl CertAndPrivateKey
impl CertAndPrivateKey
Sourcepub fn to_pem_incorrect(&self) -> String
pub fn to_pem_incorrect(&self) -> String
Incorrect because key is serialized incorrectly
Trait Implementations§
Source§impl Clone for CertAndPrivateKey
impl Clone for CertAndPrivateKey
Source§fn clone(&self) -> CertAndPrivateKey
fn clone(&self) -> CertAndPrivateKey
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 CertAndPrivateKey
impl Debug for CertAndPrivateKey
Source§impl PartialEq for CertAndPrivateKey
impl PartialEq for CertAndPrivateKey
impl StructuralPartialEq for CertAndPrivateKey
Auto Trait Implementations§
impl Freeze for CertAndPrivateKey
impl RefUnwindSafe for CertAndPrivateKey
impl Send for CertAndPrivateKey
impl Sync for CertAndPrivateKey
impl Unpin for CertAndPrivateKey
impl UnwindSafe for CertAndPrivateKey
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