h52952
s 00004/00228/00057
d D 1.2 97/12/09 15:24:51 luehe 3 1
c rm ,*
e
s 00000/00000/00000
d R 1.2 97/10/09 09:58:16 Codemgr 2 1
c SunPro Code Manager data about conflicts, renames, etc...
c Name history : 1 0 security/JCE1.2/earlyaccess/javax.crypto.NullCipher.html
e
s 00285/00000/00000
d D 1.1 97/10/09 09:58:15 luehe 1 0
c date and time created 97/10/09 09:58:15 by luehe
e
u
U
f e 0
t
T
I 1
D 3
E 3
I 3
E 3
Class javax.crypto.NullCipher
D 3
All Packages Class Hierarchy This Package Previous Next Index
E 3
I 3
All Packages Class Hierarchy This Package Previous Next Index
E 3
Class javax.crypto.NullCipher
java.lang.Object
|
+----javax.crypto.Cipher
|
+----javax.crypto.NullCipher
- public class NullCipher
- extends Cipher
D 3
The NullCipher class is a crypto provider class that provides an
E 3
I 3
The NullCipher class is a class that provides an
E 3
"identity cipher" -- one that does not tranform the plaintext. As
a consequence, the ciphertext is identical to the plaintext. All
initialization methods do nothing, while the blocksize is set to 1
byte.
-
NullCipher()
-
D 3
-
engineDoFinal(byte[], int, int)
- SPI: Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
-
engineDoFinal(byte[], int, int, byte[], int)
- SPI: Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
-
engineGetBlockSize()
- SPI: Returns the block size (in bytes).
-
engineGetIV()
- SPI: Returns the initialization vector (IV) in a new buffer.
-
engineGetOutputSize(int)
- SPI: Returns the length in bytes that an output buffer would
need to be in order to hold the result of the next
update
or doFinal
operation, given the input length
inputLen
(in bytes).
-
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)
- SPI: Initializes this cipher with a key, a set of
algorithm parameters, and a source of randomness.
-
engineInit(int, Key, SecureRandom)
- SPI: Initializes this cipher with a key and a source
of randomness.
-
engineSetMode(String)
- SPI: Sets the mode of this cipher.
-
engineSetPadding(String)
- SPI: Sets the padding mechanism of this cipher.
-
engineUpdate(byte[], int, int)
- SPI: Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
-
engineUpdate(byte[], int, int, byte[], int)
- SPI: Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
E 3
NullCipher
public NullCipher()
D 3
engineSetMode
public void engineSetMode(String mode)
- SPI: Sets the mode of this cipher.
- Overrides:
- engineSetMode in class Cipher
engineSetPadding
public void engineSetPadding(String padding)
- SPI: Sets the padding mechanism of this cipher.
- Overrides:
- engineSetPadding in class Cipher
engineGetBlockSize
protected int engineGetBlockSize()
- SPI: Returns the block size (in bytes).
- Overrides:
- engineGetBlockSize in class Cipher
engineGetOutputSize
protected int engineGetOutputSize(int inputLen)
- SPI: Returns the length in bytes that an output buffer would
need to be in order to hold the result of the next
update
or doFinal
operation, given the input length
inputLen
(in bytes).
- Overrides:
- engineGetOutputSize in class Cipher
engineGetIV
protected byte[] engineGetIV()
- SPI: Returns the initialization vector (IV) in a new buffer.
- Overrides:
- engineGetIV in class Cipher
engineInit
protected void engineInit(int mode,
Key key,
SecureRandom random)
- SPI: Initializes this cipher with a key and a source
of randomness.
- Overrides:
- engineInit in class Cipher
engineInit
protected void engineInit(int mode,
Key key,
AlgorithmParameterSpec params,
SecureRandom random)
- SPI: Initializes this cipher with a key, a set of
algorithm parameters, and a source of randomness.
- Overrides:
- engineInit in class Cipher
engineUpdate
protected byte[] engineUpdate(byte input[],
int inputOffset,
int inputLen)
- SPI: Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
- Overrides:
- engineUpdate in class Cipher
engineUpdate
protected int engineUpdate(byte input[],
int inputOffset,
int inputLen,
byte output[],
int outputOffset)
- SPI: Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
- Overrides:
- engineUpdate in class Cipher
engineDoFinal
protected byte[] engineDoFinal(byte input[],
int inputOffset,
int inputLen)
- SPI: Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
- Overrides:
- engineDoFinal in class Cipher
engineDoFinal
protected int engineDoFinal(byte input[],
int inputOffset,
int inputLen,
byte output[],
int outputOffset)
- SPI: Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
- Overrides:
- engineDoFinal in class Cipher
E 3
D 3
All Packages Class Hierarchy This Package Previous Next Index
E 3
I 3
All Packages Class Hierarchy This Package Previous Next Index
E 3
E 1