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

native.jniutil.exceptions.h 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
//
//
//

#ifndef BC_FIPS_EXCEPTIONS_H
#define BC_FIPS_EXCEPTIONS_H

#include "jni.h"

void throw_java_NPE( JNIEnv  *env, const char *msg);
void throw_java_illegal_argument(JNIEnv *enc, const char *msg);
void throw_java_invalid_state(JNIEnv *enc, const char *msg);
void throw_bc_data_length_exception(JNIEnv *enc, const char *msg);
void throw_bc_output_length_exception(JNIEnv *env, const char *msg);
void throw_bc_invalid_ciphertext_exception(JNIEnv *env, const char *msg);

#endif //BC_FIPS_EXCEPTIONS_H




© 2015 - 2024 Weber Informatics LLC | Privacy Policy