code: public static boolean verifySignatureWithPublicKey(byte[] keyData, byte[] message,
              byte[] signature, String signAlgo) throws NoSuchAlgorithmException,
              InvalidKeySpecException, InvalidKeyException, SignatureException {
          RSAPublicKey key = buildPublicKey(keyData);
          return verifySignature(key, message, signature, signAlgo);
      }
docs: Verify a signature with RSA public key.
  
  @param keyData
  RSA public key data (value of {@link RSAPublicKey#getEncoded()})
  @param message
  @param signature
  @param signAlgo
  signature algorithm to use. If empty, {@link #DEFAULT_SIGNATURE_ALGORITHM} will be
  used.
  @return
  @throws NoSuchAlgorithmException
  @throws InvalidKeySpecException
  @throws InvalidKeyException
  @throws SignatureException