public class AES128Gcm extends AbstractJCECipher
DECRYPT_MODE, ENCRYPT_MODE| Constructor and Description |
|---|
AES128Gcm() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMacLength() |
void |
init(int mode,
byte[] iv,
byte[] keydata)
Initialize the cipher with up to 40 bytes of iv and key data.
|
boolean |
isMAC() |
void |
transform(byte[] buf,
int start,
byte[] output,
int off,
int len)
Transform the byte array according to the cipher mode; it is legal for the
source and destination arrays to reference the same physical array so
care should be taken in the transformation process to safeguard this rule.
|
createCipher, getBlockSize, getKeyLength, getProvider, getProviderNamegetAlgorithm, getPriority, getSecurityLevel, transformpublic AES128Gcm()
throws java.io.IOException
java.io.IOExceptionpublic void init(int mode,
byte[] iv,
byte[] keydata)
throws java.io.IOException
SshCipherinit in class AbstractJCECiphermode - the mode to operateiv - the initiaization vectorkeydata - the key datajava.io.IOExceptionpublic void transform(byte[] buf,
int start,
byte[] output,
int off,
int len)
throws java.io.IOException
SshCiphertransform in class AbstractJCECipherjava.io.IOExceptionpublic int getMacLength()
getMacLength in class SshCipherCopyright © 2022. All rights reserved.