pub struct KeyStore {
pub private_key: RsaPrivateKey,
pub public_key_der: Vec<u8>,
}Expand description
A struct that stores the server’s encryption keys.
Fields§
§private_key: RsaPrivateKeyThe server’s private key.
public_key_der: Vec<u8>The server’s public key in DER format.
Implementations§
Auto Trait Implementations§
impl Freeze for KeyStore
impl RefUnwindSafe for KeyStore
impl Send for KeyStore
impl Sync for KeyStore
impl Unpin for KeyStore
impl UnsafeUnpin for KeyStore
impl UnwindSafe for KeyStore
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