pub enum AnySignature {
RsaSignature2018(<RsaSignature2018 as CryptographicSuite>::Signature),
Ed25519Signature2018(<Ed25519Signature2018 as CryptographicSuite>::Signature),
Ed25519Signature2020(<Ed25519Signature2020 as CryptographicSuite>::Signature),
EdDsa2022(<EdDsa2022 as CryptographicSuite>::Signature),
EdDsaRdfc2022(<EdDsaRdfc2022 as CryptographicSuite>::Signature),
EcdsaSecp256k1Signature2019(<EcdsaSecp256k1Signature2019 as CryptographicSuite>::Signature),
EcdsaSecp256r1Signature2019(<EcdsaSecp256r1Signature2019 as CryptographicSuite>::Signature),
EcdsaRdfc2019(<EcdsaRdfc2019 as CryptographicSuite>::Signature),
EcdsaSd2023(<EcdsaSd2023 as CryptographicSuite>::Signature),
JsonWebSignature2020(<JsonWebSignature2020 as CryptographicSuite>::Signature),
Unknown,
}Expand description
Any signature.
Variants§
RsaSignature2018(<RsaSignature2018 as CryptographicSuite>::Signature)
Ed25519Signature2018(<Ed25519Signature2018 as CryptographicSuite>::Signature)
Ed25519Signature2020(<Ed25519Signature2020 as CryptographicSuite>::Signature)
EdDsa2022(<EdDsa2022 as CryptographicSuite>::Signature)
EdDsaRdfc2022(<EdDsaRdfc2022 as CryptographicSuite>::Signature)
EcdsaSecp256k1Signature2019(<EcdsaSecp256k1Signature2019 as CryptographicSuite>::Signature)
EcdsaSecp256r1Signature2019(<EcdsaSecp256r1Signature2019 as CryptographicSuite>::Signature)
EcdsaRdfc2019(<EcdsaRdfc2019 as CryptographicSuite>::Signature)
EcdsaSd2023(<EcdsaSd2023 as CryptographicSuite>::Signature)
JsonWebSignature2020(<JsonWebSignature2020 as CryptographicSuite>::Signature)
Unknown
Trait Implementations§
Source§impl AlterSignature for AnySignature
impl AlterSignature for AnySignature
Source§impl AsRef<str> for AnySignature
impl AsRef<str> for AnySignature
Source§impl Clone for AnySignature
impl Clone for AnySignature
Source§fn clone(&self) -> AnySignature
fn clone(&self) -> AnySignature
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 moreSource§impl Debug for AnySignature
impl Debug for AnySignature
Source§impl<'de> DeserializeTyped<'de, AnySuite> for AnySignature
impl<'de> DeserializeTyped<'de, AnySuite> for AnySignature
fn deserialize_typed<D>(
suite: &AnySuite,
deserializer: D,
) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for AnySignature
impl RefUnwindSafe for AnySignature
impl Send for AnySignature
impl Sync for AnySignature
impl Unpin for AnySignature
impl UnwindSafe for AnySignature
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.