pub struct InspectArchiveKey { /* private fields */ }Expand description
Opaque RSA private key used only for local archive decryption.
Implementations§
Source§impl InspectArchiveKey
impl InspectArchiveKey
Sourcepub fn from_pkcs8_pem(pem: &str) -> Result<Self>
pub fn from_pkcs8_pem(pem: &str) -> Result<Self>
Parse caller-provided PKCS#8 PEM private-key material.
pub fn public_key_pem(&self) -> &str
Auto Trait Implementations§
impl Freeze for InspectArchiveKey
impl RefUnwindSafe for InspectArchiveKey
impl Send for InspectArchiveKey
impl Sync for InspectArchiveKey
impl Unpin for InspectArchiveKey
impl UnsafeUnpin for InspectArchiveKey
impl UnwindSafe for InspectArchiveKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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