public class CipherNone extends Object implements Cipher
Modifier and Type | Class and Description |
---|---|
static class |
CipherNone.Factory
Named factory for the no-op Cipher
|
Cipher.Mode
Constructor and Description |
---|
CipherNone() |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize()
Retrieves the block size for this cipher
|
int |
getIVSize()
Retrieves the size of the initialization vector
|
void |
init(Cipher.Mode mode,
byte[] bytes,
byte[] bytes1)
Initialize the cipher for encryption or decryption with
the given private key and initialization vector
|
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
public int getIVSize()
Cipher
public int getBlockSize()
Cipher
getBlockSize
in interface Cipher
public void init(Cipher.Mode mode, byte[] bytes, byte[] bytes1) throws Exception
Cipher
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.