コード例 #1
0
 public InnerCreateVaultWorker(BrowserController controller, Path folder, String filename,
                               String region, String passphrase)
     : base(region, new VaultCredentials(passphrase), VaultFactory.get(folder, PasswordStoreFactory.get()))
 {
     _controller = controller;
     _folder     = folder;
     _filename   = filename;
 }
コード例 #2
0
 public InnerCreateVaultWorker(BrowserController controller, Path folder, String filename,
                               String region, String passphrase)
     : base(region, new VaultCredentials(passphrase), PasswordStoreFactory.get(), VaultFactory.get(folder,
                                                                                                   new HostPreferences(controller.Session.getHost()).getProperty("cryptomator.vault.masterkey.filename"),
                                                                                                   Encoding.UTF8.GetBytes(new HostPreferences(controller.Session.getHost()).getProperty("cryptomator.vault.pepper"))))
 {
     _controller = controller;
     _folder     = folder;
     _filename   = filename;
 }
コード例 #3
0
 public InnerCreateVaultWorker(BrowserController controller, Path folder, String filename,
                               String region, String passphrase)
     : base(region, new VaultCredentials(passphrase), PasswordStoreFactory.get(), VaultFactory.get(folder, DefaultVaultRegistry.DEFAULT_MASTERKEY_FILE_NAME, DefaultVaultRegistry.DEFAULT_PEPPER))
 {
     _controller = controller;
     _folder     = folder;
     _filename   = filename;
 }