public static KeyPair create(
      final SECPPrivateKey privateKey, final ECDomainParameters curve, final String algorithm) {
    return new KeyPair(privateKey, SECPPublicKey.create(privateKey, curve, algorithm));
  }
Create key pair.

@param privateKey the private key
@param curve the curve
@param algorithm the algorithm
@return the key pair
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/KeyPair.java