|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgnu.crypto.assembly.Stage
gnu.crypto.assembly.CascadeStage
A Cascade Stage in a Cascade Cipher.
| Field Summary |
| Fields inherited from class gnu.crypto.assembly.Stage |
DIRECTION, forward, wired |
| Constructor Summary | |
(package private) |
CascadeStage(Cascade cascade,
Direction forwardDirection)
|
| Method Summary | |
java.util.Set |
blockSizes()
Returns the Set of supported block sizes for this
Stage. |
int |
currentBlockSize()
Returns the currently set block size for the stage. |
(package private) void |
initDelegate(java.util.Map attributes)
|
(package private) void |
resetDelegate()
|
boolean |
selfTest()
Conducts a simple correctness test that consists of basic symmetric encryption / decryption test(s) for all supported block and key sizes of underlying block cipher(s) wrapped by Mode leafs. |
(package private) void |
updateDelegate(byte[] in,
int inOffset,
byte[] out,
int outOffset)
|
| Methods inherited from class gnu.crypto.assembly.Stage |
getInstance, getInstance, init, reset, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
CascadeStage(Cascade cascade,
Direction forwardDirection)
| Method Detail |
public java.util.Set blockSizes()
StageSet of supported block sizes for this
Stage. Each element in the returned Set is an
instance of Integer.
blockSizes in class StageSet of supported block sizes.
void initDelegate(java.util.Map attributes)
throws java.security.InvalidKeyException
initDelegate in class Stagejava.security.InvalidKeyException
public int currentBlockSize()
throws java.lang.IllegalStateException
Stage
currentBlockSize in class Stagejava.lang.IllegalStateException - if the instance is not initialised.void resetDelegate()
resetDelegate in class Stage
void updateDelegate(byte[] in,
int inOffset,
byte[] out,
int outOffset)
updateDelegate in class Stagepublic boolean selfTest()
Stage
selfTest in class Stagetrue if the implementation passes simple
correctness tests. Returns false otherwise.
|
For the latest news and information visit The GNU Crypto project |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||