Package net.ME1312.SubData.Server
Interface Cipher
public interface Cipher
SubData Cipher Layout Class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decrypt
(DataClient client, InputStream in, OutputStream out) Decrypt Datavoid
encrypt
(DataClient client, InputStream in, OutputStream out) Encrypt DatagetName()
Get the name of this Cipherdefault void
retire
(DataClient client) Retire this encryption method for a specified Client
-
Method Details
-
getName
String getName()Get the name of this Cipher- Returns:
- Cipher Name
-
encrypt
Encrypt Data- Parameters:
client
- Clientin
- Decrypted Dataout
- Encrypted Data- Throws:
Exception
-
decrypt
Decrypt Data- Parameters:
client
- Clientin
- Encrypted Dataout
- Decrypted Data- Throws:
Exception
-
retire
Retire this encryption method for a specified Client- Parameters:
client
- Client
-