Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

beecrypt/javaglue.h

Go to the documentation of this file.
00001 
00005 /* DO NOT EDIT THIS FILE - it is machine generated */
00006 #include <jni.h>
00007 /* Header for class javax_crypto_Cipher */
00008 
00009 #ifndef _Included_javax_crypto_Cipher
00010 #define _Included_javax_crypto_Cipher
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014 #undef javax_crypto_Cipher_UNINITIALIZED
00015 #define javax_crypto_Cipher_UNINITIALIZED 0L
00016 #undef javax_crypto_Cipher_ENCRYPT_MODE
00017 #define javax_crypto_Cipher_ENCRYPT_MODE 1L
00018 #undef javax_crypto_Cipher_DECRYPT_MODE
00019 #define javax_crypto_Cipher_DECRYPT_MODE 2L
00020 #undef javax_crypto_Cipher_WRAP_MODE
00021 #define javax_crypto_Cipher_WRAP_MODE 3L
00022 #undef javax_crypto_Cipher_UNWRAP_MODE
00023 #define javax_crypto_Cipher_UNWRAP_MODE 4L
00024 #undef javax_crypto_Cipher_PUBLIC_KEY
00025 #define javax_crypto_Cipher_PUBLIC_KEY 1L
00026 #undef javax_crypto_Cipher_PRIVATE_KEY
00027 #define javax_crypto_Cipher_PRIVATE_KEY 2L
00028 #undef javax_crypto_Cipher_SECRET_KEY
00029 #define javax_crypto_Cipher_SECRET_KEY 3L
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033 #endif
00034 /* Header for class beecrypt_security_NativeMessageDigest */
00035 
00036 #ifndef _Included_beecrypt_security_NativeMessageDigest
00037 #define _Included_beecrypt_security_NativeMessageDigest
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041 /*
00042  * Class:     beecrypt_security_NativeMessageDigest
00043  * Method:    find
00044  * Signature: (Ljava/lang/String;)J
00045  */
00046 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_find
00047   (JNIEnv *, jclass, jstring);
00048 
00049 /*
00050  * Class:     beecrypt_security_NativeMessageDigest
00051  * Method:    allocParam
00052  * Signature: (J)J
00053  */
00054 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_allocParam
00055   (JNIEnv *, jclass, jlong);
00056 
00057 /*
00058  * Class:     beecrypt_security_NativeMessageDigest
00059  * Method:    cloneParam
00060  * Signature: (JJ)J
00061  */
00062 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeMessageDigest_cloneParam
00063   (JNIEnv *, jclass, jlong, jlong);
00064 
00065 /*
00066  * Class:     beecrypt_security_NativeMessageDigest
00067  * Method:    freeParam
00068  * Signature: (J)V
00069  */
00070 JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_freeParam
00071   (JNIEnv *, jclass, jlong);
00072 
00073 /*
00074  * Class:     beecrypt_security_NativeMessageDigest
00075  * Method:    reset
00076  * Signature: (JJ)V
00077  */
00078 JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_reset
00079   (JNIEnv *, jclass, jlong, jlong);
00080 
00081 /*
00082  * Class:     beecrypt_security_NativeMessageDigest
00083  * Method:    update
00084  * Signature: (JJB)V
00085  */
00086 JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_update
00087   (JNIEnv *, jclass, jlong, jlong, jbyte);
00088 
00089 /*
00090  * Class:     beecrypt_security_NativeMessageDigest
00091  * Method:    updateBlock
00092  * Signature: (JJ[BII)V
00093  */
00094 JNIEXPORT void JNICALL Java_beecrypt_security_NativeMessageDigest_updateBlock
00095   (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jint);
00096 
00097 /*
00098  * Class:     beecrypt_security_NativeMessageDigest
00099  * Method:    digest
00100  * Signature: (JJ)[B
00101  */
00102 JNIEXPORT jbyteArray JNICALL Java_beecrypt_security_NativeMessageDigest_digest
00103   (JNIEnv *, jclass, jlong, jlong);
00104 
00105 /*
00106  * Class:     beecrypt_security_NativeMessageDigest
00107  * Method:    digestLength
00108  * Signature: (J)I
00109  */
00110 JNIEXPORT jint JNICALL Java_beecrypt_security_NativeMessageDigest_digestLength
00111   (JNIEnv *, jclass, jlong);
00112 
00113 #ifdef __cplusplus
00114 }
00115 #endif
00116 #endif
00117 /* Header for class beecrypt_security_NativeSecureRandom */
00118 
00119 #ifndef _Included_beecrypt_security_NativeSecureRandom
00120 #define _Included_beecrypt_security_NativeSecureRandom
00121 #ifdef __cplusplus
00122 extern "C" {
00123 #endif
00124 /*
00125  * Class:     beecrypt_security_NativeSecureRandom
00126  * Method:    find
00127  * Signature: (Ljava/lang/String;)J
00128  */
00129 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_find
00130   (JNIEnv *, jclass, jstring);
00131 
00132 /*
00133  * Class:     beecrypt_security_NativeSecureRandom
00134  * Method:    allocParam
00135  * Signature: (J)J
00136  */
00137 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_allocParam
00138   (JNIEnv *, jclass, jlong);
00139 
00140 /*
00141  * Class:     beecrypt_security_NativeSecureRandom
00142  * Method:    cloneParam
00143  * Signature: (JJ)J
00144  */
00145 JNIEXPORT jlong JNICALL Java_beecrypt_security_NativeSecureRandom_cloneParam
00146   (JNIEnv *, jclass, jlong, jlong);
00147 
00148 /*
00149  * Class:     beecrypt_security_NativeSecureRandom
00150  * Method:    freeParam
00151  * Signature: (J)V
00152  */
00153 JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_freeParam
00154   (JNIEnv *, jclass, jlong);
00155 
00156 /*
00157  * Class:     beecrypt_security_NativeSecureRandom
00158  * Method:    setup
00159  * Signature: (JJ)V
00160  */
00161 JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setup
00162   (JNIEnv *, jclass, jlong, jlong);
00163 
00164 /*
00165  * Class:     beecrypt_security_NativeSecureRandom
00166  * Method:    setSeed
00167  * Signature: (JJ[B)V
00168  */
00169 JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_setSeed
00170   (JNIEnv *, jclass, jlong, jlong, jbyteArray);
00171 
00172 /*
00173  * Class:     beecrypt_security_NativeSecureRandom
00174  * Method:    nextBytes
00175  * Signature: (JJ[B)V
00176  */
00177 JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_nextBytes
00178   (JNIEnv *, jclass, jlong, jlong, jbyteArray);
00179 
00180 /*
00181  * Class:     beecrypt_security_NativeSecureRandom
00182  * Method:    generateSeed
00183  * Signature: ([B)V
00184  */
00185 JNIEXPORT void JNICALL Java_beecrypt_security_NativeSecureRandom_generateSeed
00186   (JNIEnv *, jclass, jbyteArray);
00187 
00188 #ifdef __cplusplus
00189 }
00190 #endif
00191 #endif
00192 /* Header for class beecrypt_crypto_NativeBlockCipher */
00193 
00194 #ifndef _Included_beecrypt_crypto_NativeBlockCipher
00195 #define _Included_beecrypt_crypto_NativeBlockCipher
00196 #ifdef __cplusplus
00197 extern "C" {
00198 #endif
00199 #undef beecrypt_crypto_NativeBlockCipher_MODE_ECB
00200 #define beecrypt_crypto_NativeBlockCipher_MODE_ECB 0L
00201 #undef beecrypt_crypto_NativeBlockCipher_MODE_CBC
00202 #define beecrypt_crypto_NativeBlockCipher_MODE_CBC 1L
00203 /* Inaccessible static: MODES */
00204 #undef beecrypt_crypto_NativeBlockCipher_PADDING_NOPADDING
00205 #define beecrypt_crypto_NativeBlockCipher_PADDING_NOPADDING 0L
00206 #undef beecrypt_crypto_NativeBlockCipher_PADDING_PKCS5
00207 #define beecrypt_crypto_NativeBlockCipher_PADDING_PKCS5 1L
00208 /* Inaccessible static: PADDINGS */
00209 /* Inaccessible static: class_00024javax_00024crypto_00024spec_00024PBEParameterSpec */
00210 /* Inaccessible static: class_00024javax_00024crypto_00024spec_00024IvParameterSpec */
00211 /*
00212  * Class:     beecrypt_crypto_NativeBlockCipher
00213  * Method:    find
00214  * Signature: (Ljava/lang/String;)J
00215  */
00216 JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_find
00217   (JNIEnv *, jclass, jstring);
00218 
00219 /*
00220  * Class:     beecrypt_crypto_NativeBlockCipher
00221  * Method:    allocParam
00222  * Signature: (J)J
00223  */
00224 JNIEXPORT jlong JNICALL Java_beecrypt_crypto_NativeBlockCipher_allocParam
00225   (JNIEnv *, jclass, jlong);
00226 
00227 /*
00228  * Class:     beecrypt_crypto_NativeBlockCipher
00229  * Method:    freeParam
00230  * Signature: (J)V
00231  */
00232 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_freeParam
00233   (JNIEnv *, jclass, jlong);
00234 
00235 /*
00236  * Class:     beecrypt_crypto_NativeBlockCipher
00237  * Method:    getBlockSize
00238  * Signature: (J)I
00239  */
00240 JNIEXPORT jint JNICALL Java_beecrypt_crypto_NativeBlockCipher_getBlockSize
00241   (JNIEnv *, jclass, jlong);
00242 
00243 /*
00244  * Class:     beecrypt_crypto_NativeBlockCipher
00245  * Method:    setup
00246  * Signature: (JJI[B)V
00247  */
00248 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setup
00249   (JNIEnv *, jclass, jlong, jlong, jint, jbyteArray);
00250 
00251 /*
00252  * Class:     beecrypt_crypto_NativeBlockCipher
00253  * Method:    setIV
00254  * Signature: (JJ[B)V
00255  */
00256 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_setIV
00257   (JNIEnv *, jclass, jlong, jlong, jbyteArray);
00258 
00259 /*
00260  * Class:     beecrypt_crypto_NativeBlockCipher
00261  * Method:    encryptECB
00262  * Signature: (JJ[BI[BII)V
00263  */
00264 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptECB
00265   (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint);
00266 
00267 /*
00268  * Class:     beecrypt_crypto_NativeBlockCipher
00269  * Method:    decryptECB
00270  * Signature: (JJ[BI[BII)V
00271  */
00272 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptECB
00273   (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint);
00274 
00275 /*
00276  * Class:     beecrypt_crypto_NativeBlockCipher
00277  * Method:    encryptCBC
00278  * Signature: (JJ[BI[BII)V
00279  */
00280 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_encryptCBC
00281   (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint);
00282 
00283 /*
00284  * Class:     beecrypt_crypto_NativeBlockCipher
00285  * Method:    decryptCBC
00286  * Signature: (JJ[BI[BII)V
00287  */
00288 JNIEXPORT void JNICALL Java_beecrypt_crypto_NativeBlockCipher_decryptCBC
00289   (JNIEnv *, jclass, jlong, jlong, jbyteArray, jint, jbyteArray, jint, jint);
00290 
00291 #ifdef __cplusplus
00292 }
00293 #endif
00294 #endif

Generated on Tue Sep 17 15:56:37 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002