public class AES256Gcm extends AbstractJCECipher
DECRYPT_MODE, ENCRYPT_MODE| Constructor and Description |
|---|
AES256Gcm() |
| 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, generateAlgorithmSpec, generateSecretKeySpec, getBlockSize, getKeyLength, getProvider, getProviderNamegetAlgorithm, getPriority, getSecurityLevel, transformpublic AES256Gcm()
throws IOException
IOExceptionpublic void init(int mode,
byte[] iv,
byte[] keydata)
throws IOException
SshCipherinit in class AbstractJCECiphermode - the mode to operateiv - the initiaization vectorkeydata - the key dataIOExceptionpublic void transform(byte[] buf,
int start,
byte[] output,
int off,
int len)
throws IOException
SshCiphertransform in class AbstractJCECipherIOExceptionpublic int getMacLength()
getMacLength in class SshCipherCopyright © 2025. All rights reserved.