All Downloads are FREE. Search and download functionalities are using the official Maven repository.

native.intel.jni.ident_jni.c Maven / Gradle / Ivy

Go to download

The Long Term Stable (LTS) Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains the JCA/JCE provider and low-level API for the BC LTS version 2.73.7 for Java 8 and later.

There is a newer version: 2.73.7
Show newest version

#include "org_bouncycastle_crypto_NativeLibIdentity.h"
#include "jni.h"

#ifndef BC_VARIANT
#define BC_VARIANT "Unknown"
#endif

/*
 * Class:     Java_org_bouncycastle_crypto_NativeLibIdentity\
 * Method:    getLibIdent
 * Signature: ()Ljava/lang/String;
 */
__attribute__((unused)) JNIEXPORT jstring JNICALL Java_org_bouncycastle_crypto_NativeLibIdentity_getLibIdent
        (JNIEnv *env, jclass cl) {

    // Owned by JVM
    jstring str = (*env)->NewStringUTF(env, BC_VARIANT);
    return str;
}

__attribute__((unused)) JNIEXPORT jstring JNICALL Java_org_bouncycastle_crypto_NativeLibIdentity_getBuiltTimeStamp
        (JNIEnv *env, jclass cl) {
    jstring str = (*env)->NewStringUTF(env, BUILD_TS"");
    return str;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy