Type Definition did_key::Ed25519KeyPair [−][src]
type Ed25519KeyPair = AsymmetricKey<PublicKey, SecretKey>;
Implementations
impl Ed25519KeyPair
[src]
pub fn from_seed(seed: &[u8]) -> Self
[src]
pub fn from_public_key(public_key: &[u8]) -> Self
[src]
pub fn get_x25519(&self) -> X25519KeyPair
[src]
Trait Implementations
impl DIDCore for Ed25519KeyPair
[src]
fn get_verification_methods(
&self,
config: Config,
controller: &str
) -> Vec<VerificationMethod>
[src]
&self,
config: Config,
controller: &str
) -> Vec<VerificationMethod>