pub struct Ed25519Signer;Expand description
Ed25519 signature algorithm implementation
Implementations§
Source§impl Ed25519Signer
impl Ed25519Signer
Trait Implementations§
Source§impl Default for Ed25519Signer
impl Default for Ed25519Signer
Source§impl SignatureAlgorithm for Ed25519Signer
impl SignatureAlgorithm for Ed25519Signer
Source§fn algorithm_id(&self) -> &'static str
fn algorithm_id(&self) -> &'static str
Returns the unique identifier for this algorithm (e.g., “RSA-SHA256”, “Ed25519”)
Source§fn sign(&self, data: &[u8], private_key_pem: &str) -> Result<Vec<u8>>
fn sign(&self, data: &[u8], private_key_pem: &str) -> Result<Vec<u8>>
Sign data with the private key
Auto Trait Implementations§
impl Freeze for Ed25519Signer
impl RefUnwindSafe for Ed25519Signer
impl Send for Ed25519Signer
impl Sync for Ed25519Signer
impl Unpin for Ed25519Signer
impl UnsafeUnpin for Ed25519Signer
impl UnwindSafe for Ed25519Signer
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