org.cryptomator.cryptofs.CryptoFileSystemComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cryptofs Show documentation
Show all versions of cryptofs Show documentation
This library provides the Java filesystem provider used by Cryptomator.
package org.cryptomator.cryptofs;
import dagger.BindsInstance;
import dagger.Subcomponent;
import org.cryptomator.cryptolib.api.Cryptor;
import java.nio.file.Path;
@CryptoFileSystemScoped
@Subcomponent(modules = {CryptoFileSystemModule.class})
public interface CryptoFileSystemComponent {
CryptoFileSystemImpl cryptoFileSystem();
@Subcomponent.Factory
interface Factory {
CryptoFileSystemComponent create(@BindsInstance Cryptor cryptor, //
@BindsInstance VaultConfig vaultConfig, //
@BindsInstance CryptoFileSystemProvider provider, //
@BindsInstance @PathToVault Path pathToVault, //
@BindsInstance CryptoFileSystemProperties cryptoFileSystemProperties);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy