pub struct SignerDetails {
pub identifier: SignerIdentifier,
pub digest_algorithm: String,
pub signature_algorithm: String,
pub signature: Vec<u8>,
pub certificate: Option<CertificateDetails>,
pub public_key: Option<PublicKeyInfo>,
pub has_signed_attributes: bool,
pub signed_attributes_der: Option<Vec<u8>>,
}
Expand description
Details about a signer
Fields§
§identifier: SignerIdentifier
Signer identifier (issuer and serial)
digest_algorithm: String
Digest algorithm used
signature_algorithm: String
Signature algorithm used
signature: Vec<u8>
The signature value
certificate: Option<CertificateDetails>
The signer’s certificate (if found)
public_key: Option<PublicKeyInfo>
The public key (if extracted)
has_signed_attributes: bool
Whether signed attributes are present
signed_attributes_der: Option<Vec<u8>>
DER-encoded signed attributes (if present)
Trait Implementations§
Source§impl Clone for SignerDetails
impl Clone for SignerDetails
Source§fn clone(&self) -> SignerDetails
fn clone(&self) -> SignerDetails
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 SignerDetails
impl RefUnwindSafe for SignerDetails
impl Send for SignerDetails
impl Sync for SignerDetails
impl Unpin for SignerDetails
impl UnwindSafe for SignerDetails
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