|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.irm.engine.content.sealing.IllegalEncryptedContentBlockSizeException
public class IllegalEncryptedContentBlockSizeException
Illegal encrypted content block size. When performing a sealing operation, content encryption options can be supplied that control the size of the encrypted content blocks. The encrypted content block size must be a multiple of the cipher block size. The cipher block size relates to the CryptoSchema
involved in the sealing process. This restriction on encrypted content block sizes allows the sealing process to work with block based ciphers as well as streaming ciphers.
The error message associated with this exception is:
IRM-01077: The encrypted content block size must be a direct multiple of the cipher block size. The cipher block size is {0}, but the encrypted content block size has been set as {1}.
EncryptionOptions
, Serialized FormConstructor Summary | |
---|---|
IllegalEncryptedContentBlockSizeException(int blockSize, int encryptedContentBlockSize) Constructor. |
|
IllegalEncryptedContentBlockSizeException(int blockSize, int encryptedContentBlockSize, Throwable cause) Constructor. |
Method Summary | |
---|---|
int |
getBlockSize() Cipher block size. |
int |
getEncryptedContentBlockSize() Encrypted encrypted content block size. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IllegalEncryptedContentBlockSizeException(int blockSize, int encryptedContentBlockSize)
blockSize
- Cipher block size.encryptedContentBlockSize
- Encrypted encrypted content block size.public IllegalEncryptedContentBlockSizeException(int blockSize, int encryptedContentBlockSize, Throwable cause)
blockSize
- Cipher block size.encryptedContentBlockSize
- Encrypted encrypted content block size.cause
- Cause of the exception.Method Detail |
---|
public final int getBlockSize()
public final int getEncryptedContentBlockSize()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |