Function ddoresolver_rs::from_existing_key [−][src]
pub fn from_existing_key<T>(
public_key: &[u8],
private_key: Option<&[u8]>
) -> KeyPair where
T: Generate + Ecdsa + Ecdh + DIDCore + Fingerprint + Into<KeyPair>,
Generate key pair from existing key material