SchnorrIdentity.fromKeyPair constructor

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

Implementation

factory SchnorrIdentity.fromKeyPair(
  BinaryBlob publicKey,
  BinaryBlob privateKey,
) {
  return SchnorrIdentity(
    SchnorrPublicKey.fromRaw(publicKey),
    privateKey,
  );
}