cordova-plugin-mserviceinterface-2.0 1.0.21 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/package.json +28 -28
  2. package/plugin.xml +153 -153
  3. package/src/android/CallbackProgressDialog.java +53 -53
  4. package/src/android/FileProvider.java +7 -7
  5. package/src/android/backgroundNotification.java +120 -120
  6. package/src/android/doubleogradle.gradle +5 -5
  7. package/src/android/mInterface.java +2087 -2066
  8. package/src/android/mInterfaceReceiver.java +59 -59
  9. package/src/android/mInterfaceService.java +749 -749
  10. package/src/android/mInterfaceUtil.java +1686 -1688
  11. package/src/android/res/xml/network_security_config.xml +8 -8
  12. package/src/android/res/xml/opener_paths.xml +16 -16
  13. package/src/ios/InternetConnection.h +64 -64
  14. package/src/ios/InternetConnection.m +242 -242
  15. package/src/ios/SSZipArchive.h +146 -146
  16. package/src/ios/SSZipArchive.m +1180 -1180
  17. package/src/ios/SSZipCommon.h +66 -66
  18. package/src/ios/UICKeyChainStore.h +64 -64
  19. package/src/ios/UICKeyChainStore.m +434 -434
  20. package/src/ios/XMLConverter.h +61 -61
  21. package/src/ios/XMLConverter.m +243 -243
  22. package/src/ios/ZipArchive.h +19 -19
  23. package/src/ios/aes/aes.h +270 -270
  24. package/src/ios/aes/aes_ni.c +687 -687
  25. package/src/ios/aes/aes_ni.h +59 -59
  26. package/src/ios/aes/aescrypt.c +301 -301
  27. package/src/ios/aes/aeskey.c +554 -554
  28. package/src/ios/aes/aesopt.h +776 -776
  29. package/src/ios/aes/aestab.c +418 -418
  30. package/src/ios/aes/aestab.h +173 -173
  31. package/src/ios/aes/brg_endian.h +127 -127
  32. package/src/ios/aes/brg_types.h +191 -191
  33. package/src/ios/aes/fileenc.c +145 -145
  34. package/src/ios/aes/fileenc.h +121 -121
  35. package/src/ios/aes/hmac.c +209 -209
  36. package/src/ios/aes/hmac.h +119 -119
  37. package/src/ios/aes/prng.c +155 -155
  38. package/src/ios/aes/prng.h +82 -82
  39. package/src/ios/aes/pwd2key.c +181 -181
  40. package/src/ios/aes/pwd2key.h +45 -45
  41. package/src/ios/aes/sha1.c +283 -283
  42. package/src/ios/aes/sha1.h +72 -72
  43. package/src/ios/mInterface.h +2 -0
  44. package/src/ios/mInterface.m +18 -1
  45. package/src/ios/minizip/crypt.c +146 -146
  46. package/src/ios/minizip/crypt.h +66 -66
  47. package/src/ios/minizip/ioapi.c +353 -353
  48. package/src/ios/minizip/ioapi.h +154 -154
  49. package/src/ios/minizip/ioapi_buf.c +452 -452
  50. package/src/ios/minizip/ioapi_buf.h +52 -52
  51. package/src/ios/minizip/ioapi_mem.c +167 -167
  52. package/src/ios/minizip/ioapi_mem.h +52 -52
  53. package/src/ios/minizip/minishared.c +292 -292
  54. package/src/ios/minizip/minishared.h +50 -50
  55. package/src/ios/minizip/unzip.c +2007 -2007
  56. package/src/ios/minizip/unzip.h +254 -254
  57. package/src/ios/minizip/zip.c +2007 -2007
  58. package/src/ios/minizip/zip.h +215 -215
  59. package/www/mInterface.js +3 -3
