|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Cipher algorithm for the SSH layer. Provides functionality for encryption/decryption. Using the same instance of classes implementing this interface for both encyption and decyption is not supported.
Method Summary | |
java.lang.String |
decode(java.lang.String coded_data)
Method for decryption of a String. |
java.lang.String |
encode(java.lang.String data)
Method for encryption of a String. |
java.lang.String |
getCipherAlgorithmName()
Returns the MJC name of the of the MJCSSHCipherAlgorithm. |
java.lang.String |
getCipherAlgorithmVersion()
Returns the MJC version of the MJCSSHCipherAlgorithm. |
int |
getCipherBlockSize()
Returns the length of the minimal encryption length. |
java.lang.Object |
getState()
Returns the state of the cipher mechanism. |
void |
setKeys(java.lang.String Key,
java.lang.String IV)
Method for setting the cryptographic key and the initialization vector. |
void |
setState(java.lang.Object state)
Sets the state of the cipher mechanism. |
Method Detail |
public java.lang.String getCipherAlgorithmName()
public java.lang.String getCipherAlgorithmVersion()
public void setKeys(java.lang.String Key, java.lang.String IV)
String
- key: the key for the cryptographystring
- IV: the initialization vectorpublic java.lang.Object getState()
public void setState(java.lang.Object state)
Object
- o: the to be set state of the cipher mechanismpublic java.lang.String encode(java.lang.String data)
String
- s: the String to be encryptedpublic java.lang.String decode(java.lang.String coded_data)
String
- s: the String to be decryptedpublic int getCipherBlockSize()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |