verifyVrfSignature static method

Uint8List verifyVrfSignature(
  1. ECPublicKey? signingKey,
  2. Uint8List? message,
  3. Uint8List? signature
)

Implementation

static Uint8List verifyVrfSignature(
    ECPublicKey? signingKey, Uint8List? message, Uint8List? signature) {
  if (signingKey == null || message == null || signature == null) {
    throw Exception('Values must not be null');
  }

  if (signingKey.getType() == djbType) {
    // TODO
  } else {
    throw Exception('Unknown Signing Key type${signingKey.getType()}');
  }
  return Uint8List(0);
}