pub struct PublicKeyInfo {
pub algorithm: String,
pub key_size: usize,
pub key_bytes: Vec<u8>,
}
Expand description
Public key information
Fields§
§algorithm: String
Algorithm (e.g., “RSA”, “ECDSA”)
key_size: usize
Key size in bits
key_bytes: Vec<u8>
The actual public key bytes (DER encoded)
Trait Implementations§
Source§impl Clone for PublicKeyInfo
impl Clone for PublicKeyInfo
Source§fn clone(&self) -> PublicKeyInfo
fn clone(&self) -> PublicKeyInfo
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 moreAuto Trait Implementations§
impl Freeze for PublicKeyInfo
impl RefUnwindSafe for PublicKeyInfo
impl Send for PublicKeyInfo
impl Sync for PublicKeyInfo
impl Unpin for PublicKeyInfo
impl UnwindSafe for PublicKeyInfo
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