pub struct UnsupportedSignatureAlgorithmContext {
pub signature_algorithm_id: Vec<u8>,
pub supported_algorithms: Vec<AlgorithmIdentifier>,
}
Expand description
Additional context for the UnsupportedSignatureAlgorithm
error variant.
The contents of this type depend on whether the alloc
feature is enabled.
Fields§
§signature_algorithm_id: Vec<u8>
Available on crate feature
alloc
only.The signature algorithm OID that was unsupported.
supported_algorithms: Vec<AlgorithmIdentifier>
Available on crate feature
alloc
only.Supported algorithms that were available for signature verification.
Trait Implementations§
Source§impl Clone for UnsupportedSignatureAlgorithmContext
impl Clone for UnsupportedSignatureAlgorithmContext
Source§fn clone(&self) -> UnsupportedSignatureAlgorithmContext
fn clone(&self) -> UnsupportedSignatureAlgorithmContext
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 moreSource§impl PartialEq for UnsupportedSignatureAlgorithmContext
impl PartialEq for UnsupportedSignatureAlgorithmContext
Source§fn eq(&self, other: &UnsupportedSignatureAlgorithmContext) -> bool
fn eq(&self, other: &UnsupportedSignatureAlgorithmContext) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for UnsupportedSignatureAlgorithmContext
impl StructuralPartialEq for UnsupportedSignatureAlgorithmContext
Auto Trait Implementations§
impl Freeze for UnsupportedSignatureAlgorithmContext
impl RefUnwindSafe for UnsupportedSignatureAlgorithmContext
impl Send for UnsupportedSignatureAlgorithmContext
impl Sync for UnsupportedSignatureAlgorithmContext
impl Unpin for UnsupportedSignatureAlgorithmContext
impl UnwindSafe for UnsupportedSignatureAlgorithmContext
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