Enum SignatureScheme
pub enum SignatureScheme {
Show 42 variants
RSA_PKCS1_SHA1,
ECDSA_SHA1_Legacy,
SHA224_ECDSA,
SHA224_RSA,
SHA224_DSA,
RSA_PKCS1_SHA256,
SHA256_DSA,
ECDSA_NISTP256_SHA256,
RSA_PKCS1_SHA256_LEGACY,
RSA_PKCS1_SHA384,
SHA384_DSA,
ECDSA_NISTP384_SHA384,
RSA_PKCS1_SHA384_LEGACY,
RSA_PKCS1_SHA512,
SHA512_DSA,
ECDSA_NISTP521_SHA512,
RSA_PKCS1_SHA512_LEGACY,
ECCSI_SHA256,
ISO_IBS1,
ISO_IBS2,
ISO_CHINESE_IBS,
SM2SIG_SM3,
GOSTR34102012_256A,
GOSTR34102012_256B,
GOSTR34102012_256C,
GOSTR34102012_256D,
GOSTR34102012_512A,
GOSTR34102012_512B,
GOSTR34102012_512C,
RSA_PSS_SHA256,
RSA_PSS_SHA384,
RSA_PSS_SHA512,
ED25519,
ED448,
RSA_PSS_PSS_SHA256,
RSA_PSS_PSS_SHA384,
RSA_PSS_PSS_SHA512,
ECDSA_BRAINPOOLP256R1TLS13_SHA256,
ECDSA_BRAINPOOLP384R1TLS13_SHA384,
ECDSA_BRAINPOOLP512R1TLS13_SHA512,
RSA_PKCS1_MD5_SHA1,
Unknown(u16),
}
Expand description
The SignatureScheme
TLS protocol enum. Values in this enum are taken
from the various RFCs covering TLS, and are listed by IANA.
The Unknown
item is used when processing unrecognised ordinals.
Variants§
RSA_PKCS1_SHA1
ECDSA_SHA1_Legacy
SHA224_ECDSA
SHA224_RSA
SHA224_DSA
RSA_PKCS1_SHA256
SHA256_DSA
ECDSA_NISTP256_SHA256
RSA_PKCS1_SHA256_LEGACY
RSA_PKCS1_SHA384
SHA384_DSA
ECDSA_NISTP384_SHA384
RSA_PKCS1_SHA384_LEGACY
RSA_PKCS1_SHA512
SHA512_DSA
ECDSA_NISTP521_SHA512
RSA_PKCS1_SHA512_LEGACY
ECCSI_SHA256
ISO_IBS1
ISO_IBS2
ISO_CHINESE_IBS
SM2SIG_SM3
GOSTR34102012_256A
GOSTR34102012_256B
GOSTR34102012_256C
GOSTR34102012_256D
GOSTR34102012_512A
GOSTR34102012_512B
GOSTR34102012_512C
RSA_PSS_SHA256
RSA_PSS_SHA384
RSA_PSS_SHA512
ED25519
ED448
RSA_PSS_PSS_SHA256
RSA_PSS_PSS_SHA384
RSA_PSS_PSS_SHA512
ECDSA_BRAINPOOLP256R1TLS13_SHA256
ECDSA_BRAINPOOLP384R1TLS13_SHA384
ECDSA_BRAINPOOLP512R1TLS13_SHA512
RSA_PKCS1_MD5_SHA1
Unknown(u16)
Implementations§
§impl SignatureScheme
impl SignatureScheme
Trait Implementations§
§impl Clone for SignatureScheme
impl Clone for SignatureScheme
§fn clone(&self) -> SignatureScheme
fn clone(&self) -> SignatureScheme
Returns a duplicate 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 more§impl Debug for SignatureScheme
impl Debug for SignatureScheme
§impl<'de> Deserialize<'de> for SignatureScheme
impl<'de> Deserialize<'de> for SignatureScheme
§fn deserialize<D>(
deserializer: D,
) -> Result<SignatureScheme, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SignatureScheme, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for SignatureScheme
impl Display for SignatureScheme
§impl From<SignatureScheme> for u16
impl From<SignatureScheme> for u16
§fn from(value: SignatureScheme) -> u16
fn from(value: SignatureScheme) -> u16
Converts to this type from the input type.
§impl From<u16> for SignatureScheme
impl From<u16> for SignatureScheme
§fn from(x: u16) -> SignatureScheme
fn from(x: u16) -> SignatureScheme
Converts to this type from the input type.
§impl Hash for SignatureScheme
impl Hash for SignatureScheme
§impl LowerHex for SignatureScheme
impl LowerHex for SignatureScheme
§impl Ord for SignatureScheme
impl Ord for SignatureScheme
§impl PartialEq for SignatureScheme
impl PartialEq for SignatureScheme
§impl PartialOrd for SignatureScheme
impl PartialOrd for SignatureScheme
§impl RamaFrom<SignatureScheme> for SignatureScheme
impl RamaFrom<SignatureScheme> for SignatureScheme
fn rama_from(value: SignatureScheme) -> SignatureScheme
§impl RamaFrom<SignatureScheme> for SignatureScheme
impl RamaFrom<SignatureScheme> for SignatureScheme
fn rama_from(value: SignatureScheme) -> SignatureScheme
§impl RamaTryFrom<SignatureScheme> for SslSignatureAlgorithm
impl RamaTryFrom<SignatureScheme> for SslSignatureAlgorithm
type Error = SignatureScheme
fn rama_try_from( value: SignatureScheme, ) -> Result<SslSignatureAlgorithm, <SslSignatureAlgorithm as RamaTryFrom<SignatureScheme>>::Error>
§impl RamaTryFrom<SslSignatureAlgorithm> for SignatureScheme
impl RamaTryFrom<SslSignatureAlgorithm> for SignatureScheme
type Error = SslSignatureAlgorithm
fn rama_try_from( value: SslSignatureAlgorithm, ) -> Result<SignatureScheme, <SignatureScheme as RamaTryFrom<SslSignatureAlgorithm>>::Error>
§impl Serialize for SignatureScheme
impl Serialize for SignatureScheme
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl UpperHex for SignatureScheme
impl UpperHex 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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Create a new
Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more§impl<T, U> RamaTryInto<U> for Twhere
U: RamaTryFrom<T>,
impl<T, U> RamaTryInto<U> for Twhere
U: RamaTryFrom<T>,
type Error = <U as RamaTryFrom<T>>::Error
fn rama_try_into(self) -> Result<U, <U as RamaTryFrom<T>>::Error>
§impl<T, U> RamaTryInto<U> for Twhere
U: RamaTryFrom<T>,
impl<T, U> RamaTryInto<U> for Twhere
U: RamaTryFrom<T>,
type Error = <U as RamaTryFrom<T>>::Error
fn rama_try_into(self) -> Result<U, <U as RamaTryFrom<T>>::Error>
§impl<T> ToSmolStr for T
impl<T> ToSmolStr for T
fn to_smolstr(&self) -> SmolStr
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.