public ECPoint asEcPoint(final ECDomainParameters curve) {
    // 0x04 is the prefix for uncompressed keys.
    final Bytes val = Bytes.concatenate(Bytes.of(0x04), encoded);
    return curve.getCurve().decodePoint(val.toArrayUnsafe());
  }
Returns this public key as an {@link ECPoint} of Bouncy Castle, to facilitate cryptographic
operations.

@param curve The elliptic curve (e.g. SECP256K1) represented as its domain parameters
@return This public key represented as an Elliptic Curve point.
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/SECPPublicKey.java