public class Encryptor extends Object implements IByteHandler
IByteHandler.IByteHandlerPipeline
Modifier and Type | Method and Description |
---|---|
Encryptor |
clone()
Defining the cloning operation
|
InputStream |
deserialize(InputStream pToDeserialize)
Method to deserialize any byte-chunk.
|
OutputStream |
serialize(OutputStream pToSerialize)
Method to serialize any byte-chunk.
|
String |
toString() |
@Inject public Encryptor(Key pKey)
pKey
- to be injectedpublic OutputStream serialize(OutputStream pToSerialize) throws TTByteHandleException
serialize
in interface IByteHandler
pToSerialize
- byte to be serializedTTByteHandleException
public InputStream deserialize(InputStream pToDeserialize) throws TTByteHandleException
deserialize
in interface IByteHandler
pToDeserialize
- to deserializeTTByteHandleException
- to be capsulated.public Encryptor clone()
clone
in interface IByteHandler
clone
in class Object
IByteHandler
-instance.Copyright © 2013. All Rights Reserved.