|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.oyster.crypto.AlgorithmChecker
AlgorithmChecker class represents check point for input parameters for the
symmetric encryption. Algorithm names and corresponding key length are:
DES - 56
DES_EDE3_CBC - 128, 192
RC2_CBC - 40, 64, 128
Constructor Summary | |
AlgorithmChecker(java.lang.String algorithm0,
int keySize0)
Object construction with the given name of algorithm and key size in bits. |
Method Summary | |
java.lang.String |
getAlgorithmName()
Returns algorithm name used in the symmetric encryption. |
int |
getKeySize()
Returns key size in bits which is used in the symmetric algorithm. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AlgorithmChecker(java.lang.String algorithm0, int keySize0) throws SMIMEException
algorithm0
- name of the one of the following algorithms: "DES",
"DES_EDE3_CBC" and "RC2_CBC".keySize0
- key size in bits.
SMIMEException
- in case of invalid algorithm names, or in case
of wrong key sizes in bits.Method Detail |
public java.lang.String getAlgorithmName()
public int getKeySize()
|
Enhydra-Oyster 2.1-7 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |