#[repr(C)]pub struct Signature {
pub(crate) R: [u8; 57],
pub(crate) s: [u8; 57],
}Expand description
Ed448 signature.
This type represents a container for the byte serialization of an Ed448 signature, and does not necessarily represent well-formed field or curve elements.
Signature verification libraries are expected to reject invalid field elements at the time a signature is verified.
Fields§
§R: [u8; 57]§s: [u8; 57]Implementations§
Trait Implementations§
Source§impl AssociatedAlgorithmIdentifier for Signature
Available on crate feature pkcs8 only.
impl AssociatedAlgorithmIdentifier for Signature
Available on crate feature
pkcs8 only.Source§const ALGORITHM_IDENTIFIER: AlgorithmIdentifier<AnyRef<'static>> = pkcs8::ALGORITHM_ID
const ALGORITHM_IDENTIFIER: AlgorithmIdentifier<AnyRef<'static>> = pkcs8::ALGORITHM_ID
AlgorithmIdentifier for this structure.Source§impl<D> DigestSigner<D, Signature> for Context<'_, '_, SigningKey>
impl<D> DigestSigner<D, Signature> for Context<'_, '_, SigningKey>
Source§impl<D> DigestSigner<D, Signature> for SigningKey
impl<D> DigestSigner<D, Signature> for SigningKey
Source§impl<D> DigestVerifier<D, Signature> for Context<'_, '_, VerifyingKey>
impl<D> DigestVerifier<D, Signature> for Context<'_, '_, VerifyingKey>
Source§impl<D> DigestVerifier<D, Signature> for SigningKey
impl<D> DigestVerifier<D, Signature> for SigningKey
Source§impl<D> DigestVerifier<D, Signature> for VerifyingKey
impl<D> DigestVerifier<D, Signature> for VerifyingKey
Source§impl From<InnerSignature> for Signature
impl From<InnerSignature> for Signature
Source§fn from(inner: InnerSignature) -> Self
fn from(inner: InnerSignature) -> Self
Converts to this type from the input type.
Source§impl FromStr for Signature
Decode a signature from hexadecimal.
impl FromStr for Signature
Decode a signature from hexadecimal.
Upper and lower case hexadecimal are both accepted, however mixed case is rejected.
Source§impl PrehashSigner<Signature> for Context<'_, '_, SigningKey>
impl PrehashSigner<Signature> for Context<'_, '_, SigningKey>
Source§impl PrehashSigner<Signature> for SigningKey
impl PrehashSigner<Signature> for SigningKey
Source§impl SignatureBitStringEncoding for Signature
Available on crate features alloc and pkcs8 only.
impl SignatureBitStringEncoding for Signature
Available on crate features
alloc and pkcs8 only.Source§impl SignatureEncoding for Signature
impl SignatureEncoding for Signature
Source§impl Signer<Signature> for SigningKey
impl Signer<Signature> for SigningKey
Source§impl TryFrom<&Signature> for InnerSignature
impl TryFrom<&Signature> for InnerSignature
Source§impl TryFrom<Signature> for InnerSignature
impl TryFrom<Signature> for InnerSignature
Source§impl Verifier<Signature> for SigningKey
impl Verifier<Signature> for SigningKey
Source§impl Verifier<Signature> for VerifyingKey
impl Verifier<Signature> for VerifyingKey
impl Copy for Signature
impl Eq for Signature
impl StructuralPartialEq for Signature
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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§impl<T> DynAssociatedAlgorithmIdentifier for Twhere
T: AssociatedAlgorithmIdentifier,
impl<T> DynAssociatedAlgorithmIdentifier for Twhere
T: AssociatedAlgorithmIdentifier,
Source§fn algorithm_identifier(&self) -> Result<AlgorithmIdentifier<Any>, Error>
fn algorithm_identifier(&self) -> Result<AlgorithmIdentifier<Any>, Error>
AlgorithmIdentifier for this structure. Read more