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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes