pub struct Signature(/* private fields */);Expand description
An opaque signature type that may contain either RSA or ECDSA (P-256 and P-384) signatures.
Trait Implementations§
Source§impl From<Signature<NistP256>> for Signature
impl From<Signature<NistP256>> for Signature
Source§fn from(value: EcP256Signature) -> Self
fn from(value: EcP256Signature) -> Self
Converts to this type from the input type.
Source§impl From<Signature<NistP384>> for Signature
impl From<Signature<NistP384>> for Signature
Source§fn from(value: EcP384Signature) -> Self
fn from(value: EcP384Signature) -> Self
Converts to this type from the input type.
Source§impl From<Signature> for Signature
impl From<Signature> for Signature
Source§fn from(value: RsaSignature) -> Self
fn from(value: RsaSignature) -> Self
Converts to this type from the input type.
Source§impl SignatureBitStringEncoding for Signature
impl SignatureBitStringEncoding for Signature
Source§fn to_bitstring(&self) -> Result<BitString>
fn to_bitstring(&self) -> Result<BitString>
BitString encoding for this signature.Source§impl SignatureEncoding for Signature
impl SignatureEncoding for Signature
Source§impl Signer<Signature> for SigningKey
impl Signer<Signature> for SigningKey
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin 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