|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.core.crypto.SecretKeyCipher.CipherSpec
CipherSpec is a wrapper for metadata about a Cipher
specification. This includes:
| Constructor Summary | |
SecretKeyCipher.CipherSpec(String algorithm,
String cipherSpec,
int keySize)
Create a new CipherSpec. |
|
| Method Summary | |
String |
getAlgorithm()
Get the cipher algorithm. |
String |
getCipherSpec()
Get the cipher specification as a String. |
int |
getKeySize()
Get the supported cipher key size. |
int |
hashCode()
Override hashcode so that CipherSpec are hashed by algorithm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SecretKeyCipher.CipherSpec(String algorithm,
String cipherSpec,
int keySize)
algorithm - the name of the encryption/decryption algorithmcipherSpec - The cipher specificationkeySize - the supported key size| Method Detail |
public String getAlgorithm()
public String getCipherSpec()
public int getKeySize()
public int hashCode()
hashCode in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||