pub struct PubSecCredential<'a> {
pub certificate_der: &'a [u8],
pub private_key_der: &'a [u8],
}Expand description
Caller-supplied X.509 credential pair. Both buffers are DER-encoded:
the certificate is a standard X.509 v3 cert; the private key is a
PKCS#8 PrivateKeyInfo (or, less commonly, PKCS#1 RSAPrivateKey).
Fields§
§certificate_der: &'a [u8]§private_key_der: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for PubSecCredential<'a>
impl<'a> RefUnwindSafe for PubSecCredential<'a>
impl<'a> Send for PubSecCredential<'a>
impl<'a> Sync for PubSecCredential<'a>
impl<'a> Unpin for PubSecCredential<'a>
impl<'a> UnsafeUnpin for PubSecCredential<'a>
impl<'a> UnwindSafe for PubSecCredential<'a>
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