SecureFileStore
A file store that encrypts all data before writing, and decrypts all data
after reading. Areas that were never written to (for example after calling
setLength to enlarge the file) are not encrypted (contains 0 bytes).
| Methods |
| byte[] |
generateSalt()
|
| byte[] |
generateSalt()
|
| void |
initKey(byte[] salt)
|
| void |
initKey(byte[] salt)
|
| void |
readFully(byte[] b, int off, int len)
|
| void |
readFully(byte[] b, int off, int len)
|
| void |
readFullyDirect(byte[] b, int off, int len)
|
| void |
readFullyDirect(byte[] b, int off, int len)
|
| void |
seek(long x)
|
| void |
seek(long x)
|
| void |
write(byte[] b, int off, int len)
|
| void |
write(byte[] b, int off, int len)
|
| void |
writeDirect(byte[] b, int off, int len)
|
| void |
writeDirect(byte[] b, int off, int len)
|
|