2 * Copyright (c) 2013 TRUSTONIC LIMITED
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
15 * 3. Neither the name of the TRUSTONIC LIMITED nor the names of its
16 * contributors may be used to endorse or promote products derived from
17 * this software without specific prior written permission.
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 /* DO NOT EDIT THIS FILE - it is machine generated */
34 /* Header for class com_gd_mobicore_pa_jni_CommonPAWrapper */
36 #ifndef _Included_com_gd_mobicore_pa_jni_CommonPAWrapper
37 #define _Included_com_gd_mobicore_pa_jni_CommonPAWrapper
41 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_IMEI_ESN_INDEX
42 #define com_gd_mobicore_pa_jni_CommonPAWrapper_IMEI_ESN_INDEX 0L
43 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MNO_INDEX
44 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MNO_INDEX 1L
45 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_BRAND_INDEX
46 #define com_gd_mobicore_pa_jni_CommonPAWrapper_BRAND_INDEX 2L
47 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MANUFACTURER_INDEX
48 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MANUFACTURER_INDEX 3L
49 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_HARDWARE_INDEX
50 #define com_gd_mobicore_pa_jni_CommonPAWrapper_HARDWARE_INDEX 4L
51 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MODEL_INDEX
52 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MODEL_INDEX 5L
53 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_VERSION_INDEX
54 #define com_gd_mobicore_pa_jni_CommonPAWrapper_VERSION_INDEX 6L
55 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_RESPONSE_ARRAY_SIZE
56 #define com_gd_mobicore_pa_jni_CommonPAWrapper_RESPONSE_ARRAY_SIZE 7L
58 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
62 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_openSession
66 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
67 * Method: closeSession
70 JNIEXPORT
void JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_closeSession
74 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
75 * Method: executeCmpCommands
76 * Signature: (ILjava/util/List;Ljava/util/List;)I
78 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_executeCmpCommands
79 (JNIEnv
*, jobject
, jint
, jobject
, jobject
);
82 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
84 * Signature: ([BLjava/util/List;Ljava/util/List;)I
86 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getVersion
87 (JNIEnv
*, jobject
, jbyteArray
, jobject
, jobject
);
90 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
94 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSuid
95 (JNIEnv
*, jobject
, jbyteArray
);
98 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
99 * Method: isRootContainerRegistered
102 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_isRootContainerRegistered
103 (JNIEnv
*, jobject
, jbooleanArray
);
106 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
107 * Method: isSpContainerRegistered
110 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_isSpContainerRegistered
111 (JNIEnv
*, jobject
, jint
, jbooleanArray
);
114 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
115 * Method: getSPContainerState
118 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSPContainerState
119 (JNIEnv
*, jobject
, jint
, jintArray
);
122 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
123 * Method: getSPContainerStructure
124 * Signature: (I[I[[B[I)I
126 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSPContainerStructure
127 (JNIEnv
*, jobject
, jint
, jintArray
, jobjectArray
, jintArray
);
130 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
131 * Method: doProvisioning
134 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_doProvisioning
135 (JNIEnv
*, jobject
, jint
, jint
, jbyteArray
);
138 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
139 * Method: installTrustlet
141 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_installTrustlet
142 (JNIEnv
*, jobject
, jint
, jbyteArray
, jint
, jbyteArray
, jint
, jbyteArray
, jint
, jint
, jint
, jbyteArray
);
145 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
146 * Method: unregisterRootContainer
149 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_unregisterRootContainer
150 (JNIEnv
*, jobject
, jbyteArray
);
153 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
154 * Method: setEnvironmentVariable
157 JNIEXPORT
void JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_setEnvironmentVariable
158 (JNIEnv
*, jobject
, jbyteArray
, jbyteArray
);
161 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_storeTA
162 (JNIEnv
*, jobject
, jint
, jbyteArray
, jbyteArray
);