|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
xjava.security.IllegalBlockSizeException
This exception is thrown when an incorrect block size is processed through a cipher.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.3 $
| Field Summary | |
|---|---|
int |
blockSize
Deprecated. Use getBlockSize(). |
int |
dataSize
Deprecated. Use getDataSize(). |
| Fields inherited from class java.lang.RuntimeException |
|---|
|
| Constructor Summary | |
|---|---|
IllegalBlockSizeException(int blockSize,
int dataSize)
Constructs an IllegalBlockSizeException with the specified block size and illegal data size. |
|
IllegalBlockSizeException(int blockSize,
int dataSize,
java.lang.String message)
Constructs an IllegalBlockSizeException with the specified block size, illegal data size, and detail message. |
|
IllegalBlockSizeException(java.lang.String message)
Constructs an IllegalBlockSizeException with the specified detail message. |
|
| Method Summary | |
|---|---|
int |
getBlockSize()
Gets the block size of the cipher (or 0 if this was not set). |
int |
getDataSize()
Gets the size of the data passed to the cipher (or 0 if this was not set). |
| 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 |
| Field Detail |
public int blockSize
public int dataSize
| Constructor Detail |
public IllegalBlockSizeException(java.lang.String message)
message - the detail message.
public IllegalBlockSizeException(int blockSize,
int dataSize)
The detail message is set to "blockSize = " +
blockSize + ", dataSize = " + dataSize.
blockSize - the block size of the cipher.dataSize - the illegal size of the data passed to the cipher.
public IllegalBlockSizeException(int blockSize,
int dataSize,
java.lang.String message)
This constructor is not supported in JavaSoft's version of JCE.
blockSize - the block size of the cipher.dataSize - the illegal size of the data passed to the cipher.message - the detail message.| Method Detail |
public int getBlockSize()
This method is not supported in JavaSoft's version of JCE.
public int getDataSize()
This method is not supported in JavaSoft's version of JCE.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||