code: public static byte[] decrypt(byte[] cipherByteArray, PrivateKey privateKey) {
          try {
              Cipher cipher = Cipher.getInstance(algorithm);
              cipher.init(Cipher.DECRYPT_MODE, privateKey);
              return cipher.doFinal(cipherByteArray);
          } catch (NoSuchAlgorithmException e) {
              e.printStackTrace();
          } catch (NoSuchPaddingException e) {
              e.printStackTrace();
          } catch (InvalidKeyException e) {
              e.printStackTrace();
          } catch (BadPaddingException e) {
              e.printStackTrace();
          } catch (IllegalBlockSizeException e) {
              e.printStackTrace();
          }
          return null;
      }
docs: 使用私钥进行密文解密
  
  @param cipherByteArray
  @param privateKey
  @return