We are using Aspose.PDF for Java 20.4 and noticed that checking whether a PDF is password protected sometimes takes more than 1 minute.
public boolean isPdfPasswordProtected(byte[] pdfFileContent) throws Exception {
…...web) or contain embedded objects like images, fonts, or annotations...web) or contain embedded objects like images, fonts, or annotations...