Enum tss_esapi::structures::PublicParameters
source · pub enum PublicParameters {
Rsa(PublicRsaParameters),
KeyedHash(PublicKeyedHashParameters),
Ecc(PublicEccParameters),
SymCipher(SymmetricCipherParameters),
}
Expand description
Variants§
Rsa(PublicRsaParameters)
KeyedHash(PublicKeyedHashParameters)
Ecc(PublicEccParameters)
SymCipher(SymmetricCipherParameters)
Implementations§
source§impl PublicParameters
impl PublicParameters
sourcepub fn algorithm(&self) -> PublicAlgorithm
pub fn algorithm(&self) -> PublicAlgorithm
Returns the algorithm
Trait Implementations§
source§impl Clone for PublicParameters
impl Clone for PublicParameters
source§fn clone(&self) -> PublicParameters
fn clone(&self) -> PublicParameters
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 PublicParameters
impl Debug for PublicParameters
source§impl From<PublicParameters> for TPMT_PUBLIC_PARMS
impl From<PublicParameters> for TPMT_PUBLIC_PARMS
source§fn from(public_parameters: PublicParameters) -> TPMT_PUBLIC_PARMS
fn from(public_parameters: PublicParameters) -> TPMT_PUBLIC_PARMS
Converts to this type from the input type.
source§impl PartialEq for PublicParameters
impl PartialEq for PublicParameters
source§fn eq(&self, other: &PublicParameters) -> bool
fn eq(&self, other: &PublicParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<TPMT_PUBLIC_PARMS> for PublicParameters
impl TryFrom<TPMT_PUBLIC_PARMS> for PublicParameters
impl Copy for PublicParameters
impl Eq for PublicParameters
impl StructuralPartialEq for PublicParameters
Auto Trait Implementations§
impl Freeze for PublicParameters
impl RefUnwindSafe for PublicParameters
impl Send for PublicParameters
impl Sync for PublicParameters
impl Unpin for PublicParameters
impl UnwindSafe for PublicParameters
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