gnu.crypto.assembly
Class LoopbackTransformer
(package private) final class LoopbackTransformer
A trivial
Transformer
to allow closing a chain in an
Assembly
.
This class is not visible outside this package.
Version:
(package private) int | delegateBlockSize()
|
void | init(Map attributes) - Initialises the
Transformer for operation with specific
characteristics.
|
(package private) void | initDelegate(Map attributes)
|
byte[] | lastUpdate() - Convenience method that calls the same method with three arguments.
|
(package private) byte[] | lastUpdateDelegate()
|
void | reset() - Resets the
Transformer for re-initialisation and use with
other characteristics.
|
(package private) void | resetDelegate()
|
byte[] | update(byte[] in, int offset, int length) - Processes a designated number of bytes from a given byte array.
|
(package private) byte[] | updateDelegate(byte[] in, int offset, int length)
|
currentBlockSize , delegateBlockSize , getCascadeTransformer , getDeflateTransformer , getPaddingTransformer , init , initDelegate , isPostProcessing , isPreProcessing , lastUpdate , lastUpdate , lastUpdate , lastUpdate , lastUpdateDelegate , reset , resetDelegate , setMode , update , update , update , updateDelegate |
LoopbackTransformer
(package private) LoopbackTransformer()
Trivial protected constructor.
delegateBlockSize
(package private) int delegateBlockSize()
- delegateBlockSize in interface Transformer
init
public void init(Map attributes)
throws TransformerException
Initialises the Transformer
for operation with specific
characteristics.
- init in interface Transformer
attributes
- a set of name-value pairs that describes the desired
future behaviour of this instance.
reset
public void reset()
Resets the Transformer
for re-initialisation and use with
other characteristics. This method always succeeds.
- reset in interface Transformer
resetDelegate
(package private) void resetDelegate()
- resetDelegate in interface Transformer
update
public byte[] update(byte[] in,
int offset,
int length)
throws TransformerException
Processes a designated number of bytes from a given byte array.
- update in interface Transformer
in
- the input data bytes.offset
- index of in
from which to start considering
data.length
- the count of bytes to process.
- the result of transformation.
TransformerException
- if a transformation-related exception occurs
during the operation.
updateDelegate
(package private) byte[] updateDelegate(byte[] in,
int offset,
int length)
throws TransformerException
- updateDelegate in interface Transformer
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.