libksba  1.6.0
About: KSBA is a library to make the tasks of working with X.509 certificates, CMS data and related objects more easy.
  Fossies Dox: libksba-1.6.0.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

visibility.h
Go to the documentation of this file.
1 /* visibility.h - Set the ELF visibility attribute
2  * Copyright (C) 2008, 2012 g10 Code GmbH
3  *
4  * This file is part of KSBA.
5  *
6  * KSBA is free software; you can redistribute it and/or modify
7  * it under the terms of either
8  *
9  * - the GNU Lesser General Public License as published by the Free
10  * Software Foundation; either version 3 of the License, or (at
11  * your option) any later version.
12  *
13  * or
14  *
15  * - the GNU General Public License as published by the Free
16  * Software Foundation; either version 2 of the License, or (at
17  * your option) any later version.
18  *
19  * or both in parallel, as here.
20  *
21  * KSBA is distributed in the hope that it will be useful, but WITHOUT
22  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
24  * License for more details.
25  *
26  * You should have received a copies of the GNU General Public License
27  * and the GNU Lesser General Public License along with this program;
28  * if not, see <http://www.gnu.org/licenses/>.
29  */
30 
31 #ifndef VISIBILITY_H
32 #define VISIBILITY_H
33 
34 /* Redefine all public symbols. */
35 #define ksba_check_version _ksba_check_version
36 #define ksba_set_hash_buffer_function _ksba_set_hash_buffer_function
37 #define ksba_set_malloc_hooks _ksba_set_malloc_hooks
38 #define ksba_free _ksba_free
39 #define ksba_malloc _ksba_malloc
40 #define ksba_calloc _ksba_calloc
41 #define ksba_realloc _ksba_realloc
42 #define ksba_strdup _ksba_strdup
43 #define ksba_asn_create_tree _ksba_asn_create_tree
44 #define ksba_asn_parse_file _ksba_asn_parse_file
45 #define ksba_asn_tree_dump _ksba_asn_tree_dump
46 #define ksba_asn_tree_release _ksba_asn_tree_release
47 
48 #define ksba_cert_get_auth_key_id _ksba_cert_get_auth_key_id
49 #define ksba_cert_get_cert_policies _ksba_cert_get_cert_policies
50 #define ksba_cert_get_crl_dist_point _ksba_cert_get_crl_dist_point
51 #define ksba_cert_get_digest_algo _ksba_cert_get_digest_algo
52 #define ksba_cert_get_ext_key_usages _ksba_cert_get_ext_key_usages
53 #define ksba_cert_get_extension _ksba_cert_get_extension
54 #define ksba_cert_get_image _ksba_cert_get_image
55 #define ksba_cert_get_issuer _ksba_cert_get_issuer
56 #define ksba_cert_get_key_usage _ksba_cert_get_key_usage
57 #define ksba_cert_get_public_key _ksba_cert_get_public_key
58 #define ksba_cert_get_serial _ksba_cert_get_serial
59 #define ksba_cert_get_sig_val _ksba_cert_get_sig_val
60 #define ksba_cert_get_subject _ksba_cert_get_subject
61 #define ksba_cert_get_validity _ksba_cert_get_validity
62 #define ksba_cert_hash _ksba_cert_hash
63 #define ksba_cert_init_from_mem _ksba_cert_init_from_mem
64 #define ksba_cert_is_ca _ksba_cert_is_ca
65 #define ksba_cert_new _ksba_cert_new
66 #define ksba_cert_read_der _ksba_cert_read_der
67 #define ksba_cert_ref _ksba_cert_ref
68 #define ksba_cert_release _ksba_cert_release
69 #define ksba_cert_get_authority_info_access \
70  _ksba_cert_get_authority_info_access
71 #define ksba_cert_get_subject_info_access _ksba_cert_get_subject_info_access
72 #define ksba_cert_get_subj_key_id _ksba_cert_get_subj_key_id
73 #define ksba_cert_set_user_data _ksba_cert_set_user_data
74 #define ksba_cert_get_user_data _ksba_cert_get_user_data
75 
76 #define ksba_certreq_set_serial _ksba_certreq_set_serial
77 #define ksba_certreq_set_issuer _ksba_certreq_set_issuer
78 #define ksba_certreq_set_validity _ksba_certreq_set_validity
79 #define ksba_certreq_set_siginfo _ksba_certreq_set_siginfo
80 #define ksba_certreq_add_subject _ksba_certreq_add_subject
81 #define ksba_certreq_build _ksba_certreq_build
82 #define ksba_certreq_new _ksba_certreq_new
83 #define ksba_certreq_release _ksba_certreq_release
84 #define ksba_certreq_set_hash_function _ksba_certreq_set_hash_function
85 #define ksba_certreq_set_public_key _ksba_certreq_set_public_key
86 #define ksba_certreq_set_sig_val _ksba_certreq_set_sig_val
87 #define ksba_certreq_set_writer _ksba_certreq_set_writer
88 #define ksba_certreq_add_extension _ksba_certreq_add_extension
89 
90 #define ksba_cms_add_cert _ksba_cms_add_cert
91 #define ksba_cms_add_digest_algo _ksba_cms_add_digest_algo
92 #define ksba_cms_add_recipient _ksba_cms_add_recipient
93 #define ksba_cms_add_signer _ksba_cms_add_signer
94 #define ksba_cms_build _ksba_cms_build
95 #define ksba_cms_get_cert _ksba_cms_get_cert
96 #define ksba_cms_get_content_enc_iv _ksba_cms_get_content_enc_iv
97 #define ksba_cms_get_content_oid _ksba_cms_get_content_oid
98 #define ksba_cms_get_content_type _ksba_cms_get_content_type
99 #define ksba_cms_get_digest_algo _ksba_cms_get_digest_algo
100 #define ksba_cms_get_digest_algo_list _ksba_cms_get_digest_algo_list
101 #define ksba_cms_get_enc_val _ksba_cms_get_enc_val
102 #define ksba_cms_get_issuer_serial _ksba_cms_get_issuer_serial
103 #define ksba_cms_get_message_digest _ksba_cms_get_message_digest
104 #define ksba_cms_get_sig_val _ksba_cms_get_sig_val
105 #define ksba_cms_get_sigattr_oids _ksba_cms_get_sigattr_oids
106 #define ksba_cms_get_signing_time _ksba_cms_get_signing_time
107 #define ksba_cms_hash_signed_attrs _ksba_cms_hash_signed_attrs
108 #define ksba_cms_identify _ksba_cms_identify
109 #define ksba_cms_new _ksba_cms_new
110 #define ksba_cms_parse _ksba_cms_parse
111 #define ksba_cms_release _ksba_cms_release
112 #define ksba_cms_set_content_enc_algo _ksba_cms_set_content_enc_algo
113 #define ksba_cms_set_content_type _ksba_cms_set_content_type
114 #define ksba_cms_set_enc_val _ksba_cms_set_enc_val
115 #define ksba_cms_set_hash_function _ksba_cms_set_hash_function
116 #define ksba_cms_set_message_digest _ksba_cms_set_message_digest
117 #define ksba_cms_set_reader_writer _ksba_cms_set_reader_writer
118 #define ksba_cms_set_sig_val _ksba_cms_set_sig_val
119 #define ksba_cms_set_signing_time _ksba_cms_set_signing_time
120 #define ksba_cms_add_smime_capability _ksba_cms_add_smime_capability
121 
122 #define ksba_crl_get_digest_algo _ksba_crl_get_digest_algo
123 #define ksba_crl_get_issuer _ksba_crl_get_issuer
124 #define ksba_crl_get_item _ksba_crl_get_item
125 #define ksba_crl_get_sig_val _ksba_crl_get_sig_val
126 #define ksba_crl_get_update_times _ksba_crl_get_update_times
127 #define ksba_crl_new _ksba_crl_new
128 #define ksba_crl_parse _ksba_crl_parse
129 #define ksba_crl_release _ksba_crl_release
130 #define ksba_crl_set_hash_function _ksba_crl_set_hash_function
131 #define ksba_crl_set_reader _ksba_crl_set_reader
132 #define ksba_crl_get_extension _ksba_crl_get_extension
133 #define ksba_crl_get_auth_key_id _ksba_crl_get_auth_key_id
134 #define ksba_crl_get_crl_number _ksba_crl_get_crl_number
135 
136 #define ksba_name_enum _ksba_name_enum
137 #define ksba_name_get_uri _ksba_name_get_uri
138 #define ksba_name_new _ksba_name_new
139 #define ksba_name_ref _ksba_name_ref
140 #define ksba_name_release _ksba_name_release
141 
142 #define ksba_ocsp_add_cert _ksba_ocsp_add_cert
143 #define ksba_ocsp_add_target _ksba_ocsp_add_target
144 #define ksba_ocsp_build_request _ksba_ocsp_build_request
145 #define ksba_ocsp_get_cert _ksba_ocsp_get_cert
146 #define ksba_ocsp_get_digest_algo _ksba_ocsp_get_digest_algo
147 #define ksba_ocsp_get_responder_id _ksba_ocsp_get_responder_id
148 #define ksba_ocsp_get_sig_val _ksba_ocsp_get_sig_val
149 #define ksba_ocsp_get_status _ksba_ocsp_get_status
150 #define ksba_ocsp_hash_request _ksba_ocsp_hash_request
151 #define ksba_ocsp_hash_response _ksba_ocsp_hash_response
152 #define ksba_ocsp_new _ksba_ocsp_new
153 #define ksba_ocsp_parse_response _ksba_ocsp_parse_response
154 #define ksba_ocsp_prepare_request _ksba_ocsp_prepare_request
155 #define ksba_ocsp_release _ksba_ocsp_release
156 #define ksba_ocsp_set_digest_algo _ksba_ocsp_set_digest_algo
157 #define ksba_ocsp_set_nonce _ksba_ocsp_set_nonce
158 #define ksba_ocsp_set_requestor _ksba_ocsp_set_requestor
159 #define ksba_ocsp_set_sig_val _ksba_ocsp_set_sig_val
160 #define ksba_ocsp_get_extension _ksba_ocsp_get_extension
161 
162 #define ksba_oid_from_str _ksba_oid_from_str
163 #define ksba_oid_to_str _ksba_oid_to_str
164 
165 #define ksba_dn_der2str _ksba_dn_der2str
166 #define ksba_dn_str2der _ksba_dn_str2der
167 #define ksba_dn_teststr _ksba_dn_teststr
168 
169 #define ksba_reader_clear _ksba_reader_clear
170 #define ksba_reader_error _ksba_reader_error
171 #define ksba_reader_new _ksba_reader_new
172 #define ksba_reader_read _ksba_reader_read
173 #define ksba_reader_release _ksba_reader_release
174 #define ksba_reader_set_cb _ksba_reader_set_cb
175 #define ksba_reader_set_fd _ksba_reader_set_fd
176 #define ksba_reader_set_file _ksba_reader_set_file
177 #define ksba_reader_set_mem _ksba_reader_set_mem
178 #define ksba_reader_tell _ksba_reader_tell
179 #define ksba_reader_unread _ksba_reader_unread
180 
181 #define ksba_writer_error _ksba_writer_error
182 #define ksba_writer_get_mem _ksba_writer_get_mem
183 #define ksba_writer_new _ksba_writer_new
184 #define ksba_writer_release _ksba_writer_release
185 #define ksba_writer_set_cb _ksba_writer_set_cb
186 #define ksba_writer_set_fd _ksba_writer_set_fd
187 #define ksba_writer_set_file _ksba_writer_set_file
188 #define ksba_writer_set_filter _ksba_writer_set_filter
189 #define ksba_writer_set_mem _ksba_writer_set_mem
190 #define ksba_writer_snatch_mem _ksba_writer_snatch_mem
191 #define ksba_writer_tell _ksba_writer_tell
192 #define ksba_writer_write _ksba_writer_write
193 #define ksba_writer_write_octet_string _ksba_writer_write_octet_string
194 
195 #define ksba_der_release _ksba_der_release
196 #define ksba_der_builder_new _ksba_der_builder_new
197 #define ksba_der_builder_reset _ksba_der_builder_reset
198 #define ksba_der_add_ptr _ksba_der_add_ptr
199 #define ksba_der_add_val _ksba_der_add_val
200 #define ksba_der_add_int _ksba_der_add_int
201 #define ksba_der_add_oid _ksba_der_add_oid
202 #define ksba_der_add_bts _ksba_der_add_bts
203 #define ksba_der_add_der _ksba_der_add_der
204 #define ksba_der_add_tag _ksba_der_add_tag
205 #define ksba_der_add_end _ksba_der_add_end
206 #define ksba_der_builder_get _ksba_der_builder_get
207 
208 
209 /* Include the main header file to map the public symbols to the
210  internal underscore prefixed symbols. */
211 #include "ksba.h"
212 
213 /* Our use of the ELF visibility feature works by passing
214  -fvisibiliy=hidden on the command line and by explicitly marking
215  all exported functions as visible.
216 
217  Note: When adding new functions, you need to add them to
218  libksba.vers and libksba.def as well. */
219 #ifdef KSBA_USE_VISIBILITY
220 # define _KSBA_VISIBILITY_DEFAULT __attribute__ ((visibility("default")))
221 #else
222 # define _KSBA_VISIBILITY_DEFAULT
223 #endif
224 
225 #ifdef _KSBA_INCLUDED_BY_VISIBILITY_C
226 # ifdef KSBA_USE_VISIBILITY
227 # define MARK_VISIBLE(name) \
228  extern __typeof__ (_##name) name _KSBA_VISIBILITY_DEFAULT;
229 # define MARK_VISIBLEX(name) \
230  extern __typeof__ (name) name _KSBA_VISIBILITY_DEFAULT;
231 # else
232 # define MARK_VISIBLE(name) /* */
233 # define MARK_VISIBLEX(name) /* */
234 # endif
235 
236 
237 /* Prototype for a dummy function we once exported accidently. */
238 int ksba_asn_delete_structure (void *dummy);
239 
240 
241 /* Undef all redefined symbols so that we set the attribute on the
242  exported name of the symbol. */
243 #undef ksba_check_version
244 #undef ksba_set_hash_buffer_function
245 #undef ksba_set_malloc_hooks
246 #undef ksba_free
247 #undef ksba_malloc
248 #undef ksba_calloc
249 #undef ksba_realloc
250 #undef ksba_strdup
251 #undef ksba_asn_create_tree
252 #undef ksba_asn_parse_file
253 #undef ksba_asn_tree_dump
254 #undef ksba_asn_tree_release
255 
256 #undef ksba_cert_get_auth_key_id
257 #undef ksba_cert_get_cert_policies
258 #undef ksba_cert_get_crl_dist_point
259 #undef ksba_cert_get_digest_algo
260 #undef ksba_cert_get_ext_key_usages
261 #undef ksba_cert_get_extension
262 #undef ksba_cert_get_image
263 #undef ksba_cert_get_issuer
264 #undef ksba_cert_get_key_usage
265 #undef ksba_cert_get_public_key
266 #undef ksba_cert_get_serial
267 #undef ksba_cert_get_sig_val
268 #undef ksba_cert_get_subject
269 #undef ksba_cert_get_validity
270 #undef ksba_cert_hash
271 #undef ksba_cert_init_from_mem
272 #undef ksba_cert_is_ca
273 #undef ksba_cert_new
274 #undef ksba_cert_read_der
275 #undef ksba_cert_ref
276 #undef ksba_cert_release
277 #undef ksba_cert_get_authority_info_access
278 #undef ksba_cert_get_subject_info_access
279 #undef ksba_cert_get_subj_key_id
280 #undef ksba_cert_set_user_data
281 #undef ksba_cert_get_user_data
282 
283 #undef ksba_certreq_set_serial
284 #undef ksba_certreq_set_issuer
285 #undef ksba_certreq_set_validity
286 #undef ksba_certreq_set_siginfo
287 #undef ksba_certreq_add_subject
288 #undef ksba_certreq_build
289 #undef ksba_certreq_new
290 #undef ksba_certreq_release
291 #undef ksba_certreq_set_hash_function
292 #undef ksba_certreq_set_public_key
293 #undef ksba_certreq_set_sig_val
294 #undef ksba_certreq_set_writer
295 #undef ksba_certreq_add_extension
296 
297 #undef ksba_cms_add_cert
298 #undef ksba_cms_add_digest_algo
299 #undef ksba_cms_add_recipient
300 #undef ksba_cms_add_signer
301 #undef ksba_cms_build
302 #undef ksba_cms_get_cert
303 #undef ksba_cms_get_content_enc_iv
304 #undef ksba_cms_get_content_oid
305 #undef ksba_cms_get_content_type
306 #undef ksba_cms_get_digest_algo
307 #undef ksba_cms_get_digest_algo_list
308 #undef ksba_cms_get_enc_val
309 #undef ksba_cms_get_issuer_serial
310 #undef ksba_cms_get_message_digest
311 #undef ksba_cms_get_sig_val
312 #undef ksba_cms_get_sigattr_oids
313 #undef ksba_cms_get_signing_time
314 #undef ksba_cms_hash_signed_attrs
315 #undef ksba_cms_identify
316 #undef ksba_cms_new
317 #undef ksba_cms_parse
318 #undef ksba_cms_release
319 #undef ksba_cms_set_content_enc_algo
320 #undef ksba_cms_set_content_type
321 #undef ksba_cms_set_enc_val
322 #undef ksba_cms_set_hash_function
323 #undef ksba_cms_set_message_digest
324 #undef ksba_cms_set_reader_writer
325 #undef ksba_cms_set_sig_val
326 #undef ksba_cms_set_signing_time
327 #undef ksba_cms_add_smime_capability
328 
329 #undef ksba_crl_get_digest_algo
330 #undef ksba_crl_get_issuer
331 #undef ksba_crl_get_item
332 #undef ksba_crl_get_sig_val
333 #undef ksba_crl_get_update_times
334 #undef ksba_crl_new
335 #undef ksba_crl_parse
336 #undef ksba_crl_release
337 #undef ksba_crl_set_hash_function
338 #undef ksba_crl_set_reader
339 #undef ksba_crl_get_extension
340 #undef ksba_crl_get_auth_key_id
341 #undef ksba_crl_get_crl_number
342 
343 #undef ksba_name_enum
344 #undef ksba_name_get_uri
345 #undef ksba_name_new
346 #undef ksba_name_ref
347 #undef ksba_name_release
348 
349 #undef ksba_ocsp_add_cert
350 #undef ksba_ocsp_add_target
351 #undef ksba_ocsp_build_request
352 #undef ksba_ocsp_get_cert
353 #undef ksba_ocsp_get_digest_algo
354 #undef ksba_ocsp_get_responder_id
355 #undef ksba_ocsp_get_sig_val
356 #undef ksba_ocsp_get_status
357 #undef ksba_ocsp_hash_request
358 #undef ksba_ocsp_hash_response
359 #undef ksba_ocsp_new
360 #undef ksba_ocsp_parse_response
361 #undef ksba_ocsp_prepare_request
362 #undef ksba_ocsp_release
363 #undef ksba_ocsp_set_digest_algo
364 #undef ksba_ocsp_set_nonce
365 #undef ksba_ocsp_set_requestor
366 #undef ksba_ocsp_set_sig_val
367 #undef ksba_ocsp_get_extension
368 
369 #undef ksba_oid_from_str
370 #undef ksba_oid_to_str
371 
372 #undef ksba_dn_der2str
373 #undef ksba_dn_str2der
374 #undef ksba_dn_teststr
375 
376 #undef ksba_reader_clear
377 #undef ksba_reader_error
378 #undef ksba_reader_new
379 #undef ksba_reader_read
380 #undef ksba_reader_release
381 #undef ksba_reader_set_cb
382 #undef ksba_reader_set_fd
383 #undef ksba_reader_set_file
384 #undef ksba_reader_set_mem
385 #undef ksba_reader_tell
386 #undef ksba_reader_unread
387 
388 #undef ksba_writer_error
389 #undef ksba_writer_get_mem
390 #undef ksba_writer_new
391 #undef ksba_writer_release
392 #undef ksba_writer_set_cb
393 #undef ksba_writer_set_fd
394 #undef ksba_writer_set_file
395 #undef ksba_writer_set_filter
396 #undef ksba_writer_set_mem
397 #undef ksba_writer_snatch_mem
398 #undef ksba_writer_tell
399 #undef ksba_writer_write
400 #undef ksba_writer_write_octet_string
401 
402 #undef ksba_der_release
403 #undef ksba_der_builder_new
404 #undef ksba_der_builder_reset
405 #undef ksba_der_add_ptr
406 #undef ksba_der_add_val
407 #undef ksba_der_add_int
408 #undef ksba_der_add_oid
409 #undef ksba_der_add_bts
410 #undef ksba_der_add_der
411 #undef ksba_der_add_tag
412 #undef ksba_der_add_end
413 #undef ksba_der_builder_get
414 
415 
416 
417 /* Mark all symbols. */
418 MARK_VISIBLE (ksba_check_version)
419 MARK_VISIBLE (ksba_set_hash_buffer_function)
420 MARK_VISIBLE (ksba_set_malloc_hooks)
421 MARK_VISIBLE (ksba_free)
422 MARK_VISIBLE (ksba_malloc)
423 MARK_VISIBLE (ksba_calloc)
424 MARK_VISIBLE (ksba_realloc)
425 MARK_VISIBLE (ksba_strdup)
426 MARK_VISIBLE (ksba_asn_create_tree)
427 MARK_VISIBLE (ksba_asn_parse_file)
428 MARK_VISIBLE (ksba_asn_tree_dump)
429 MARK_VISIBLE (ksba_asn_tree_release)
430 MARK_VISIBLEX (ksba_asn_delete_structure) /* Dummy for ABI compatibility. */
431 
432 MARK_VISIBLE (ksba_cert_get_auth_key_id)
433 MARK_VISIBLE (ksba_cert_get_cert_policies)
434 MARK_VISIBLE (ksba_cert_get_crl_dist_point)
435 MARK_VISIBLE (ksba_cert_get_digest_algo)
436 MARK_VISIBLE (ksba_cert_get_ext_key_usages)
437 MARK_VISIBLE (ksba_cert_get_extension)
438 MARK_VISIBLE (ksba_cert_get_image)
439 MARK_VISIBLE (ksba_cert_get_issuer)
440 MARK_VISIBLE (ksba_cert_get_key_usage)
441 MARK_VISIBLE (ksba_cert_get_public_key)
442 MARK_VISIBLE (ksba_cert_get_serial)
443 MARK_VISIBLE (ksba_cert_get_sig_val)
444 MARK_VISIBLE (ksba_cert_get_subject)
445 MARK_VISIBLE (ksba_cert_get_validity)
446 MARK_VISIBLE (ksba_cert_hash)
447 MARK_VISIBLE (ksba_cert_init_from_mem)
448 MARK_VISIBLE (ksba_cert_is_ca)
449 MARK_VISIBLE (ksba_cert_new)
450 MARK_VISIBLE (ksba_cert_read_der)
451 MARK_VISIBLE (ksba_cert_ref)
452 MARK_VISIBLE (ksba_cert_release)
455 MARK_VISIBLE (ksba_cert_get_subj_key_id)
456 MARK_VISIBLE (ksba_cert_set_user_data)
457 MARK_VISIBLE (ksba_cert_get_user_data)
458 
459 MARK_VISIBLE (ksba_certreq_set_serial)
460 MARK_VISIBLE (ksba_certreq_set_issuer)
461 MARK_VISIBLE (ksba_certreq_set_validity)
462 MARK_VISIBLE (ksba_certreq_set_siginfo)
463 MARK_VISIBLE (ksba_certreq_add_subject)
464 MARK_VISIBLE (ksba_certreq_build)
465 MARK_VISIBLE (ksba_certreq_new)
466 MARK_VISIBLE (ksba_certreq_release)
467 MARK_VISIBLE (ksba_certreq_set_hash_function)
468 MARK_VISIBLE (ksba_certreq_set_public_key)
469 MARK_VISIBLE (ksba_certreq_set_sig_val)
470 MARK_VISIBLE (ksba_certreq_set_writer)
471 MARK_VISIBLE (ksba_certreq_add_extension)
472 
473 MARK_VISIBLE (ksba_cms_add_cert)
474 MARK_VISIBLE (ksba_cms_add_digest_algo)
475 MARK_VISIBLE (ksba_cms_add_recipient)
476 MARK_VISIBLE (ksba_cms_add_signer)
477 MARK_VISIBLE (ksba_cms_build)
478 MARK_VISIBLE (ksba_cms_get_cert)
479 MARK_VISIBLE (ksba_cms_get_content_enc_iv)
480 MARK_VISIBLE (ksba_cms_get_content_oid)
481 MARK_VISIBLE (ksba_cms_get_content_type)
482 MARK_VISIBLE (ksba_cms_get_digest_algo)
483 MARK_VISIBLE (ksba_cms_get_digest_algo_list)
484 MARK_VISIBLE (ksba_cms_get_enc_val)
485 MARK_VISIBLE (ksba_cms_get_issuer_serial)
486 MARK_VISIBLE (ksba_cms_get_message_digest)
487 MARK_VISIBLE (ksba_cms_get_sig_val)
488 MARK_VISIBLE (ksba_cms_get_sigattr_oids)
489 MARK_VISIBLE (ksba_cms_get_signing_time)
490 MARK_VISIBLE (ksba_cms_hash_signed_attrs)
491 MARK_VISIBLE (ksba_cms_identify)
492 MARK_VISIBLE (ksba_cms_new)
493 MARK_VISIBLE (ksba_cms_parse)
494 MARK_VISIBLE (ksba_cms_release)
495 MARK_VISIBLE (ksba_cms_set_content_enc_algo)
496 MARK_VISIBLE (ksba_cms_set_content_type)
497 MARK_VISIBLE (ksba_cms_set_enc_val)
498 MARK_VISIBLE (ksba_cms_set_hash_function)
499 MARK_VISIBLE (ksba_cms_set_message_digest)
500 MARK_VISIBLE (ksba_cms_set_reader_writer)
501 MARK_VISIBLE (ksba_cms_set_sig_val)
502 MARK_VISIBLE (ksba_cms_set_signing_time)
503 MARK_VISIBLE (ksba_cms_add_smime_capability)
504 
505 MARK_VISIBLE (ksba_crl_get_digest_algo)
506 MARK_VISIBLE (ksba_crl_get_issuer)
507 MARK_VISIBLE (ksba_crl_get_item)
508 MARK_VISIBLE (ksba_crl_get_sig_val)
509 MARK_VISIBLE (ksba_crl_get_update_times)
510 MARK_VISIBLE (ksba_crl_new)
511 MARK_VISIBLE (ksba_crl_parse)
512 MARK_VISIBLE (ksba_crl_release)
513 MARK_VISIBLE (ksba_crl_set_hash_function)
514 MARK_VISIBLE (ksba_crl_set_reader)
515 MARK_VISIBLE (ksba_crl_get_extension)
516 MARK_VISIBLE (ksba_crl_get_auth_key_id)
517 MARK_VISIBLE (ksba_crl_get_crl_number)
518 
519 MARK_VISIBLE (ksba_name_enum)
520 MARK_VISIBLE (ksba_name_get_uri)
521 MARK_VISIBLE (ksba_name_new)
522 MARK_VISIBLE (ksba_name_ref)
523 MARK_VISIBLE (ksba_name_release)
524 
525 MARK_VISIBLE (ksba_ocsp_add_cert)
526 MARK_VISIBLE (ksba_ocsp_add_target)
527 MARK_VISIBLE (ksba_ocsp_build_request)
528 MARK_VISIBLE (ksba_ocsp_get_cert)
529 MARK_VISIBLE (ksba_ocsp_get_digest_algo)
530 MARK_VISIBLE (ksba_ocsp_get_responder_id)
531 MARK_VISIBLE (ksba_ocsp_get_sig_val)
532 MARK_VISIBLE (ksba_ocsp_get_status)
533 MARK_VISIBLE (ksba_ocsp_hash_request)
534 MARK_VISIBLE (ksba_ocsp_hash_response)
535 MARK_VISIBLE (ksba_ocsp_new)
536 MARK_VISIBLE (ksba_ocsp_parse_response)
537 MARK_VISIBLE (ksba_ocsp_prepare_request)
538 MARK_VISIBLE (ksba_ocsp_release)
539 MARK_VISIBLE (ksba_ocsp_set_digest_algo)
540 MARK_VISIBLE (ksba_ocsp_set_nonce)
541 MARK_VISIBLE (ksba_ocsp_set_requestor)
542 MARK_VISIBLE (ksba_ocsp_set_sig_val)
543 MARK_VISIBLE (ksba_ocsp_get_extension)
544 
545 MARK_VISIBLE (ksba_oid_from_str)
546 MARK_VISIBLE (ksba_oid_to_str)
547 
548 MARK_VISIBLE (ksba_dn_der2str)
549 MARK_VISIBLE (ksba_dn_str2der)
550 MARK_VISIBLE (ksba_dn_teststr)
551 
552 MARK_VISIBLE (ksba_reader_clear)
553 MARK_VISIBLE (ksba_reader_error)
554 MARK_VISIBLE (ksba_reader_new)
555 MARK_VISIBLE (ksba_reader_read)
556 MARK_VISIBLE (ksba_reader_release)
557 MARK_VISIBLE (ksba_reader_set_cb)
558 MARK_VISIBLE (ksba_reader_set_fd)
559 MARK_VISIBLE (ksba_reader_set_file)
560 MARK_VISIBLE (ksba_reader_set_mem)
561 MARK_VISIBLE (ksba_reader_tell)
562 MARK_VISIBLE (ksba_reader_unread)
563 
564 MARK_VISIBLE (ksba_writer_error)
565 MARK_VISIBLE (ksba_writer_get_mem)
566 MARK_VISIBLE (ksba_writer_new)
567 MARK_VISIBLE (ksba_writer_release)
568 MARK_VISIBLE (ksba_writer_set_cb)
569 MARK_VISIBLE (ksba_writer_set_fd)
570 MARK_VISIBLE (ksba_writer_set_file)
571 MARK_VISIBLE (ksba_writer_set_filter)
572 MARK_VISIBLE (ksba_writer_set_mem)
573 MARK_VISIBLE (ksba_writer_snatch_mem)
574 MARK_VISIBLE (ksba_writer_tell)
575 MARK_VISIBLE (ksba_writer_write)
576 MARK_VISIBLE (ksba_writer_write_octet_string)
577 
578 MARK_VISIBLE (ksba_der_release)
579 MARK_VISIBLE (ksba_der_builder_new)
580 MARK_VISIBLE (ksba_der_builder_reset)
581 MARK_VISIBLE (ksba_der_add_ptr)
582 MARK_VISIBLE (ksba_der_add_val)
583 MARK_VISIBLE (ksba_der_add_int)
584 MARK_VISIBLE (ksba_der_add_oid)
585 MARK_VISIBLE (ksba_der_add_bts)
586 MARK_VISIBLE (ksba_der_add_der)
587 MARK_VISIBLE (ksba_der_add_tag)
588 MARK_VISIBLE (ksba_der_add_end)
589 MARK_VISIBLE (ksba_der_builder_get)
590 
591 
592 # undef MARK_VISIBLE
593 #endif /*_KSBA_INCLUDED_BY_VISIBILITY_C*/
594 
595 #endif /*VISIBILITY_H*/
int ksba_asn_delete_structure(void *dummy)
Definition: visibility.c:1156
#define ksba_reader_set_cb
Definition: visibility.h:174
#define ksba_dn_teststr
Definition: visibility.h:167
#define ksba_crl_parse
Definition: visibility.h:128
#define ksba_cms_set_enc_val
Definition: visibility.h:114
#define ksba_free
Definition: visibility.h:38
#define ksba_name_enum
Definition: visibility.h:136
#define ksba_writer_new
Definition: visibility.h:183
#define ksba_cms_get_digest_algo_list
Definition: visibility.h:100
#define ksba_cert_get_serial
Definition: visibility.h:58
#define ksba_asn_tree_release
Definition: visibility.h:46
#define ksba_cms_set_reader_writer
Definition: visibility.h:117
#define ksba_der_add_int
Definition: visibility.h:200
#define ksba_der_add_val
Definition: visibility.h:199
#define ksba_cert_init_from_mem
Definition: visibility.h:63
#define ksba_ocsp_get_responder_id
Definition: visibility.h:147
#define ksba_cert_get_sig_val
Definition: visibility.h:59
#define ksba_certreq_add_subject
Definition: visibility.h:80
#define ksba_crl_set_reader
Definition: visibility.h:131
#define ksba_set_malloc_hooks
Definition: visibility.h:37
#define ksba_der_builder_reset
Definition: visibility.h:197
#define ksba_cms_get_issuer_serial
Definition: visibility.h:102
#define ksba_cert_ref
Definition: visibility.h:67
#define ksba_cert_hash
Definition: visibility.h:62
#define ksba_cms_get_content_type
Definition: visibility.h:98
#define ksba_check_version
Definition: visibility.h:35
#define ksba_ocsp_add_cert
Definition: visibility.h:142
#define ksba_cms_set_sig_val
Definition: visibility.h:118
#define ksba_ocsp_set_requestor
Definition: visibility.h:158
#define ksba_der_release
Definition: visibility.h:195
#define ksba_reader_set_mem
Definition: visibility.h:177
#define ksba_certreq_set_sig_val
Definition: visibility.h:86
#define ksba_cert_get_user_data
Definition: visibility.h:74
#define ksba_cms_hash_signed_attrs
Definition: visibility.h:107
#define ksba_cert_get_key_usage
Definition: visibility.h:56
#define ksba_cert_get_authority_info_access
Definition: visibility.h:69
#define ksba_cms_get_digest_algo
Definition: visibility.h:99
#define ksba_ocsp_new
Definition: visibility.h:152
#define ksba_ocsp_get_digest_algo
Definition: visibility.h:146
#define ksba_reader_unread
Definition: visibility.h:179
#define ksba_cms_new
Definition: visibility.h:109
#define ksba_cert_get_subject_info_access
Definition: visibility.h:71
#define ksba_cms_add_signer
Definition: visibility.h:93
#define ksba_certreq_build
Definition: visibility.h:81
#define ksba_reader_set_file
Definition: visibility.h:176
#define ksba_cert_get_public_key
Definition: visibility.h:57
#define ksba_asn_create_tree
Definition: visibility.h:43
#define ksba_writer_set_cb
Definition: visibility.h:185
#define ksba_der_add_end
Definition: visibility.h:205
#define ksba_asn_tree_dump
Definition: visibility.h:45
#define ksba_oid_from_str
Definition: visibility.h:162
#define ksba_cms_parse
Definition: visibility.h:110
#define ksba_crl_get_extension
Definition: visibility.h:132
#define ksba_der_add_tag
Definition: visibility.h:204
#define ksba_certreq_set_public_key
Definition: visibility.h:85
#define ksba_crl_get_digest_algo
Definition: visibility.h:122
#define ksba_reader_read
Definition: visibility.h:172
#define ksba_name_get_uri
Definition: visibility.h:137
#define ksba_certreq_new
Definition: visibility.h:82
#define ksba_cert_is_ca
Definition: visibility.h:64
#define ksba_realloc
Definition: visibility.h:41
#define ksba_cert_get_crl_dist_point
Definition: visibility.h:50
#define ksba_cms_get_sig_val
Definition: visibility.h:104
#define ksba_cms_get_sigattr_oids
Definition: visibility.h:105
#define ksba_ocsp_prepare_request
Definition: visibility.h:154
#define ksba_cert_get_ext_key_usages
Definition: visibility.h:52
#define ksba_ocsp_hash_request
Definition: visibility.h:150
#define ksba_writer_tell
Definition: visibility.h:191
#define ksba_cms_get_signing_time
Definition: visibility.h:106
#define ksba_der_add_der
Definition: visibility.h:203
#define ksba_reader_error
Definition: visibility.h:170
#define ksba_malloc
Definition: visibility.h:39
#define ksba_cms_add_recipient
Definition: visibility.h:92
#define ksba_strdup
Definition: visibility.h:42
#define ksba_der_builder_get
Definition: visibility.h:206
#define ksba_crl_get_crl_number
Definition: visibility.h:134
#define ksba_writer_set_filter
Definition: visibility.h:188
#define ksba_writer_write_octet_string
Definition: visibility.h:193
#define ksba_crl_new
Definition: visibility.h:127
#define ksba_ocsp_get_extension
Definition: visibility.h:160
#define ksba_cms_set_content_enc_algo
Definition: visibility.h:112
#define ksba_der_add_ptr
Definition: visibility.h:198
#define ksba_cert_get_subject
Definition: visibility.h:60
#define ksba_ocsp_set_nonce
Definition: visibility.h:157
#define ksba_name_release
Definition: visibility.h:140
#define ksba_writer_snatch_mem
Definition: visibility.h:190
#define ksba_cms_get_content_oid
Definition: visibility.h:97
#define ksba_name_new
Definition: visibility.h:138
#define ksba_ocsp_set_sig_val
Definition: visibility.h:159
#define ksba_ocsp_parse_response
Definition: visibility.h:153
#define ksba_cms_set_hash_function
Definition: visibility.h:115
#define ksba_cms_add_smime_capability
Definition: visibility.h:120
#define ksba_crl_get_item
Definition: visibility.h:124
#define ksba_cert_get_digest_algo
Definition: visibility.h:51
#define ksba_cms_add_digest_algo
Definition: visibility.h:91
#define ksba_oid_to_str
Definition: visibility.h:163
#define ksba_reader_new
Definition: visibility.h:171
#define ksba_cms_set_content_type
Definition: visibility.h:113
#define ksba_cms_set_signing_time
Definition: visibility.h:119
#define ksba_certreq_set_serial
Definition: visibility.h:76
#define ksba_writer_write
Definition: visibility.h:192
#define ksba_set_hash_buffer_function
Definition: visibility.h:36
#define ksba_der_add_oid
Definition: visibility.h:201
#define ksba_cms_get_message_digest
Definition: visibility.h:103
#define ksba_cms_build
Definition: visibility.h:94
#define ksba_cms_get_content_enc_iv
Definition: visibility.h:96
#define ksba_cms_get_cert
Definition: visibility.h:95
#define ksba_cert_get_cert_policies
Definition: visibility.h:49
#define ksba_cert_read_der
Definition: visibility.h:66
#define ksba_dn_str2der
Definition: visibility.h:166
#define ksba_cert_get_extension
Definition: visibility.h:53
#define ksba_der_add_bts
Definition: visibility.h:202
#define ksba_cert_get_auth_key_id
Definition: visibility.h:48
#define ksba_ocsp_add_target
Definition: visibility.h:143
#define ksba_cms_get_enc_val
Definition: visibility.h:101
#define ksba_certreq_set_hash_function
Definition: visibility.h:84
#define ksba_crl_get_sig_val
Definition: visibility.h:125
#define ksba_writer_set_file
Definition: visibility.h:187
#define ksba_reader_clear
Definition: visibility.h:169
#define ksba_cert_set_user_data
Definition: visibility.h:73
#define ksba_ocsp_get_sig_val
Definition: visibility.h:148
#define ksba_cms_identify
Definition: visibility.h:108
#define ksba_cms_set_message_digest
Definition: visibility.h:116
#define ksba_certreq_add_extension
Definition: visibility.h:88
#define ksba_certreq_set_validity
Definition: visibility.h:78
#define ksba_certreq_set_issuer
Definition: visibility.h:77
#define ksba_ocsp_release
Definition: visibility.h:155
#define ksba_cert_get_validity
Definition: visibility.h:61
#define ksba_dn_der2str
Definition: visibility.h:165
#define ksba_cert_release
Definition: visibility.h:68
#define ksba_ocsp_hash_response
Definition: visibility.h:151
#define ksba_ocsp_get_status
Definition: visibility.h:149
#define ksba_cert_get_image
Definition: visibility.h:54
#define ksba_ocsp_set_digest_algo
Definition: visibility.h:156
#define ksba_cert_get_subj_key_id
Definition: visibility.h:72
#define ksba_crl_release
Definition: visibility.h:129
#define ksba_reader_set_fd
Definition: visibility.h:175
#define ksba_ocsp_build_request
Definition: visibility.h:144
#define ksba_crl_get_issuer
Definition: visibility.h:123
#define ksba_crl_get_update_times
Definition: visibility.h:126
#define ksba_writer_get_mem
Definition: visibility.h:182
#define ksba_calloc
Definition: visibility.h:40
#define ksba_cms_release
Definition: visibility.h:111
#define ksba_certreq_set_siginfo
Definition: visibility.h:79
#define ksba_reader_tell
Definition: visibility.h:178
#define ksba_writer_error
Definition: visibility.h:181
#define ksba_cert_new
Definition: visibility.h:65
#define ksba_der_builder_new
Definition: visibility.h:196
#define ksba_writer_release
Definition: visibility.h:184
#define ksba_certreq_set_writer
Definition: visibility.h:87
#define ksba_writer_set_fd
Definition: visibility.h:186
#define ksba_ocsp_get_cert
Definition: visibility.h:145
#define ksba_crl_set_hash_function
Definition: visibility.h:130
#define ksba_crl_get_auth_key_id
Definition: visibility.h:133
#define ksba_cms_add_cert
Definition: visibility.h:90
#define ksba_name_ref
Definition: visibility.h:139
#define ksba_cert_get_issuer
Definition: visibility.h:55
#define ksba_writer_set_mem
Definition: visibility.h:189
#define ksba_reader_release
Definition: visibility.h:173
#define ksba_asn_parse_file
Definition: visibility.h:44
#define ksba_certreq_release
Definition: visibility.h:83