com.monica.javacom.interfaces
Interface MJCCiphering
- All Superinterfaces:
- MJCConfigureable, MJCReadable, MJCReader, MJCWriteable, MJCWriter, java.lang.Runnable
- All Known Implementing Classes:
- MJCBasicCiphering
- public interface MJCCiphering
- extends MJCWriteable, MJCReader, MJCReadable, MJCConfigureable, MJCWriter, java.lang.Runnable
Middle level layer in the MJC layer hierarchy responsible for
ciphering the data stream between the upper layers. Implements
(if needed) cipher key exchanges, coding and encoding.
Method Summary |
java.lang.String |
getCipheringName()
Returns the MJC name of the MJCCiphering. |
java.lang.String |
getCipheringVersion()
Returns the MJC version of the MJCCiphering. |
void |
setTransparent(boolean status)
This method toggles the transparency mode of the MJCCiphering layer. |
Methods inherited from interface java.lang.Runnable |
run |
getCipheringName
public java.lang.String getCipheringName()
- Returns the MJC name of the MJCCiphering.
- Returns:
- String: the MJC name of the MJCCiphering
getCipheringVersion
public java.lang.String getCipheringVersion()
- Returns the MJC version of the MJCCiphering.
- Returns:
- String: the MJC version of the MJCCiphering
setTransparent
public void setTransparent(boolean status)
- This method toggles the transparency mode of the MJCCiphering layer.
The parameter true makes the layer transparent, this means no
encoding will happen, the parameter false shows the beginning of
the encoding. By default the layer is transparent.
- Parameters:
boolean
- status: the desired transparency mode