Methods Summary |
---|
public byte[] | engineDoFinal(byte[] input, int inputOffset, int inputLen)
if (input == null) {
return null;
}
return engineUpdate(input, inputOffset, inputLen);
|
public int | engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
int result = engineUpdate(input, inputOffset, inputLen, output,
outputOffset);
return result;
|
public int | engineDoFinal(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
return engineUpdate(input, output);
|
public int | engineGetBlockSize()
return 1;
|
public byte[] | engineGetIV()
return new byte[8]; // compatible with RI
|
public int | engineGetKeySize(java.security.Key key)
throw new UnsupportedOperationException(Messages.getString("crypto.46")); //$NON-NLS-1$
|
public int | engineGetOutputSize(int inputLen)
return inputLen;
|
public java.security.AlgorithmParameters | engineGetParameters()
return null;
|
public void | engineInit(int opmode, java.security.Key key, java.security.SecureRandom random)
// Do nothing
|
public void | engineInit(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec params, java.security.SecureRandom random)
// Do nothing
|
public void | engineInit(int opmode, java.security.Key key, java.security.AlgorithmParameters params, java.security.SecureRandom random)
// Do nothing
|
public void | engineSetMode(java.lang.String arg0)
// Do nothing
|
public void | engineSetPadding(java.lang.String arg0)
// Do nothing
|
public java.security.Key | engineUnwrap(byte[] wrappedKey, java.lang.String wrappedKeyAlgorithm, int wrappedKeyType)
throw new UnsupportedOperationException(Messages.getString("crypto.45")); //$NON-NLS-1$
|
public byte[] | engineUpdate(byte[] input, int inputOffset, int inputLen)
if (input == null) {
return null;
}
byte[] result = new byte[inputLen];
System.arraycopy(input, inputOffset, result, 0, inputLen);
return result;
|
public int | engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
if (input == null) {
return 0;
}
System.arraycopy(input, inputOffset, output, outputOffset, inputLen);
return inputLen;
|
public int | engineUpdate(java.nio.ByteBuffer input, java.nio.ByteBuffer output)
if (input == null || output == null) {
throw new NullPointerException();
}
int result = input.limit() - input.position();
try {
output.put(input);
} catch (java.nio.BufferOverflowException e) {
throw new ShortBufferException(Messages.getString("crypto.0F", e)); //$NON-NLS-1$
}
return result;
|
public byte[] | engineWrap(java.security.Key key)
throw new UnsupportedOperationException(Messages.getString("crypto.44")); //$NON-NLS-1$
|