title: How to check pdf file is password protected?
body: <p>How to check pdf file is password protected or not in java?
  I know of several tools/libraries that can do this but I want to know if this is possible with just program in java.</p>