public final class CipherStage extends AbstractFilter<byte[]>
Modifier and Type | Class and Description |
---|---|
static class |
CipherStage.CipherMode |
outputPort
inputPort
logger
Constructor and Description |
---|
CipherStage(String password,
CipherStage.CipherMode mode) |
CipherStage(String password,
CipherStage.CipherMode mode,
byte[] salt) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(byte[] element)
Contains the logic of this stage and is invoked (possibly multiple times) by the framework.
|
getOutputPort
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputPort
public CipherStage(String password, CipherStage.CipherMode mode)
public CipherStage(String password, CipherStage.CipherMode mode, byte[] salt)
protected void execute(byte[] element)
AbstractConsumerStage
execute
in class AbstractConsumerStage<byte[]>
element
- the next non-null element from the (only) input port of this stageCopyright © 2015–2020. All rights reserved.