|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICryptHandler
The encryption/decryption algorithm for a PDF document. This object does the
real crypt work, whereas the context like initialization steps,
authenthication, authorization is done by the ISecurityHandler and
ISystemSecurityHandler.
PDF security /V4 defines two standard algorithms, RC4 and AES based.
Additionally a transparent algorithm provided by a ISecurityHandler
can be used.
| Method Summary | |
|---|---|
byte[] |
decrypt(COSObjectKey key,
byte[] bytes)
Decrypt any bytes in the context of COSObject referenced by the provided key. |
byte[] |
encrypt(COSObjectKey key,
byte[] bytes)
Encrypt any bytes in the context of COSObject referenced by the provided key. |
| Method Detail |
|---|
byte[] decrypt(COSObjectKey key,
byte[] bytes)
throws COSSecurityException
key - of the object which provides the contextbytes - to decrypt
COSSecurityException
byte[] encrypt(COSObjectKey key,
byte[] bytes)
throws COSSecurityException
key - of the object which provides the contextbytes - to decrypt
COSSecurityException
|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||