ETHVerifier.fromKeyBytes constructor
Factory method to create an ETHVerifier from a byte representation of a public key.
Implementation
factory ETHVerifier.fromKeyBytes(List<int> keyBytes) {
final point = ProjectiveECCPoint.fromBytes(
curve: ETHSignerConst.secp256.curve, data: keyBytes, order: null);
final verifyingKey = ECDSAPublicKey(ETHSignerConst.secp256, point);
return ETHVerifier._(ECDSAVerifyKey(verifyingKey));
}