pub enum SignatureScheme {
RSA_PKCS1_SHA1 = 513,
ECDSA_SHA1_Legacy = 515,
RSA_PKCS1_SHA256 = 1_025,
ECDSA_NISTP256_SHA256 = 1_027,
RSA_PKCS1_SHA384 = 1_281,
ECDSA_NISTP384_SHA384 = 1_283,
RSA_PKCS1_SHA512 = 1_537,
ECDSA_NISTP521_SHA512 = 1_539,
RSA_PSS_SHA256 = 2_052,
RSA_PSS_SHA384 = 2_053,
RSA_PSS_SHA512 = 2_054,
ED25519 = 2_055,
}
Expand description
Signature scheme on the key exchange parameters.
Variants§
RSA_PKCS1_SHA1 = 513
ECDSA_SHA1_Legacy = 515
RSA_PKCS1_SHA256 = 1_025
ECDSA_NISTP256_SHA256 = 1_027
RSA_PKCS1_SHA384 = 1_281
ECDSA_NISTP384_SHA384 = 1_283
RSA_PKCS1_SHA512 = 1_537
ECDSA_NISTP521_SHA512 = 1_539
RSA_PSS_SHA256 = 2_052
RSA_PSS_SHA384 = 2_053
RSA_PSS_SHA512 = 2_054
ED25519 = 2_055
Trait Implementations§
source§impl Clone for SignatureScheme
impl Clone for SignatureScheme
source§fn clone(&self) -> SignatureScheme
fn clone(&self) -> SignatureScheme
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 SignatureScheme
impl Debug for SignatureScheme
source§impl<'de> Deserialize<'de> for SignatureScheme
impl<'de> Deserialize<'de> for SignatureScheme
source§fn 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
source§impl From<SignatureScheme> for SignatureScheme
impl From<SignatureScheme> for SignatureScheme
source§fn from(value: SignatureScheme) -> Self
fn from(value: SignatureScheme) -> Self
Converts to this type from the input type.
source§impl Hash for SignatureScheme
impl Hash for SignatureScheme
source§impl PartialEq for SignatureScheme
impl PartialEq for SignatureScheme
source§impl Serialize for SignatureScheme
impl Serialize for SignatureScheme
source§impl TryFrom<SignatureScheme> for SignatureScheme
impl TryFrom<SignatureScheme> for SignatureScheme
impl Copy for SignatureScheme
impl Eq for SignatureScheme
impl StructuralPartialEq for SignatureScheme
Auto Trait Implementations§
impl Freeze for SignatureScheme
impl RefUnwindSafe for SignatureScheme
impl Send for SignatureScheme
impl Sync for SignatureScheme
impl Unpin for SignatureScheme
impl UnwindSafe for SignatureScheme
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> HashCommit for Twhere
T: Serialize,
impl<T> HashCommit for Twhere
T: Serialize,
§fn hash_commit(self) -> (Decommitment<Self>, Hash)
fn hash_commit(self) -> (Decommitment<Self>, Hash)
Creates a hash commitment to self
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more