fromKeyPair static method

Ed25519KeyIdentity fromKeyPair(
  1. BinaryBlob publicKey,
  2. BinaryBlob privateKey
)

Implementation

static Ed25519KeyIdentity fromKeyPair(
    BinaryBlob publicKey, BinaryBlob privateKey) {
  return Ed25519KeyIdentity(Ed25519PublicKey.fromRaw(publicKey), privateKey);
}