public class IdentityCryptHandler extends AbstractCryptHandler
ICryptHandler, doing nothing a all.| Constructor and Description |
|---|
IdentityCryptHandler() |
| 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.
|
public byte[] decrypt(COSObjectKey key, byte[] bytes) throws COSSecurityException
ICryptHandlerkey - of the object which provides the contextbytes - to decryptCOSSecurityExceptionpublic byte[] encrypt(COSObjectKey key, byte[] bytes) throws COSSecurityException
ICryptHandlerkey - of the object which provides the contextbytes - to decryptCOSSecurityExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.