getPublicKey static method
Implementation
static ETHPublicKey? getPublicKey(
List<int> messageDigest, List<int> signature,
{bool hashMessage = true, int? payloadLength}) {
final verifier = ETHVerifier.getPublicKey(messageDigest, signature,
hashMessage: hashMessage, payloadLength: payloadLength);
if (verifier == null) return null;
final pubKey = Secp256k1PublicKeyEcdsa.fromBytes(verifier.point.toBytes());
return ETHPublicKey._(pubKey);
}