|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.symmetric.AlgorithmSpec
public class AlgorithmSpec
Describes a symmetric cipher algorithm in terms of a (name, mode, padding) tuple.
| Constructor Summary | |
|---|---|
AlgorithmSpec(String algorithm)
Creates a new instance for the given cipher algorithm name. |
|
AlgorithmSpec(String algorithm,
String cipherMode,
String cipherPadding)
Creates a new instance for the given cipher algorithm name. |
|
| Method Summary | |
|---|---|
String |
getMode()
Gets the cipher mode. |
String |
getName()
Gets the cipher algorithm name. |
String |
getPadding()
Gets the cipher padding scheme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlgorithmSpec(String algorithm)
algorithm - Cipher algorithm name.
public AlgorithmSpec(String algorithm,
String cipherMode,
String cipherPadding)
algorithm - Cipher algorithm name.cipherMode - Cipher mode.cipherPadding - Cipher padding scheme name.| Method Detail |
|---|
public String getName()
public String getMode()
public String getPadding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||