/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_kde_koala_KSSLCertificate */

#ifndef _Included_org_kde_koala_KSSLCertificate
#define _Included_org_kde_koala_KSSLCertificate
#ifdef __cplusplus
extern "C" {
#endif
#undef org_kde_koala_KSSLCertificate_Unknown
#define org_kde_koala_KSSLCertificate_Unknown 0L
#undef org_kde_koala_KSSLCertificate_Ok
#define org_kde_koala_KSSLCertificate_Ok 1L
#undef org_kde_koala_KSSLCertificate_NoCARoot
#define org_kde_koala_KSSLCertificate_NoCARoot 2L
#undef org_kde_koala_KSSLCertificate_InvalidPurpose
#define org_kde_koala_KSSLCertificate_InvalidPurpose 3L
#undef org_kde_koala_KSSLCertificate_PathLengthExceeded
#define org_kde_koala_KSSLCertificate_PathLengthExceeded 4L
#undef org_kde_koala_KSSLCertificate_InvalidCA
#define org_kde_koala_KSSLCertificate_InvalidCA 5L
#undef org_kde_koala_KSSLCertificate_Expired
#define org_kde_koala_KSSLCertificate_Expired 6L
#undef org_kde_koala_KSSLCertificate_SelfSigned
#define org_kde_koala_KSSLCertificate_SelfSigned 7L
#undef org_kde_koala_KSSLCertificate_ErrorReadingRoot
#define org_kde_koala_KSSLCertificate_ErrorReadingRoot 8L
#undef org_kde_koala_KSSLCertificate_NoSSL
#define org_kde_koala_KSSLCertificate_NoSSL 9L
#undef org_kde_koala_KSSLCertificate_Revoked
#define org_kde_koala_KSSLCertificate_Revoked 10L
#undef org_kde_koala_KSSLCertificate_Untrusted
#define org_kde_koala_KSSLCertificate_Untrusted 11L
#undef org_kde_koala_KSSLCertificate_SignatureFailed
#define org_kde_koala_KSSLCertificate_SignatureFailed 12L
#undef org_kde_koala_KSSLCertificate_Rejected
#define org_kde_koala_KSSLCertificate_Rejected 13L
#undef org_kde_koala_KSSLCertificate_PrivateKeyFailed
#define org_kde_koala_KSSLCertificate_PrivateKeyFailed 14L
#undef org_kde_koala_KSSLCertificate_InvalidHost
#define org_kde_koala_KSSLCertificate_InvalidHost 15L
#undef org_kde_koala_KSSLCertificate_Irrelevant
#define org_kde_koala_KSSLCertificate_Irrelevant 16L
#undef org_kde_koala_KSSLCertificate_None
#define org_kde_koala_KSSLCertificate_None 0L
#undef org_kde_koala_KSSLCertificate_SSLServer
#define org_kde_koala_KSSLCertificate_SSLServer 1L
#undef org_kde_koala_KSSLCertificate_SSLClient
#define org_kde_koala_KSSLCertificate_SSLClient 2L
#undef org_kde_koala_KSSLCertificate_SMIMESign
#define org_kde_koala_KSSLCertificate_SMIMESign 3L
#undef org_kde_koala_KSSLCertificate_SMIMEEncrypt
#define org_kde_koala_KSSLCertificate_SMIMEEncrypt 4L
#undef org_kde_koala_KSSLCertificate_Any
#define org_kde_koala_KSSLCertificate_Any 5L
/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    toString
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toString
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getSubject
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSubject
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getIssuer
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getNotBefore
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotBefore
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getNotAfter
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotAfter
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getQDTNotBefore
 * Signature: ()Ljava/util/Calendar;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotBefore
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getQDTNotAfter
 * Signature: ()Ljava/util/Calendar;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotAfter
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    toDer
 * Signature: ()[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    toPem
 * Signature: ()[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    toNetscape
 * Signature: ()[B
 */
JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toNetscape
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    toText
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toText
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getSerialNumber
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSerialNumber
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getKeyType
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKeyType
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getPublicKeyText
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getPublicKeyText
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getMD5DigestText
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestText
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getSignatureText
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSignatureText
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    isValid
 * Signature: ()Z
 */
JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    isValid
 * Signature: (I)Z
 */
JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__I
  (JNIEnv *, jobject, jint);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    validate
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    validate
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__I
  (JNIEnv *, jobject, jint);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    revalidate
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    revalidate
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__I
  (JNIEnv *, jobject, jint);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    chain
 * Signature: ()Lorg/kde/koala/KSSLCertChain;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_chain
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    replicate
 * Signature: ()Lorg/kde/koala/KSSLCertificate;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_replicate
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    newKSSLCertificate
 * Signature: (Lorg/kde/koala/KSSLCertificate;)V
 */
JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__Lorg_kde_koala_KSSLCertificate_2
  (JNIEnv *, jobject, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    setCert
 * Signature: (Ljava/lang/StringBuffer;)Z
 */
JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_setCert
  (JNIEnv *, jobject, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    x509V3Extensions
 * Signature: ()Lorg/kde/koala/KSSLX509V3;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_x509V3Extensions
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    isSigner
 * Signature: ()Z
 */
JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isSigner
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getEmails
 * Signature: ([Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_getEmails
  (JNIEnv *, jobject, jobjectArray);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getKDEKey
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKDEKey
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    fromString
 * Signature: (Ljava/lang/String;)Lorg/kde/koala/KSSLCertificate;
 */
JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_fromString
  (JNIEnv *, jclass, jstring);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    verifyText
 * Signature: (I)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_verifyText
  (JNIEnv *, jclass, jint);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    getMD5DigestFromKDEKey
 * Signature: (Ljava/lang/String;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestFromKDEKey
  (JNIEnv *, jclass, jstring);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    newKSSLCertificate
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    processError
 * Signature: (I)I
 */
JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_processError
  (JNIEnv *, jobject, jint);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    finalize
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_finalize
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    dispose
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_dispose
  (JNIEnv *, jobject);

/*
 * Class:     org_kde_koala_KSSLCertificate
 * Method:    isDisposed
 * Signature: ()Z
 */
JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isDisposed
  (JNIEnv *, jobject);

#ifdef __cplusplus
}
#endif
#endif
