Package | Description |
---|---|
org.apache.fulcrum.jce.crypto |
Modifier and Type | Class and Description |
---|---|
class |
CryptoStreamFactoryImpl
Concrete factory for creating encrypting/decrypting streams.
|
Modifier and Type | Method and Description |
---|---|
static CryptoStreamFactory |
CryptoUtil.getCryptoStreamFactory() |
static CryptoStreamFactory |
CryptoStreamFactoryImpl.getInstance()
Factory method to get a default instance
|
Modifier and Type | Method and Description |
---|---|
static void |
CryptoUtil.decrypt(CryptoStreamFactory factory,
java.lang.Object source,
java.lang.Object target,
char[] password)
Copies from a source to a target object using decryption and a
caller-suppier CryptoStreamFactory.
|
static java.lang.String |
CryptoUtil.decryptString(CryptoStreamFactory factory,
java.lang.String cipherText,
char[] password)
Decrypts an encrypted string into the plain text.
|
static void |
CryptoUtil.encrypt(CryptoStreamFactory factory,
java.lang.Object source,
java.lang.Object target,
char[] password)
Copies from a source to a target object using encryption and a
caller supplied CryptoStreamFactory.
|
static java.lang.String |
CryptoUtil.encryptString(CryptoStreamFactory factory,
java.lang.String plainText,
char[] password)
Encrypts a string into a hex string.
|
static void |
CryptoStreamFactoryImpl.setInstance(CryptoStreamFactory instance)
Set the default instance from an external application.
|
Constructor and Description |
---|
SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory,
java.io.InputStream is)
Constructor
|
SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory,
java.io.InputStream is,
char[] password)
Constructor
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.