gnu.crypto.assembly
Class Direction
java.lang.Object
gnu.crypto.assembly.Direction
- public final class Direction
- extends java.lang.Object
An enumeration type for wiring Stage
instances into Cascade
Cipher chains, as well as for operating a Cascade
in a
given direction.
The possible values for this type are two:
- FORWARD: equivalent to
IMode.ENCRYPTION
, and
its inverse value
- REVERSED: equivalent to
IMode.DECRYPTION
.
- Version:
- $Revision: 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FORWARD
public static final Direction FORWARD
REVERSED
public static final Direction REVERSED
reverse
public static final Direction reverse(Direction d)
toString
public java.lang.String toString()
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.