|
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.key.IllegalWrappingKeySizeException
public class IllegalWrappingKeySizeException
Illegal wrapping key size. The wrapping key must be of a sufficient size for the cryptographic algorithm used for wrapping to encrypt the key.
The error message associated with this exception is:
IRM-01081: A wrapping key {1} bits in size is insufficient to wrap a {0} bit key.
| Constructor Summary | |
|---|---|
IllegalWrappingKeySizeException(int keySize, int wrappingKeySize)Constructor. |
|
IllegalWrappingKeySizeException(int keySize, int wrappingKeySize, Throwable cause)Constructor. |
|
| Method Summary | |
|---|---|
int |
getKeySize()The size in bits of the key. |
int |
getWrappingKeySize()The size in bits of the wrapping key. |
| 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 IllegalWrappingKeySizeException(int keySize,
int wrappingKeySize)
keySize - The size in bits of the key.wrappingKeySize - The size in bits of the wrapping key.
public IllegalWrappingKeySizeException(int keySize,
int wrappingKeySize,
Throwable cause)
keySize - The size in bits of the key.wrappingKeySize - The size in bits of the wrapping key.cause - Cause of the exception.| Method Detail |
|---|
public final int getKeySize()
public final int getWrappingKeySize()
|
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 | |||||||||