-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.js
More file actions
executable file
·42 lines (32 loc) · 904 Bytes
/
index.js
File metadata and controls
executable file
·42 lines (32 loc) · 904 Bytes
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
import {NativeModules} from 'react-native';
const {RaonSecure} = NativeModules;
export const clearTempDir = async () => {
return await RaonSecure.clearTempDir();
}
export const getItems = async () => {
return await RaonSecure.getItems();
}
export const removeItem = async (subjectDn) => {
return await RaonSecure.removeItem(subjectDn);
}
export const getPath = async (subjectDn) => {
return await RaonSecure.getPath(subjectDn);
}
export const checkPassword = async (subjectDn, password) => {
return await RaonSecure.checkPassword(subjectDn, password);
}
export const getReceiveCode = async () => {
return await RaonSecure.getReceiveCode();
}
export const importCertify = async () => {
return await RaonSecure.importCertify();
}
export default {
clearTempDir,
getItems,
removeItem,
getPath,
checkPassword,
getReceiveCode,
importCertify
};