79780059

Date: 2025-10-01 12:50:40
Score: 1
Natty:
Report link

To update @vishesh answer:

There has since been implemented an isPasswordProtected() method in the PSTMessageStore class. It works exactly as described by @vishesh, by checking the 0x67FF identifier.

See (commit)

Minimal code example:

PSTFile pstFile = new PSTFile(filename);
System.out.println(pstFile.getMessageStore().isPasswordProtected());
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @vishesh
  • User mentioned (0): @vishesh
  • Low reputation (0.5):
Posted by: stoldo