pub struct SignatureAndHashAlgorithm {
pub hash: HashAlgorithm,
pub signature: SignatureAlgorithm,
}
Available on crate feature
sct
only.Expand description
A combination of signature and hashing algorithms as defined in RFC 5246 section 7.4.1.4.1.
Fields§
§hash: HashAlgorithm
The hashing algorithm.
signature: SignatureAlgorithm
The signature algorithm.
Trait Implementations§
source§impl Debug for SignatureAndHashAlgorithm
impl Debug for SignatureAndHashAlgorithm
source§impl DeserializeBytes for SignatureAndHashAlgorithm
impl DeserializeBytes for SignatureAndHashAlgorithm
source§impl PartialEq for SignatureAndHashAlgorithm
impl PartialEq for SignatureAndHashAlgorithm
source§fn eq(&self, other: &SignatureAndHashAlgorithm) -> bool
fn eq(&self, other: &SignatureAndHashAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Size for &SignatureAndHashAlgorithm
impl Size for &SignatureAndHashAlgorithm
fn tls_serialized_len(&self) -> usize
source§impl Size for SignatureAndHashAlgorithm
impl Size for SignatureAndHashAlgorithm
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for SignatureAndHashAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for SignatureAndHashAlgorithm
impl Send for SignatureAndHashAlgorithm
impl Sync for SignatureAndHashAlgorithm
impl Unpin for SignatureAndHashAlgorithm
impl UnwindSafe for SignatureAndHashAlgorithm
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