pub struct SignatureAlgorithms {
pub digest: Nid,
pub pkey: Nid,
}
Expand description
The digest and public-key algorithms associated with a signature.
Fields§
§digest: Nid
The signature’s digest.
If the signature does not specify a digest, this will be NID::UNDEF
.
pkey: Nid
The signature’s public-key.
Auto Trait Implementations§
impl Freeze for SignatureAlgorithms
impl RefUnwindSafe for SignatureAlgorithms
impl Send for SignatureAlgorithms
impl Sync for SignatureAlgorithms
impl Unpin for SignatureAlgorithms
impl UnwindSafe for SignatureAlgorithms
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