File: jest.h

package info (click to toggle)
libest 3.2.0%2Bds-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,792 kB
  • sloc: ansic: 60,980; java: 12,082; sh: 4,956; python: 4,474; xml: 385; makefile: 290
file content (123 lines) | stat: -rw-r--r-- 3,828 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/*
 * jest.h
 *
 *  Created on: July 1, 2014
 *      Author: foleyj
 *
 * Copyright (c) 2014 by cisco Systems, Inc.
 * All rights reserved.
 *
 */


#include <jni.h>
/* Header for class com_cisco_c3m_est classes */

#ifndef _Included_com_cisco_c3m_est_ESTClient
#define _Included_com_cisco_c3m_est_ESTClient
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_http_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1http_1auth_1enroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_srp_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1srp_1auth_1enroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jstring, jstring, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_tls_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1tls_1auth_1enroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jbyteArray, jbyteArray, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_http_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1http_1auth_1reenroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_srp_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1srp_1auth_1reenroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jstring, jstring, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_tls_auth_enroll_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1tls_1auth_1reenroll_1request
  (JNIEnv *, jclass, jbyteArray, jbyteArray, jstring, jint, jbyteArray, jbyteArray, jstring, jstring, jint, jbyteArray, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    send_cacerts_request
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_send_1cacerts_1request
  (JNIEnv *, jclass, jbyteArray, jstring, jint, jstring, jstring, jbyteArray);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    enable_fips
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_enable_1fips
  (JNIEnv *, jclass);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    enable_logs_errors
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_enable_1logs_1errors
  (JNIEnv *, jclass);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    enable_logs_warnings
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_enable_1logs_1warnings
  (JNIEnv *, jclass);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    enable_logs_info
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_enable_1logs_1info
  (JNIEnv *, jclass);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    get_max_cert_length
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_get_1max_1cert_1length
  (JNIEnv *, jclass);

/*
 * Class:     com_cisco_c3m_est_ESTClient
 * Method:    set_max_cert_length
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_ESTClient_set_1max_1cert_1length
  (JNIEnv *, jclass, jint);

/*
 * Class:     com_cisco_c3m_est_PKCS10CertificateRequest
 * Method:    create_csr
 */
JNIEXPORT jint JNICALL Java_com_cisco_c3m_est_PKCS10CertificateRequest_create_1csr
  (JNIEnv *, jclass, jbyteArray, jstring, jstring, jstring, jstring, jstring, jstring, jbyteArray);


#ifdef __cplusplus
}
#endif
#endif