public static SECPPublicKey create(final BigInteger key, final String algorithm) {
    checkNotNull(key);
    return create(toBytes64(key.toByteArray()), algorithm);
  }
Create secp public key.

@param key the key
@param algorithm the algorithm
@return the secp public key
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/SECPPublicKey.java