This section describes how to extract password-protected container files by using the Java API. The following guidelines apply to specific file types.
pstsr
). The native PST readers (pstxsr
and pstnsr
) do not support files that use high encryption and return the error message KVERR_PasswordProtected
if a PST file is encrypted with high encryption.To open container files
Set the credential information to an ExtOpenDocConfig
object, and pass it to the extOpenDocument
method.
For example:
dconfig = new ExtOpenDocConfig();
odconfig.setPassword(m_password);
extContextID = m_objExportFilter.extOpenDocument(inFile, odconfig);