Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,8 @@ public void setStringFilterName(COSName stringFilterName)
* Set the Perms entry in the encryption dictionary.
*
* @param perms A 16 byte array.
*
* @throws IOException If there is an error setting the data.
*/
public void setPerms(byte[] perms) throws IOException
public void setPerms(byte[] perms)
{
dictionary.setItem( COSName.PERMS, new COSString(perms) );
}
Expand All @@ -604,10 +602,8 @@ public void setPerms(byte[] perms) throws IOException
* Get the Perms entry in the encryption dictionary.
*
* @return A 16 byte array or null if there is no Perms entry.
*
* @throws IOException If there is an error accessing the data.
*/
public byte[] getPerms() throws IOException
public byte[] getPerms()
{
byte[] perms = null;
COSString permsCosString = (COSString)dictionary.getDictionaryObject( COSName.PERMS );
Expand Down