@Override
  public byte[] getEncoded() {
    return encoded.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