![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.file.EncryptedBlockStore:

Definition at line 22 of file EncryptedBlockStore.java.
Public Member Functions | |
| EncryptedBlockStore () | |
| Create a new EncryptedBlockStore object using the specified file and blocksize. | |
| void | setKey (SymmetricKey key) throws IOException |
| void | read (long blockNum, byte[] buf) throws IOException |
| Read a block into a buffer. | |
| void | write (long blockNum, byte[] buf) throws IOException |
| Write a block from a buffer into the file. | |
Package Functions | |
| byte[] | makeDigest (String s) |
Package Attributes | |
| SymmetricKey | key |
| Key | encrypt |
| Key | decrypt |
| byte[] | buf0 |
| ByteBuffer | b0 |
Static Package Attributes | |
| final int | oHASH_PASSWD_start = BlockFile.oHASH_PASSWD_start |
| final int | oHASH_PASSWD_len = BlockFile.oHASH_PASSWD_len |
|
|
Create a new EncryptedBlockStore object using the specified file and blocksize.
Definition at line 37 of file EncryptedBlockStore.java. |
|
|
Definition at line 68 of file EncryptedBlockStore.java. References com.quadcap.crypto.Digest.digest(), com.quadcap.sql.file.EncryptedBlockStore.makeDigest(), and com.quadcap.crypto.Digest.update(). Referenced by com.quadcap.sql.file.EncryptedBlockStore.makeDigest(), and com.quadcap.sql.file.EncryptedBlockStore.setKey(). |
|
||||||||||||
|
Read a block into a buffer. If the specified block is beyond the current end of file, then grow the file
Reimplemented from com.quadcap.sql.file.BlockStore. Definition at line 85 of file EncryptedBlockStore.java. References com.quadcap.sql.file.EncryptedBlockStore.b0, com.quadcap.sql.file.EncryptedBlockStore.buf0, com.quadcap.sql.file.EncryptedBlockStore.decrypt, and com.quadcap.sql.file.EncryptedBlockStore.read(). Referenced by com.quadcap.sql.file.EncryptedBlockStore.read(). |
|
|
||||||||||||
|
Write a block from a buffer into the file.
Reimplemented from com.quadcap.sql.file.BlockStore. Definition at line 106 of file EncryptedBlockStore.java. References com.quadcap.sql.file.EncryptedBlockStore.b0, com.quadcap.sql.file.EncryptedBlockStore.buf0, com.quadcap.sql.file.EncryptedBlockStore.encrypt, and com.quadcap.sql.file.EncryptedBlockStore.write(). Referenced by com.quadcap.sql.file.EncryptedBlockStore.write(). |
|
|
Definition at line 27 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.read(), com.quadcap.sql.file.EncryptedBlockStore.setKey(), and com.quadcap.sql.file.EncryptedBlockStore.write(). |
|
|
Definition at line 26 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.read(), com.quadcap.sql.file.EncryptedBlockStore.setKey(), and com.quadcap.sql.file.EncryptedBlockStore.write(). |
|
|
Definition at line 25 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.read(). |
|
|
Definition at line 24 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.write(). |
|
|
Definition at line 23 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.setKey(). |
|
|
Definition at line 41 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.setKey(). |
|
|
Definition at line 40 of file EncryptedBlockStore.java. Referenced by com.quadcap.sql.file.EncryptedBlockStore.setKey(). |