|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.EncryptionUtils
public class EncryptionUtils
INTERNAL: Utilities for encrypting files. Replaces the old EncryptionWriter.
| Constructor Summary | |
|---|---|
EncryptionUtils()
|
|
| Method Summary | |
|---|---|
static void |
encrypt(File file)
INTERNAL: Reads the file into memory, encrypting it in the process, then writes the encrypted data back out to the file. |
static void |
encrypt(File infile,
File outfile)
INTERNAL: Reads in the infile and writes the encrypted result into the outfile. |
static void |
encrypt(InputStream in,
OutputStream out)
INTERNAL: Reads all the data in the InputStream, encrypts it, and writes it to the OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptionUtils()
| Method Detail |
|---|
public static void encrypt(File file)
throws IOException
IOException
public static void encrypt(File infile,
File outfile)
throws IOException
IOException
public static void encrypt(InputStream in,
OutputStream out)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||