-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathConstants.cs
More file actions
73 lines (67 loc) · 3.08 KB
/
Constants.cs
File metadata and controls
73 lines (67 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
using System;
namespace SecureFolderFS.Core
{
public static class Constants
{
public static class Vault
{
public static class Names
{
public const string CONFIGURATION_EXTENSION = ".cfg";
public const string VAULT_CONTENT_FOLDERNAME = "content";
public const string VAULT_KEYSTORE_FILENAME = $"keystore{CONFIGURATION_EXTENSION}";
public const string VAULT_CONFIGURATION_FILENAME = $"sfconfig{CONFIGURATION_EXTENSION}";
}
public static class Authentication
{
public const string AUTH_NONE = "none";
public const string AUTH_PASSWORD = "password";
public const string AUTH_KEYFILE = "key_file";
public const string AUTH_WINDOWS_HELLO = "windows_hello";
public const string AUTH_YUBIKEY = "yubikey";
public const string AUTH_APPLE_MACOS = "apple_macos_biometrics";
public const string AUTH_APPLE_BIOMETRIC = "apple_secure_enclave";
public const string AUTH_ANDROID_BIOMETRIC = "android_biometrics";
public const string AUTH_DEVICE_LINK = "device_link";
public const string AUTH_APP_PLATFORM = "app_platform";
}
[Obsolete]
public static class Specializations
{
public const string SPEC_STANDARD = "Standard";
public const string SPEC_JOURNAL = "Journal";
public const string SPEC_GALLERY = "Gallery";
public const string SPEC_MUSIC = "Music";
public const string SPEC_NOTES = "Notes";
}
public static class Associations
{
public const string ASSOC_CONTENT_CIPHER_ID = "contentCipherScheme";
public const string ASSOC_FILENAME_CIPHER_ID = "filenameCipherScheme";
public const string ASSOC_FILENAME_ENCODING_ID = "filenameEncoding";
public const string ASSOC_RECYCLE_SIZE = "recycleBinSize";
public const string ASSOC_SPECIALIZATION = "spec";
public const string ASSOC_AUTHENTICATION = "authMode";
public const string ASSOC_VAULT_ID = "vaultId";
public const string ASSOC_APP_PLATFORM = "appPlatform";
public const string ASSOC_VERSION = "version";
}
public static class Versions
{
public const int V1 = 1;
public const int V2 = 2;
public const int V3 = 3;
public const int V4 = 4;
public const int LATEST_VERSION = V4;
}
}
public static class FileSystemId
{
public const string FS_FUSE = "FUSE";
public const string FS_WEBDAV = "WEBDAV";
public const string FS_ANDROID = "ANDROID_DOCUMENTS_PROVIDER";
public const string FS_IOS = "IOS_FILE_PROVIDER";
public const string FS_LOCAL = "ABSTRACT_STORAGE";
}
}
}