native.intel.jni.ident_jni.c Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-lts8on Show documentation
Show all versions of bcprov-lts8on Show documentation
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.
#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