pub struct PublicKeys {
pub rsa_pem: String,
pub kyber_base64: String,
pub dilithium_base64: String,
pub version: u32,
}Expand description
Public keys bundle for hybrid cryptography
Fields§
§rsa_pem: StringRSA-4096 public key (PEM format)
kyber_base64: StringKyber-1024 public key (base64)
dilithium_base64: StringDilithium5 public key (base64)
version: u32Version for compatibility
Implementations§
Trait Implementations§
Source§impl Clone for PublicKeys
impl Clone for PublicKeys
Source§fn clone(&self) -> PublicKeys
fn clone(&self) -> PublicKeys
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PublicKeys
impl Debug for PublicKeys
Source§impl<'de> Deserialize<'de> for PublicKeys
impl<'de> Deserialize<'de> for PublicKeys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PublicKeys
impl RefUnwindSafe for PublicKeys
impl Send for PublicKeys
impl Sync for PublicKeys
impl Unpin for PublicKeys
impl UnwindSafe for PublicKeys
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