de.intarsys.pdf.crypt
Class SystemSecurityHandlerV4
java.lang.Object
de.intarsys.pdf.crypt.SystemSecurityHandler
de.intarsys.pdf.crypt.SystemSecurityHandlerV4
- All Implemented Interfaces:
- ISystemSecurityHandler
public class SystemSecurityHandlerV4
- extends SystemSecurityHandler
The ISystemSecurityHandler
implementing /V 4 of the PDF spec.
Method Summary |
byte[] |
decryptFile(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
|
byte[] |
decryptStream(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
|
byte[] |
decryptString(COSObjectKey key,
byte[] bytes)
|
byte[] |
encryptFile(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
|
byte[] |
encryptStream(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
|
byte[] |
encryptString(COSObjectKey key,
byte[] bytes)
|
ICryptHandler |
getCryptHandler(COSName name)
|
DK_NAME
public static final COSName DK_NAME
CN_AESV2
public static final COSName CN_AESV2
CN_None
public static final COSName CN_None
CN_V2
public static final COSName CN_V2
DK_CFM
public static final COSName DK_CFM
decryptFile
public byte[] decryptFile(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
decryptStream
public byte[] decryptStream(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
decryptString
public byte[] decryptString(COSObjectKey key,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
encryptFile
public byte[] encryptFile(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
encryptStream
public byte[] encryptStream(COSObjectKey key,
COSDictionary dict,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
encryptString
public byte[] encryptString(COSObjectKey key,
byte[] bytes)
throws COSSecurityException
- Throws:
COSSecurityException
getCryptHandler
public ICryptHandler getCryptHandler(COSName name)
throws COSSecurityException
- Throws:
COSSecurityException
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.