com.snowtide.pdf
Class EncryptionInfo

java.lang.Object
  extended by com.snowtide.pdf.EncryptionInfo

public class EncryptionInfo
extends java.lang.Object

Instances of this class provide information about the parameters used to encrypt a PDF document. The properties provided here map directly to those specified in Section 3.5 of the Adobe PDF document specification; please refer to that document for more information about what these properties mean.

Version:
©2004-2012 Snowtide Informatics Systems, Inc.

Constructor Summary
EncryptionInfo()
           
 
Method Summary
 int getBitLength()
          Returns the bit length of the key used to encrypt the document; will always be a multiple of 8, and between 40 - 128.
 java.lang.String getFilterName()
          Returns the name of the security handler for the PDF document.
 java.lang.String getPdfName()
          Returns the name of the PDF document that this object is associated with.
 com.snowtide.pdf.CryptFilter getStreamFilter()
           
 com.snowtide.pdf.CryptFilter getStringFilter()
           
 java.lang.String getSubfilterName()
           
 int getV()
          Returns the algorithm "version" used when the document was encrypted.
 void setStreamFilter(com.snowtide.pdf.CryptFilter streamFilter)
           
 void setStringFilter(com.snowtide.pdf.CryptFilter stringFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionInfo

public EncryptionInfo()
Method Detail

getPdfName

public java.lang.String getPdfName()
Returns the name of the PDF document that this object is associated with.


getFilterName

public java.lang.String getFilterName()
Returns the name of the security handler for the PDF document.


getSubfilterName

public java.lang.String getSubfilterName()

getV

public int getV()
Returns the algorithm "version" used when the document was encrypted.


getBitLength

public int getBitLength()
Returns the bit length of the key used to encrypt the document; will always be a multiple of 8, and between 40 - 128.


getStringFilter

public com.snowtide.pdf.CryptFilter getStringFilter()

setStringFilter

public void setStringFilter(com.snowtide.pdf.CryptFilter stringFilter)

getStreamFilter

public com.snowtide.pdf.CryptFilter getStreamFilter()

setStreamFilter

public void setStreamFilter(com.snowtide.pdf.CryptFilter streamFilter)