de.intarsys.pdf.crypt
Class COSEncryption
java.lang.Object
de.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.crypt.COSEncryption
- All Implemented Interfaces:
- ICOSObjectListener, IAttributeSupport
public class COSEncryption
- extends COSBasedObject
The definition of the document encryption.
This object contains the state information defining the context for the
document encryption.
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString, toString |
DK_Filter
public static final COSName DK_Filter
DK_SubFilter
public static final COSName DK_SubFilter
DK_V
public static final COSName DK_V
DK_Length
public static final COSName DK_Length
DK_CF
public static final COSName DK_CF
CN_IDENTITY
public static final COSName CN_IDENTITY
DK_StmF
public static final COSName DK_StmF
DK_EFF
public static final COSName DK_EFF
DK_StrF
public static final COSName DK_StrF
META
public static final COSEncryption.MetaClass META
- The meta class instance
getEncryptionIn
public static COSEncryption getEncryptionIn(STXRefSection xRefSection)
setEncryptionIn
public void setEncryptionIn(STXRefSection xRefSection)
getFilter
public COSName getFilter()
getLength
public int getLength()
- The length of the encryption key, in bits. The value must be a multiple
of 8, in the range 40 to 128. Default value: 40.
- Returns:
- length of the encryption key, in bits
getCryptFilterNameString
public COSName getCryptFilterNameString()
getCryptFilterNameStream
public COSName getCryptFilterNameStream()
getCryptFilterNameFile
public COSName getCryptFilterNameFile()
getCryptFilterDict
public COSDictionary getCryptFilterDict(COSName name)
getVersion
public int getVersion()
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.