-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcom_ravencoin_core_BRCoreKey.h
executable file
·181 lines (159 loc) · 4.74 KB
/
com_ravencoin_core_BRCoreKey.h
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_ravencoin_core_BRCoreKey */
#ifndef _Included_com_ravencoin_core_BRCoreKey
#define _Included_com_ravencoin_core_BRCoreKey
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getSecret
* Signature: ()[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_getSecret
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getPubKey
* Signature: ()[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_getPubKey
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getCompressed
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_ravencoin_core_BRCoreKey_getCompressed
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getPrivKey
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCoreKey_getPrivKey
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getSeedFromPhrase
* Signature: ([B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_getSeedFromPhrase
(JNIEnv *, jclass, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getAuthPrivKeyForAPI
* Signature: ([B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_getAuthPrivKeyForAPI
(JNIEnv *, jclass, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: getAuthPublicKeyForAPI
* Signature: ([B)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCoreKey_getAuthPublicKeyForAPI
(JNIEnv *, jclass, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: decryptBip38Key
* Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCoreKey_decryptBip38Key
(JNIEnv *, jclass, jstring, jstring);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: createJniCoreKey
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCoreKey_createJniCoreKey
(JNIEnv *, jclass);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: createCoreKeyForBIP32
* Signature: ([BJJ)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCoreKey_createCoreKeyForBIP32
(JNIEnv *, jclass, jbyteArray, jlong, jlong);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: setPrivKey
* Signature: (Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCoreKey_setPrivKey
(JNIEnv *, jobject, jstring);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: setSecret
* Signature: ([BZ)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCoreKey_setSecret
(JNIEnv *, jobject, jbyteArray, jboolean);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: compactSign
* Signature: ([B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_compactSign
(JNIEnv *, jobject, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: encryptNative
* Signature: ([B[B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_encryptNative
(JNIEnv *, jobject, jbyteArray, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: decryptNative
* Signature: ([B[B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_decryptNative
(JNIEnv *, jobject, jbyteArray, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: address
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCoreKey_address
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: isValidBitcoinPrivateKey
* Signature: (Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCoreKey_isValidBitcoinPrivateKey
(JNIEnv *, jclass, jstring);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: isValidBitcoinBIP38Key
* Signature: (Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCoreKey_isValidBitcoinBIP38Key
(JNIEnv *, jclass, jstring);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: encodeSHA256
* Signature: (Ljava/lang/String;)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_encodeSHA256
(JNIEnv *, jclass, jstring);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: sign
* Signature: ([B)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCoreKey_sign
(JNIEnv *, jobject, jbyteArray);
/*
* Class: com_ravencoin_core_BRCoreKey
* Method: verify
* Signature: ([B[B)Z
*/
JNIEXPORT jboolean JNICALL Java_com_ravencoin_core_BRCoreKey_verify
(JNIEnv *, jobject, jbyteArray, jbyteArray);
#ifdef __cplusplus
}
#endif
#endif