Function did_key::from_existing_key

source ·
pub fn from_existing_key<T: Generate + ECDH + DIDCore + Fingerprint + Into<KeyPair>>(
    public_key: &[u8],
    private_key: Option<&[u8]>
) -> PatchedKeyPair
Expand description

Generate key pair from existing key material