This PR adds to the CryptoFilesystem interface the following function:
Path getPathToDataCiphertext(Path cleartextPath) throws IOException
The function returns for a given, absolute cleartext path belonging to this cryptofilesystem its ciphertext data counterpart. It does not point to intermediante files like dir.c9r. This means:
This PR adds to the CryptoFilesystem interface the following function:
Path getPathToDataCiphertext(Path cleartextPath) throws IOException
The function returns for a given, absolute cleartext path belonging to this cryptofilesystem its ciphertext data counterpart. It does not point to intermediante files like dir.c9r. This means:
/file.file
→/d/AB/CD...XYZ/foo.c9r
/very...long.name
→/d/AB/CD...XYZ/foo.c9s/contents.c9r
/directory
→/d/AB/CD...XYZ/
/sym.link
→/d/AB/CD...XYZ/foo.c9r/symlink.c9r
If the fs node does not exists or another exception is thrown, it is propageted.