1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | var tslib = require('tslib');
|
6 | var core$1 = require('@ionic-native/core');
|
7 | var core = require('@angular/core');
|
8 |
|
9 | var IntelSecurity = (function (_super) {
|
10 | tslib.__extends(IntelSecurity, _super);
|
11 | function IntelSecurity() {
|
12 | var _this = _super !== null && _super.apply(this, arguments) || this;
|
13 | |
14 |
|
15 |
|
16 |
|
17 | _this.storage = new IntelSecurityStorage();
|
18 | |
19 |
|
20 |
|
21 |
|
22 | _this.data = new IntelSecurityData();
|
23 | return _this;
|
24 | }
|
25 | IntelSecurity.pluginName = "IntelSecurity";
|
26 | IntelSecurity.plugin = "com-intel-security-cordova-plugin";
|
27 | IntelSecurity.pluginRef = "intel.security";
|
28 | IntelSecurity.repo = "https://github.com/AppSecurityApi/com-intel-security-cordova-plugin";
|
29 | IntelSecurity.platforms = ["Android", "iOS", "Windows", "Windows Phone 8"];
|
30 | IntelSecurity.decorators = [
|
31 | { type: core.Injectable }
|
32 | ];
|
33 | return IntelSecurity;
|
34 | }(core$1.IonicNativePlugin));
|
35 | var IntelSecurityData = (function () {
|
36 | function IntelSecurityData() {
|
37 | }
|
38 | IntelSecurityData.prototype.createFromData = function (options) { return core$1.cordova(this, "createFromData", { "otherPromise": true }, arguments); };
|
39 | IntelSecurityData.prototype.createFromSealedData = function (options) { return core$1.cordova(this, "createFromSealedData", { "otherPromise": true }, arguments); };
|
40 | IntelSecurityData.prototype.getData = function (instanceID) { return core$1.cordova(this, "getData", { "otherPromise": true }, arguments); };
|
41 | IntelSecurityData.prototype.getSealedData = function (instanceID) { return core$1.cordova(this, "getSealedData", { "otherPromise": true }, arguments); };
|
42 | IntelSecurityData.prototype.getTag = function (instanceID) { return core$1.cordova(this, "getTag", { "otherPromise": true }, arguments); };
|
43 | IntelSecurityData.prototype.getPolicy = function (instanceID) { return core$1.cordova(this, "getPolicy", { "otherPromise": true }, arguments); };
|
44 | IntelSecurityData.prototype.getOwners = function (instanceID) { return core$1.cordova(this, "getOwners", { "otherPromise": true }, arguments); };
|
45 | IntelSecurityData.prototype.getCreator = function (instanceID) { return core$1.cordova(this, "getCreator", { "otherPromise": true }, arguments); };
|
46 | IntelSecurityData.prototype.getWebOwners = function (instanceID) { return core$1.cordova(this, "getWebOwners", { "otherPromise": true }, arguments); };
|
47 | IntelSecurityData.prototype.changeExtraKey = function (options) { return core$1.cordova(this, "changeExtraKey", { "otherPromise": true }, arguments); };
|
48 | IntelSecurityData.prototype.destroy = function (instanceID) { return core$1.cordova(this, "destroy", { "otherPromise": true }, arguments); };
|
49 | IntelSecurityData.pluginName = "IntelSecurity";
|
50 | IntelSecurityData.plugin = "com-intel-security-cordova-plugin";
|
51 | IntelSecurityData.pluginRef = "intel.security.secureData";
|
52 | return IntelSecurityData;
|
53 | }());
|
54 | var IntelSecurityStorage = (function () {
|
55 | function IntelSecurityStorage() {
|
56 | }
|
57 | IntelSecurityStorage.prototype.delete = function (options) { return core$1.cordova(this, "delete", { "otherPromise": true }, arguments); };
|
58 | IntelSecurityStorage.prototype.read = function (options) { return core$1.cordova(this, "read", { "otherPromise": true }, arguments); };
|
59 | IntelSecurityStorage.prototype.write = function (options) { return core$1.cordova(this, "write", { "otherPromise": true }, arguments); };
|
60 | IntelSecurityStorage.pluginName = "IntelSecurity";
|
61 | IntelSecurityStorage.plugin = "com-intel-security-cordova-plugin";
|
62 | IntelSecurityStorage.pluginRef = "intel.security.secureStorage";
|
63 | return IntelSecurityStorage;
|
64 | }());
|
65 |
|
66 | exports.IntelSecurity = IntelSecurity;
|
67 | exports.IntelSecurityData = IntelSecurityData;
|
68 | exports.IntelSecurityStorage = IntelSecurityStorage;
|