|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdsi.util.AlgorithmEnum jsdsi.util.KeyEnum
Experimental class and as such may be removed without warning.
Enum class for Key algorithms.
Field Summary | |
static KeyEnum |
DSA
The Digital Signature Algorithm as defined in FIPS PUB 186. |
static KeyEnum |
RSA
The RSA encryption algorithm as defined in PKCS #1. |
Constructor Summary | |
protected |
KeyEnum(java.lang.String jdkName,
java.lang.String spkiName)
|
Method Summary | |
static KeyEnum |
fromJdk(java.lang.String jdkName)
Given a JDK name for a Key algorythm, return its KeyEnum |
static KeyEnum |
fromSpki(java.lang.String spkiName)
Given a SPKI name for a Key algorithm, return its KeyEnum |
Methods inherited from class jsdsi.util.AlgorithmEnum |
equals, hashCode, jdkName, spkiName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final KeyEnum DSA
public static final KeyEnum RSA
Constructor Detail |
protected KeyEnum(java.lang.String jdkName, java.lang.String spkiName)
jdkName
- spkiName
- Method Detail |
public static KeyEnum fromJdk(java.lang.String jdkName)
jdkName
- JDK name
public static KeyEnum fromSpki(java.lang.String spkiName)
spkiName
- SPKI name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |