pub enum SignatureSchemeAlgorithm {
RsaSsa,
RsaPss,
EcDsa,
EcDaa,
Sm2,
EcSchnorr,
Hmac,
Null,
}
Expand description
Enum representing the signature scheme interface type.
§Details
This corresponds to TPMI_ALG_SIG_SCHEME
Variants§
Trait Implementations§
source§impl Clone for SignatureSchemeAlgorithm
impl Clone for SignatureSchemeAlgorithm
source§fn clone(&self) -> SignatureSchemeAlgorithm
fn clone(&self) -> SignatureSchemeAlgorithm
Returns a copy 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 Debug for SignatureSchemeAlgorithm
impl Debug for SignatureSchemeAlgorithm
source§impl From<SignatureSchemeAlgorithm> for AlgorithmIdentifier
impl From<SignatureSchemeAlgorithm> for AlgorithmIdentifier
source§fn from(signature_scheme_algorithm: SignatureSchemeAlgorithm) -> Self
fn from(signature_scheme_algorithm: SignatureSchemeAlgorithm) -> Self
Converts to this type from the input type.
source§impl From<SignatureSchemeAlgorithm> for TPMI_ALG_SIG_SCHEME
impl From<SignatureSchemeAlgorithm> for TPMI_ALG_SIG_SCHEME
source§fn from(signature_scheme_algorithm: SignatureSchemeAlgorithm) -> Self
fn from(signature_scheme_algorithm: SignatureSchemeAlgorithm) -> Self
Converts to this type from the input type.
source§impl Hash for SignatureSchemeAlgorithm
impl Hash for SignatureSchemeAlgorithm
source§impl PartialEq for SignatureSchemeAlgorithm
impl PartialEq for SignatureSchemeAlgorithm
source§fn eq(&self, other: &SignatureSchemeAlgorithm) -> bool
fn eq(&self, other: &SignatureSchemeAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u16> for SignatureSchemeAlgorithm
impl TryFrom<u16> for SignatureSchemeAlgorithm
impl Copy for SignatureSchemeAlgorithm
impl Eq for SignatureSchemeAlgorithm
impl StructuralPartialEq for SignatureSchemeAlgorithm
Auto Trait Implementations§
impl Freeze for SignatureSchemeAlgorithm
impl RefUnwindSafe for SignatureSchemeAlgorithm
impl Send for SignatureSchemeAlgorithm
impl Sync for SignatureSchemeAlgorithm
impl Unpin for SignatureSchemeAlgorithm
impl UnwindSafe for SignatureSchemeAlgorithm
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