pub struct Ed25519EventSigner { /* private fields */ }Expand description
An Ed25519 event signer.
Implementations§
Source§impl Ed25519EventSigner
impl Ed25519EventSigner
Sourcepub fn from_pem(
key_id: &str,
private_key_pem: &str,
) -> Result<Self, SignatureError>
pub fn from_pem( key_id: &str, private_key_pem: &str, ) -> Result<Self, SignatureError>
Build from a PKCS#8 PEM private key.
§Errors
Returns SignatureError::Malformed if the PEM is not an Ed25519
PKCS#8 private key.
Auto Trait Implementations§
impl Freeze for Ed25519EventSigner
impl RefUnwindSafe for Ed25519EventSigner
impl Send for Ed25519EventSigner
impl Sync for Ed25519EventSigner
impl Unpin for Ed25519EventSigner
impl UnsafeUnpin for Ed25519EventSigner
impl UnwindSafe for Ed25519EventSigner
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