|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PBES1Algorithm>
edu.vt.middleware.crypt.pkcs.PBES1Algorithm
public enum PBES1Algorithm
Password-based encryption algorithms defined in PKCS#5 for PBES1 scheme.
| Enum Constant Summary | |
|---|---|
PbeWithMD2AndDES_CBC
PBES1 encryption method with MD2 hash and DES CBC cipher. |
|
PbeWithMD2AndRC2_CBC
PBES1 encryption method with MD2 hash and RC2 CBC cipher. |
|
PbeWithMD5AndDES_CBC
PBES1 encryption method with MD5 hash and DES CBC cipher. |
|
PbeWithMD5AndRC2_CBC
PBES1 encryption method with MD5 hash and RC2 CBC cipher. |
|
PbeWithSHA1AndDES_CBC
PBES1 encryption method with SHA1 hash and DES CBC cipher. |
|
PbeWithSHA1AndRC2_CBC
PBES1 encryption method with SHA1 hash and RC2 CBC cipher. |
|
| Method Summary | |
|---|---|
static PBES1Algorithm |
fromOid(String oid)
Gets the PBE algorithm for the given object identifier. |
DigestAlgorithm |
getDigest()
|
String |
getOid()
|
AlgorithmSpec |
getSpec()
|
static PBES1Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PBES1Algorithm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PBES1Algorithm PbeWithMD2AndDES_CBC
public static final PBES1Algorithm PbeWithMD2AndRC2_CBC
public static final PBES1Algorithm PbeWithMD5AndDES_CBC
public static final PBES1Algorithm PbeWithMD5AndRC2_CBC
public static final PBES1Algorithm PbeWithSHA1AndDES_CBC
public static final PBES1Algorithm PbeWithSHA1AndRC2_CBC
| Method Detail |
|---|
public static PBES1Algorithm[] values()
for (PBES1Algorithm c : PBES1Algorithm.values()) System.out.println(c);
public static PBES1Algorithm valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static PBES1Algorithm fromOid(String oid)
oid - PBE algorithm OID.
IllegalArgumentException - If no matching algorithm found.public String getOid()
public AlgorithmSpec getSpec()
public DigestAlgorithm getDigest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||