private static class XmlEncryptionDescriptor.BlockCipherAdapter
extends java.lang.Object
implements org.bouncycastle.crypto.BlockCipher
| Modifier and Type | Field and Description |
|---|---|
private StreamCipherCompat |
_cipher |
| Modifier | Constructor and Description |
|---|---|
private |
BlockCipherAdapter(StreamCipherCompat cipher) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName() |
int |
getBlockSize() |
void |
init(boolean forEncryption,
org.bouncycastle.crypto.CipherParameters params) |
int |
processBlock(byte[] in,
int inOff,
byte[] out,
int outOff) |
void |
reset() |
private final StreamCipherCompat _cipher
private BlockCipherAdapter(StreamCipherCompat cipher)
public java.lang.String getAlgorithmName()
getAlgorithmName in interface org.bouncycastle.crypto.BlockCipherpublic int getBlockSize()
getBlockSize in interface org.bouncycastle.crypto.BlockCipherpublic void init(boolean forEncryption,
org.bouncycastle.crypto.CipherParameters params)
init in interface org.bouncycastle.crypto.BlockCipherpublic int processBlock(byte[] in,
int inOff,
byte[] out,
int outOff)
processBlock in interface org.bouncycastle.crypto.BlockCipherpublic void reset()
reset in interface org.bouncycastle.crypto.BlockCipher