pub trait Ed255: CryptoClient {
fn generate_ed255_private_key(
&mut self,
persistence: Location
) -> ClientResult<'_, GenerateKey, Self> { ... }
fn derive_ed255_public_key(
&mut self,
private_key: KeyId,
persistence: Location
) -> ClientResult<'_, DeriveKey, Self> { ... }
fn deserialize_ed255_key<'c>(
&'c mut self,
serialized_key: &[u8],
format: KeySerialization,
attributes: StorageAttributes
) -> ClientResult<'c, DeserializeKey, Self> { ... }
fn serialize_ed255_key(
&mut self,
key: KeyId,
format: KeySerialization
) -> ClientResult<'_, SerializeKey, Self> { ... }
fn sign_ed255<'c>(
&'c mut self,
key: KeyId,
message: &[u8]
) -> ClientResult<'c, Sign, Self> { ... }
fn verify_ed255<'c>(
&'c mut self,
key: KeyId,
message: &[u8],
signature: &[u8]
) -> ClientResult<'c, Verify, Self> { ... }
}