This will dispatch to the correct method.
Parameters: obj - The object to decrypt. Parameters: objNum - The object number. Parameters: genNum - The object generation Number. throws: CryptographyException - If there is an error decrypting the stream. throws: IOException - If there is an error getting the stream data.
This will decrypt the document.
Parameters: password - The password for the document. throws: CryptographyException - If there is an error decrypting the document. throws: IOException - If there is an error getting the stream data. throws: InvalidPasswordException - If the password is not a user or owner password.
This will encrypt the given document, given the owner password and user password.
The encryption method used is the standard filter.
throws: CryptographyException - If an error occurs during encryption. throws: IOException - If there is an error accessing the data.