pub struct SignatureInfo {
pub format: String,
pub size: usize,
pub algorithm: String,
pub signer_count: usize,
pub certificate_count: usize,
}
Expand description
Information extracted from a parsed signature
Fields§
§format: String
Signature format (e.g., “PKCS#7”)
size: usize
Size of the signature in bytes
algorithm: String
Signature algorithm (if detected)
signer_count: usize
Number of signers
certificate_count: usize
Number of certificates included
Trait Implementations§
Source§impl Clone for SignatureInfo
impl Clone for SignatureInfo
Source§fn clone(&self) -> SignatureInfo
fn clone(&self) -> SignatureInfo
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 SignatureInfo
impl RefUnwindSafe for SignatureInfo
impl Send for SignatureInfo
impl Sync for SignatureInfo
impl Unpin for SignatureInfo
impl UnwindSafe for SignatureInfo
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