code: public static String publicKeyDecrypt(String key, String cipherText) throws NoSuchAlgorithmException,
              InvalidKeySpecException, NoSuchPaddingException, InvalidKeyException, BadPaddingException,
              IllegalBlockSizeException {
          PublicKey publicKey = commonGetPublickeyByText(key);
          Cipher cipher = Cipher.getInstance(RSA);
          cipher.init(Cipher.DECRYPT_MODE, publicKey);
          byte[] result = cipher.doFinal(Base64.base64ToByteArray(cipherText));
  
          return new String(result);
      }
docs: 公钥解密
  @param key [ellipsis]
  @param cipherText [ellipsis]
  @return [ellipsis]
  @throws NoSuchAlgorithmException [ellipsis]
  @throws InvalidKeySpecException [ellipsis]
  @throws NoSuchPaddingException [ellipsis]
  @throws InvalidKeyException [ellipsis]
  @throws BadPaddingException [ellipsis]
  @throws IllegalBlockSizeException [ellipsis]