| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public StandardDecryptor | |
| protected static byte[] | |
| protected static SecretKey | |
| private Cipher | |
| public InputStream | getDataStream(DirectoryNode
the node to read from dir)Implements abstract org. Return a stream with decrypted data. |
| public long | Returns: the length of the stream returned bygetDataStream(DirectoryNode)Implements abstract org. Returns the length of the encrypted data that can be safely read with
|
| public boolean | verifyPassword(String password)
Implements abstract org.
|
| _length | back to summary |
|---|---|
| private long _length | |
| StandardDecryptor | back to summary |
|---|---|
| protected StandardDecryptor() | |
| StandardDecryptor | back to summary |
|---|---|
| protected StandardDecryptor(StandardDecryptor other) | |
| copy | back to summary |
|---|---|
| public StandardDecryptor copy() Implements abstract org.
| |
| fillAndXor | back to summary |
|---|---|
| protected static byte[] fillAndXor(byte[] hash, byte fillByte) | |
| generateSecretKey | back to summary |
|---|---|
| protected static SecretKey generateSecretKey(String password, EncryptionVerifier ver, int keySize) | |
| getCipher | back to summary |
|---|---|
| private Cipher getCipher(SecretKey key) | |
| getDataStream | back to summary |
|---|---|
| public InputStream getDataStream(DirectoryNode dir) throws IOException Implements abstract org. Doc from org. Return a stream with decrypted data.
Use
| |
| getLength | back to summary |
|---|---|
| public long getLength() Implements abstract org. Doc from org. Returns the length of the encrypted data that can be safely read with
The length variable is initialized in
| |
| verifyPassword | back to summary |
|---|---|
| public boolean verifyPassword(String password) Implements abstract org.
| |