public static KeyPair load(final File file) {
    return SIGNATURE_ALGORITHM.get().createKeyPair(loadPrivateKey(file));
  }
Load key pair.

@param file the file
@return the key pair
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/KeyPairUtil.java