-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
108 lines (108 loc) · 5.04 KB
/
plugin.xml
File metadata and controls
108 lines (108 loc) · 5.04 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-rsacertificate" version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>RSACertificatePlugin</name>
<description>Allows importing a RSA certificate holding a private key (.p12) and decrypting data using this RSA private key.</description>
<author>Shervin Soleymanpoor</author>
<repo>https://github.com/just-bi/cordova-plugin-rsacertificate.git</repo>
<issues>https://github.com/just-bi.nl/cordova-plugin-rsacertificate/issues</issues>
<engines>
<engine name="cordova" version=">3.0.0" />
</engines>
<dependency id="cordova-plugin-add-swift-support" version="1.7.2"/>
<js-module name="RSACertificatePlugin" src="www/RSACertificatePlugin.js">
<clobbers target="cordova.plugin.rsacertificate" />
</js-module>
<platform name="ios">
<preference name="CERTIFICATE_EXTENSION" />
<preference name="ENCRYPTEDDATA_EXTENSION" />
<config-file target="config.xml" parent="/*">
<feature name="RSACertificatePlugin">
<param name="ios-package" value="RSACertificatePlugin"/>
</feature>
</config-file>
<config-file target="config.xml" parent="/*">
<preference name="RSACertificateExtension" value="$CERTIFICATE_EXTENSION"/>
<preference name="RSAEncryptedFileExtension" value="$ENCRYPTEDDATA_EXTENSION"/>
<preference name="BackupWebStorage" value="none"/>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="UTExportedTypeDeclarations">
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>RSACertificate</string>
<key>UTTypeIdentifier</key>
<string>com.document.certificate.$CERTIFICATE_EXTENSION</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string name="custom">$CERTIFICATE_EXTENSION</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>EncryptedFile</string>
<key>UTTypeIdentifier</key>
<string>com.document.encrypteddata.$ENCRYPTEDDATA_EXTENSION</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string name="custom">$ENCRYPTEDDATA_EXTENSION</string>
</array>
</dict>
</dict>
</array>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="CFBundleDocumentTypes">
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>RSACertificate</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.document.certificate.$CERTIFICATE_EXTENSION</string>
</array>
</dict>
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>EncryptedFile</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.document.encrypteddata.$ENCRYPTEDDATA_EXTENSION</string>
</array>
</dict>
</array>
</config-file>
<source-file src="src/ios/RSACertificatePlugin.swift" />
<source-file src="src/ios/AlertService.swift" target-dir="RSACertificate" />
<source-file src="src/ios/FileService.swift" target-dir="RSACertificate" />
<source-file src="src/ios/CryptoSwift" />
<source-file src="src/ios/CryptoSwift.xcodeproj" target-dir="./CryptoSwift" />
<framework src="Security.framework" />
<framework src="src/ios/CryptoSwift.framework" embed="true" custom="true" />
</platform>
</plugin>