An enumeration type for wiring Stage instances into Cascade chains, as well as for operating a Cascade in a given direction.
This class cannot be instantiated; but its (only) two possible values can be used for constructing Stage elements, and initializing Cascade instances:
gnu.crypto.mode.IMode#ENCRYPTION
; and
its inverse value
gnu.crypto.mode.IMode#DECRYPTION
.
This class offers a Factory method to return the inverse of a designated Direction instance:
Direction reverse (Direction d) | Function |