public class CipherNone extends java.lang.Object implements Cipher
Cipher.Mode| Constructor and Description |
|---|
CipherNone() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
int |
getAuthenticationTagSize() |
int |
getCipherBlockSize() |
int |
getIVSize() |
int |
getKdfSize() |
int |
getKeySize() |
java.lang.String |
getTransformation() |
void |
init(Cipher.Mode mode,
byte[] key,
byte[] iv)
Initialize the cipher for encryption or decryption with the given key and initialization vector
|
void |
update(byte[] input,
int inputOffset,
int inputLen)
Performs in-place encryption or decryption on the given data.
|
void |
updateAAD(byte[] data,
int offset,
int length)
Adds the provided input data as additional authenticated data during encryption or decryption.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSupported, update, updateAAD, updateWithAADpublic java.lang.String getAlgorithm()
getAlgorithm in interface AlgorithmNameProviderpublic int getKeySize()
getKeySize in interface KeySizeIndicatorpublic java.lang.String getTransformation()
getTransformation in interface CipherInformationpublic int getIVSize()
getIVSize in interface CipherInformationpublic int getAuthenticationTagSize()
getAuthenticationTagSize in interface CipherInformationpublic int getKdfSize()
getKdfSize in interface CipherInformationpublic int getCipherBlockSize()
getCipherBlockSize in interface CipherInformationpublic void init(Cipher.Mode mode, byte[] key, byte[] iv) throws java.lang.Exception
Cipherpublic void updateAAD(byte[] data,
int offset,
int length)
throws java.lang.Exception
Cipherpublic void update(byte[] input,
int inputOffset,
int inputLen)
throws java.lang.Exception
Cipher