public class GCMBlockCipherBC extends Object implements IGCMBlockCipher
GCMBlockCipher class from bouncy-castle.| Constructor and Description |
|---|
GCMBlockCipherBC(org.bouncycastle.crypto.modes.GCMBlockCipher cipher)
Creates new wrapper for
GCMBlockCipher aes-gcm block cipher class. |
| Modifier and Type | Method and Description |
|---|---|
void |
doFinal(byte[] plainText,
int i) |
boolean |
equals(Object o) |
org.bouncycastle.crypto.modes.GCMBlockCipher |
getCipher()
Gets actual org.bouncycastle object being wrapped.
|
int |
getOutputSize(int len) |
int |
getUpdateOutputSize(int len) |
int |
hashCode() |
void |
init(boolean forEncryption,
byte[] key,
int macSizeBits,
byte[] iv) |
void |
processBytes(byte[] input,
int inputOffset,
int len,
byte[] output,
int outOffset) |
String |
toString() |
public GCMBlockCipherBC(org.bouncycastle.crypto.modes.GCMBlockCipher cipher)
GCMBlockCipher aes-gcm block cipher class.cipher - bouncy-castle class to wrappublic org.bouncycastle.crypto.modes.GCMBlockCipher getCipher()
GCMBlockCipherpublic void init(boolean forEncryption,
byte[] key,
int macSizeBits,
byte[] iv)
init in interface IGCMBlockCipherpublic int getUpdateOutputSize(int len)
getUpdateOutputSize in interface IGCMBlockCipherpublic void processBytes(byte[] input,
int inputOffset,
int len,
byte[] output,
int outOffset)
processBytes in interface IGCMBlockCipherpublic int getOutputSize(int len)
getOutputSize in interface IGCMBlockCipherpublic void doFinal(byte[] plainText,
int i)
doFinal in interface IGCMBlockCipherCopyright © 1998–2025 Apryse Group NV. All rights reserved.