[−][src]Struct signatory_ring::ed25519::Signer
Ed25519 signature provider for ring
Trait Implementations
impl<'a> From<&'a Seed> for Signer
[src]
impl FromPkcs8 for Signer
[src]
fn from_pkcs8<K: AsRef<[u8]>>(secret_key: K) -> Result<Self, Error>
[src]
Create a new Ed25519Signer from a PKCS#8 encoded private key
fn read_pkcs8<R>(reader: R) -> Result<Self, Error> where
R: Read,
[src]
R: Read,
Read PKCS#8 data from the given std::io::Read
.
fn from_pkcs8_file<P>(path: P) -> Result<Self, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Read PKCS#8 data from the file at the given path.
impl GeneratePkcs8 for Signer
[src]
fn generate_pkcs8() -> Result<SecretKey, Error>
[src]
Randomly generate an Ed25519 PKCS#8 keypair
fn generate_pkcs8_file<P>(path: P) -> Result<File, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Write randomly generated PKCS#8 private key to the file at the given path. Read more
impl PublicKeyed<PublicKey> for Signer
[src]
fn public_key(&self) -> Result<PublicKey, Error>
[src]
impl Signer<Signature> for Signer
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self