Ed25519KeyIdentity.fromKeyPair constructor

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

Implementation

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