public interface ICryptHandler
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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
byte[] decrypt(COSObjectKey key, byte[] bytes) throws COSSecurityException
key - of the object which provides the contextbytes - to decryptCOSSecurityExceptionbyte[] encrypt(COSObjectKey key, byte[] bytes) throws COSSecurityException
key - of the object which provides the contextbytes - to decryptCOSSecurityExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.