@@ -1,66 +1,66 @@
1
- #ifndef SSZipCommon
2
- #define SSZipCommon
3
-
4
- /* unz_global_info structure contain global data about the ZIPfile
5
- These data comes from the end of central dir */
6
- typedef struct unz_global_info64_s
7
- {
8
- uint64_t number_entry; /* total number of entries in the central dir on this disk */
9
- uint32_t number_disk_with_CD; /* number the the disk with central dir, used for spanning ZIP*/
10
- uint16_t size_comment; /* size of the global comment of the zipfile */
11
- } unz_global_info64;
12
-
13
- typedef struct unz_global_info_s
14
- {
15
- uint32_t number_entry; /* total number of entries in the central dir on this disk */
16
- uint32_t number_disk_with_CD; /* number the the disk with central dir, used for spanning ZIP*/
17
- uint16_t size_comment; /* size of the global comment of the zipfile */
18
- } unz_global_info;
19
-
20
- /* unz_file_info contain information about a file in the zipfile */
21
- /* https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT */
22
- typedef struct unz_file_info64_s
23
- {
24
- uint16_t version; /* version made by 2 bytes */
25
- uint16_t version_needed; /* version needed to extract 2 bytes */
26
- uint16_t flag; /* general purpose bit flag 2 bytes */
27
- uint16_t compression_method; /* compression method 2 bytes */
28
- uint32_t dos_date; /* last mod file date in Dos fmt 4 bytes */
29
- uint32_t crc; /* crc-32 4 bytes */
30
- uint64_t compressed_size; /* compressed size 8 bytes */
31
- uint64_t uncompressed_size; /* uncompressed size 8 bytes */
32
- uint16_t size_filename; /* filename length 2 bytes */
33
- uint16_t size_file_extra; /* extra field length 2 bytes */
34
- uint16_t size_file_comment; /* file comment length 2 bytes */
35
-
36
- uint32_t disk_num_start; /* disk number start 4 bytes */
37
- uint16_t internal_fa; /* internal file attributes 2 bytes */
38
- uint32_t external_fa; /* external file attributes 4 bytes */
39
-
40
- uint64_t disk_offset;
41
-
42
- uint16_t size_file_extra_internal;
43
- } unz_file_info64;
44
-
45
- typedef struct unz_file_info_s
46
- {
47
- uint16_t version; /* version made by 2 bytes */
48
- uint16_t version_needed; /* version needed to extract 2 bytes */
49
- uint16_t flag; /* general purpose bit flag 2 bytes */
50
- uint16_t compression_method; /* compression method 2 bytes */
51
- uint32_t dos_date; /* last mod file date in Dos fmt 4 bytes */
52
- uint32_t crc; /* crc-32 4 bytes */
53
- uint32_t compressed_size; /* compressed size 4 bytes */
54
- uint32_t uncompressed_size; /* uncompressed size 4 bytes */
55
- uint16_t size_filename; /* filename length 2 bytes */
56
- uint16_t size_file_extra; /* extra field length 2 bytes */
57
- uint16_t size_file_comment; /* file comment length 2 bytes */
58
-
59
- uint16_t disk_num_start; /* disk number start 2 bytes */
60
- uint16_t internal_fa; /* internal file attributes 2 bytes */
61
- uint32_t external_fa; /* external file attributes 4 bytes */
62
-
63
- uint64_t disk_offset;
64
- } unz_file_info;
65
-
66
- #endif
1
+ #ifndef SSZipCommon
2
+ #define SSZipCommon
3
+
4
+ /* unz_global_info structure contain global data about the ZIPfile
5
+ These data comes from the end of central dir */
6
+ typedef struct unz_global_info64_s
7
+ {
8
+ uint64_t number_entry; /* total number of entries in the central dir on this disk */
9
+ uint32_t number_disk_with_CD; /* number the the disk with central dir, used for spanning ZIP*/
10
+ uint16_t size_comment; /* size of the global comment of the zipfile */
11
+ } unz_global_info64;
12
+
13
+ typedef struct unz_global_info_s
14
+ {
15
+ uint32_t number_entry; /* total number of entries in the central dir on this disk */
16
+ uint32_t number_disk_with_CD; /* number the the disk with central dir, used for spanning ZIP*/
17
+ uint16_t size_comment; /* size of the global comment of the zipfile */
18
+ } unz_global_info;
19
+
20
+ /* unz_file_info contain information about a file in the zipfile */
21
+ /* https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT */
22
+ typedef struct unz_file_info64_s
23
+ {
24
+ uint16_t version; /* version made by 2 bytes */
25
+ uint16_t version_needed; /* version needed to extract 2 bytes */
26
+ uint16_t flag; /* general purpose bit flag 2 bytes */
27
+ uint16_t compression_method; /* compression method 2 bytes */
28
+ uint32_t dos_date; /* last mod file date in Dos fmt 4 bytes */
29
+ uint32_t crc; /* crc-32 4 bytes */
30
+ uint64_t compressed_size; /* compressed size 8 bytes */
31
+ uint64_t uncompressed_size; /* uncompressed size 8 bytes */
32
+ uint16_t size_filename; /* filename length 2 bytes */
33
+ uint16_t size_file_extra; /* extra field length 2 bytes */
34
+ uint16_t size_file_comment; /* file comment length 2 bytes */
35
+
36
+ uint32_t disk_num_start; /* disk number start 4 bytes */
37
+ uint16_t internal_fa; /* internal file attributes 2 bytes */
38
+ uint32_t external_fa; /* external file attributes 4 bytes */
39
+
40
+ uint64_t disk_offset;
41
+
42
+ uint16_t size_file_extra_internal;
43
+ } unz_file_info64;
44
+
45
+ typedef struct unz_file_info_s
46
+ {
47
+ uint16_t version; /* version made by 2 bytes */
48
+ uint16_t version_needed; /* version needed to extract 2 bytes */
49
+ uint16_t flag; /* general purpose bit flag 2 bytes */
50
+ uint16_t compression_method; /* compression method 2 bytes */
51
+ uint32_t dos_date; /* last mod file date in Dos fmt 4 bytes */
52
+ uint32_t crc; /* crc-32 4 bytes */
53
+ uint32_t compressed_size; /* compressed size 4 bytes */
54
+ uint32_t uncompressed_size; /* uncompressed size 4 bytes */
55
+ uint16_t size_filename; /* filename length 2 bytes */
56
+ uint16_t size_file_extra; /* extra field length 2 bytes */
57
+ uint16_t size_file_comment; /* file comment length 2 bytes */
58
+
59
+ uint16_t disk_num_start; /* disk number start 2 bytes */
60
+ uint16_t internal_fa; /* internal file attributes 2 bytes */
61
+ uint32_t external_fa; /* external file attributes 4 bytes */
62
+
63
+ uint64_t disk_offset;
64
+ } unz_file_info;
65
+
66
+ #endif
@@ -1,64 +1,64 @@
1
- //
2
- // UICKeyChainStore.h
3
- // UICKeyChainStore
4
- //
5
- // Created by Kishikawa Katsumi on 11/11/20.
6
- // Copyright (c) 2011 Kishikawa Katsumi. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- @interface UICKeyChainStore : NSObject
12
-
13
- @property (nonatomic, readonly) NSString *service;
14
- @property (nonatomic, readonly) NSString *accessGroup;
15
-
16
- + (NSString *)defaultService;
17
- + (void)setDefaultService:(NSString *)defaultService;
18
-
19
- + (UICKeyChainStore *)keyChainStore;
20
- + (UICKeyChainStore *)keyChainStoreWithService:(NSString *)service;
21
- + (UICKeyChainStore *)keyChainStoreWithService:(NSString *)service accessGroup:(NSString *)accessGroup;
22
-
23
- - (instancetype)init;
24
- - (instancetype)initWithService:(NSString *)service;
25
- - (instancetype)initWithService:(NSString *)service accessGroup:(NSString *)accessGroup;
26
-
27
- + (NSString *)stringForKey:(NSString *)key;
28
- + (NSString *)stringForKey:(NSString *)key service:(NSString *)service;
29
- + (NSString *)stringForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
30
- + (BOOL)setString:(NSString *)value forKey:(NSString *)key;
31
- + (BOOL)setString:(NSString *)value forKey:(NSString *)key service:(NSString *)service;
32
- + (BOOL)setString:(NSString *)value forKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
33
-
34
- + (NSData *)dataForKey:(NSString *)key;
35
- + (NSData *)dataForKey:(NSString *)key service:(NSString *)service;
36
- + (NSData *)dataForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
37
- + (BOOL)setData:(NSData *)data forKey:(NSString *)key;
38
- + (BOOL)setData:(NSData *)data forKey:(NSString *)key service:(NSString *)service;
39
- + (BOOL)setData:(NSData *)data forKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
40
-
41
- - (void)setString:(NSString *)string forKey:(NSString *)key;
42
- - (NSString *)stringForKey:(NSString *)key;
43
-
44
- - (void)setData:(NSData *)data forKey:(NSString *)key;
45
- - (NSData *)dataForKey:(NSString *)key;
46
-
47
- + (BOOL)removeItemForKey:(NSString *)key;
48
- + (BOOL)removeItemForKey:(NSString *)key service:(NSString *)service;
49
- + (BOOL)removeItemForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
50
- + (BOOL)removeAllItems;
51
- + (BOOL)removeAllItemsForService:(NSString *)service;
52
- + (BOOL)removeAllItemsForService:(NSString *)service accessGroup:(NSString *)accessGroup;
53
-
54
- - (void)removeItemForKey:(NSString *)key;
55
- - (void)removeAllItems;
56
-
57
- - (void)synchronize;
58
-
59
- // object subscripting
60
-
61
- - (NSString *)objectForKeyedSubscript:(NSString <NSCopying> *)key;
62
- - (void)setObject:(NSString *)obj forKeyedSubscript:(NSString <NSCopying> *)key;
63
-
64
- @end
1
+ //
2
+ // UICKeyChainStore.h
3
+ // UICKeyChainStore
4
+ //
5
+ // Created by Kishikawa Katsumi on 11/11/20.
6
+ // Copyright (c) 2011 Kishikawa Katsumi. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ @interface UICKeyChainStore : NSObject
12
+
13
+ @property (nonatomic, readonly) NSString *service;
14
+ @property (nonatomic, readonly) NSString *accessGroup;
15
+
16
+ + (NSString *)defaultService;
17
+ + (void)setDefaultService:(NSString *)defaultService;
18
+
19
+ + (UICKeyChainStore *)keyChainStore;
20
+ + (UICKeyChainStore *)keyChainStoreWithService:(NSString *)service;
21
+ + (UICKeyChainStore *)keyChainStoreWithService:(NSString *)service accessGroup:(NSString *)accessGroup;
22
+
23
+ - (instancetype)init;
24
+ - (instancetype)initWithService:(NSString *)service;
25
+ - (instancetype)initWithService:(NSString *)service accessGroup:(NSString *)accessGroup;
26
+
27
+ + (NSString *)stringForKey:(NSString *)key;
28
+ + (NSString *)stringForKey:(NSString *)key service:(NSString *)service;
29
+ + (NSString *)stringForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
30
+ + (BOOL)setString:(NSString *)value forKey:(NSString *)key;
31
+ + (BOOL)setString:(NSString *)value forKey:(NSString *)key service:(NSString *)service;
32
+ + (BOOL)setString:(NSString *)value forKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
33
+
34
+ + (NSData *)dataForKey:(NSString *)key;
35
+ + (NSData *)dataForKey:(NSString *)key service:(NSString *)service;
36
+ + (NSData *)dataForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
37
+ + (BOOL)setData:(NSData *)data forKey:(NSString *)key;
38
+ + (BOOL)setData:(NSData *)data forKey:(NSString *)key service:(NSString *)service;
39
+ + (BOOL)setData:(NSData *)data forKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
40
+
41
+ - (void)setString:(NSString *)string forKey:(NSString *)key;
42
+ - (NSString *)stringForKey:(NSString *)key;
43
+
44
+ - (void)setData:(NSData *)data forKey:(NSString *)key;
45
+ - (NSData *)dataForKey:(NSString *)key;
46
+
47
+ + (BOOL)removeItemForKey:(NSString *)key;
48
+ + (BOOL)removeItemForKey:(NSString *)key service:(NSString *)service;
49
+ + (BOOL)removeItemForKey:(NSString *)key service:(NSString *)service accessGroup:(NSString *)accessGroup;
50
+ + (BOOL)removeAllItems;
51
+ + (BOOL)removeAllItemsForService:(NSString *)service;
52
+ + (BOOL)removeAllItemsForService:(NSString *)service accessGroup:(NSString *)accessGroup;
53
+
54
+ - (void)removeItemForKey:(NSString *)key;
55
+ - (void)removeAllItems;
56
+
57
+ - (void)synchronize;
58
+
59
+ // object subscripting
60
+
61
+ - (NSString *)objectForKeyedSubscript:(NSString <NSCopying> *)key;
62
+ - (void)setObject:(NSString *)obj forKeyedSubscript:(NSString <NSCopying> *)key;
63
+
64
+ @end