pub struct RsaOaepKeyUnwrapper { /* private fields */ }Available on crate features
signatures and key-wrapping-rsa only.Expand description
RSA-OAEP-256 key unwrapper (recipient side).
Decrypts a content encryption key using the recipient’s RSA private key.
Implementations§
Source§impl RsaOaepKeyUnwrapper
impl RsaOaepKeyUnwrapper
Sourcepub fn new(recipient_private_key: RsaPrivateKey) -> Self
pub fn new(recipient_private_key: RsaPrivateKey) -> Self
Create a key unwrapper with the recipient’s RSA private key.
Auto Trait Implementations§
impl Freeze for RsaOaepKeyUnwrapper
impl RefUnwindSafe for RsaOaepKeyUnwrapper
impl Send for RsaOaepKeyUnwrapper
impl Sync for RsaOaepKeyUnwrapper
impl Unpin for RsaOaepKeyUnwrapper
impl UnsafeUnpin for RsaOaepKeyUnwrapper
impl UnwindSafe for RsaOaepKeyUnwrapper
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