Enum tss_esapi::structures::Signature
source · pub enum Signature {
RsaSsa(RsaSignature),
RsaPss(RsaSignature),
EcDsa(EccSignature),
EcDaa(EccSignature),
Sm2(EccSignature),
EcSchnorr(EccSignature),
Hmac(HashAgile),
Null,
}
Expand description
Variants§
RsaSsa(RsaSignature)
RsaPss(RsaSignature)
EcDsa(EccSignature)
EcDaa(EccSignature)
Sm2(EccSignature)
EcSchnorr(EccSignature)
Hmac(HashAgile)
Null
Implementations§
Trait Implementations§
source§impl PartialEq for Signature
impl PartialEq for Signature
source§impl TryFrom<Signature> for TPMT_SIGNATURE
impl TryFrom<Signature> for TPMT_SIGNATURE
source§impl TryFrom<TPMT_SIGNATURE> for Signature
impl TryFrom<TPMT_SIGNATURE> for Signature
source§impl UnMarshall for Signature
impl UnMarshall for Signature
source§fn unmarshall(public_buffer: &[u8]) -> Result<Self>
fn unmarshall(public_buffer: &[u8]) -> Result<Self>
Unmarshall the structure from TPMT_SIGNATURE
impl Eq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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