public abstract class StreamCipherFactory
extends java.lang.Object
StreamCipher instances. Bouncy Castle
1.51 made a binary incompatible change to the StreamCipher API. This
factory enables jackcess-encrypt to function with both the pre 1.51 API as
well as the 1.51+ API.| Modifier and Type | Field and Description |
|---|---|
private static StreamCipherFactory |
RC4_ENGINE_FACTORY
compatible factory for RC4Engine instances
|
| Modifier | Constructor and Description |
|---|---|
protected |
StreamCipherFactory() |
| Modifier and Type | Method and Description |
|---|---|
private static StreamCipherFactory |
loadFactory(java.lang.String className) |
abstract StreamCipherCompat |
newInstance() |
static StreamCipherCompat |
newRC4Engine() |
private static final StreamCipherFactory RC4_ENGINE_FACTORY
public static StreamCipherCompat newRC4Engine()
private static StreamCipherFactory loadFactory(java.lang.String className) throws java.lang.Exception
java.lang.Exceptionpublic abstract StreamCipherCompat newInstance()