Enum keylime::algorithms::SignAlgorithm
source · [−]pub enum SignAlgorithm {
RsaSsa,
RsaPss,
EcDsa,
EcSchnorr,
}
Variants
RsaSsa
RsaPss
EcDsa
EcSchnorr
Implementations
sourceimpl SignAlgorithm
impl SignAlgorithm
pub fn to_signature_scheme(self, hash_alg: HashAlgorithm) -> SignatureScheme
Trait Implementations
sourceimpl Clone for SignAlgorithm
impl Clone for SignAlgorithm
sourcefn clone(&self) -> SignAlgorithm
fn clone(&self) -> SignAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SignAlgorithm
impl Debug for SignAlgorithm
sourceimpl<'de> Deserialize<'de> for SignAlgorithm
impl<'de> Deserialize<'de> for SignAlgorithm
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for SignAlgorithm
impl Display for SignAlgorithm
sourceimpl From<SignAlgorithm> for SignatureSchemeAlgorithm
impl From<SignAlgorithm> for SignatureSchemeAlgorithm
sourcefn from(sign_alg: SignAlgorithm) -> Self
fn from(sign_alg: SignAlgorithm) -> Self
Converts to this type from the input type.
sourceimpl Hash for SignAlgorithm
impl Hash for SignAlgorithm
sourceimpl PartialEq<SignAlgorithm> for SignAlgorithm
impl PartialEq<SignAlgorithm> for SignAlgorithm
sourcefn eq(&self, other: &SignAlgorithm) -> bool
fn eq(&self, other: &SignAlgorithm) -> bool
sourceimpl Serialize for SignAlgorithm
impl Serialize for SignAlgorithm
sourceimpl TryFrom<&str> for SignAlgorithm
impl TryFrom<&str> for SignAlgorithm
impl Copy for SignAlgorithm
impl Eq for SignAlgorithm
impl StructuralEq for SignAlgorithm
impl StructuralPartialEq for SignAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for SignAlgorithm
impl Send for SignAlgorithm
impl Sync for SignAlgorithm
impl Unpin for SignAlgorithm
impl UnwindSafe for SignAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more