pub struct PrivateKeyInfo<'a> {
pub algorithm_oid: &'a [u8],
pub private_key: &'a [u8],
}Expand description
A PKCS#8 PrivateKeyInfo, enough of it to describe the key.
Fields§
§algorithm_oid: &'a [u8]The algorithm OID’s content bytes.
private_key: &'a [u8]The privateKey OCTET STRING contents: an RSAPrivateKey for RSA.
Implementations§
Source§impl<'a> PrivateKeyInfo<'a>
impl<'a> PrivateKeyInfo<'a>
Trait Implementations§
Source§impl<'a> Clone for PrivateKeyInfo<'a>
impl<'a> Clone for PrivateKeyInfo<'a>
Source§fn clone(&self) -> PrivateKeyInfo<'a>
fn clone(&self) -> PrivateKeyInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for PrivateKeyInfo<'a>
impl<'a> RefUnwindSafe for PrivateKeyInfo<'a>
impl<'a> Send for PrivateKeyInfo<'a>
impl<'a> Sync for PrivateKeyInfo<'a>
impl<'a> Unpin for PrivateKeyInfo<'a>
impl<'a> UnsafeUnpin for PrivateKeyInfo<'a>
impl<'a> UnwindSafe for PrivateKeyInfo<'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