5d67fb75b2493dbeef2c3d278ad9be103e4c0bf6
[libksba.git] / src / libksba.vers
1 # libksba.vers  - What symbols to export
2 # Copyright (C) 2004 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 the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # KSBA is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
20 KSBA_0.9 {
21   global:
22     ksba_check_version; ksba_set_hash_buffer_function; 
23
24     ksba_set_malloc_hooks; 
25     ksba_free; ksba_malloc; ksba_calloc; ksba_realloc; ksba_strdup; 
26
27     ksba_asn_create_tree; ksba_asn_delete_structure; ksba_asn_parse_file;
28     ksba_asn_tree_dump; ksba_asn_tree_release; 
29
30     ksba_cert_get_auth_key_id; ksba_cert_get_cert_policies;
31     ksba_cert_get_crl_dist_point; ksba_cert_get_digest_algo;
32     ksba_cert_get_ext_key_usages; ksba_cert_get_extension;
33     ksba_cert_get_image; ksba_cert_get_issuer; ksba_cert_get_key_usage; 
34     ksba_cert_get_public_key; ksba_cert_get_serial; ksba_cert_get_sig_val;
35     ksba_cert_get_subject; ksba_cert_get_validity; ksba_cert_hash;
36     ksba_cert_init_from_mem; ksba_cert_is_ca; ksba_cert_new;
37     ksba_cert_read_der; ksba_cert_ref; ksba_cert_release;
38     ksba_cert_get_authority_info_access; ksba_cert_get_subject_info_access;
39     ksba_cert_get_subj_key_id;
40     ksba_cert_set_user_data; ksba_cert_get_user_data;
41
42     ksba_certreq_add_subject; ksba_certreq_build; ksba_certreq_new;
43     ksba_certreq_release; ksba_certreq_set_hash_function; 
44     ksba_certreq_set_public_key; ksba_certreq_set_sig_val;
45     ksba_certreq_set_writer; 
46     ksba_certreq_add_extension;
47
48     ksba_cms_add_cert; ksba_cms_add_digest_algo; ksba_cms_add_recipient; 
49     ksba_cms_add_signer; ksba_cms_build; ksba_cms_get_cert;
50     ksba_cms_get_content_enc_iv; ksba_cms_get_content_oid;
51     ksba_cms_get_content_type; ksba_cms_get_digest_algo;
52     ksba_cms_get_digest_algo_list; ksba_cms_get_enc_val;
53     ksba_cms_get_issuer_serial; ksba_cms_get_message_digest; 
54     ksba_cms_get_sig_val; ksba_cms_get_sigattr_oids;
55     ksba_cms_get_signing_time; ksba_cms_hash_signed_attrs;
56     ksba_cms_identify; ksba_cms_new; ksba_cms_parse; ksba_cms_release;
57     ksba_cms_set_content_enc_algo; ksba_cms_set_content_type;
58     ksba_cms_set_enc_val; ksba_cms_set_hash_function;
59     ksba_cms_set_message_digest; ksba_cms_set_reader_writer;
60     ksba_cms_set_sig_val; ksba_cms_set_signing_time;
61     ksba_cms_add_smime_capability;
62
63     ksba_crl_get_digest_algo; ksba_crl_get_issuer; ksba_crl_get_item;
64     ksba_crl_get_sig_val; ksba_crl_get_update_times; ksba_crl_new;
65     ksba_crl_parse; ksba_crl_release; ksba_crl_set_hash_function;
66     ksba_crl_set_reader;
67     ksba_crl_get_extension; ksba_crl_get_auth_key_id;
68     ksba_crl_get_crl_number;      
69
70     ksba_name_enum; ksba_name_get_uri; ksba_name_new; ksba_name_ref;
71     ksba_name_release;
72
73     ksba_ocsp_add_cert; ksba_ocsp_add_target; ksba_ocsp_build_request;
74     ksba_ocsp_get_cert; ksba_ocsp_get_digest_algo;
75     ksba_ocsp_get_responder_id; ksba_ocsp_get_sig_val;
76     ksba_ocsp_get_status; ksba_ocsp_hash_request; ksba_ocsp_hash_response;
77     ksba_ocsp_new; ksba_ocsp_parse_response; ksba_ocsp_prepare_request;
78     ksba_ocsp_release; ksba_ocsp_set_digest_algo; ksba_ocsp_set_nonce;
79     ksba_ocsp_set_requestor; ksba_ocsp_set_sig_val;
80
81     ksba_oid_from_str; ksba_oid_to_str;
82
83     ksba_reader_clear; ksba_reader_error; ksba_reader_new;
84     ksba_reader_read; ksba_reader_release; ksba_reader_set_cb;
85     ksba_reader_set_fd; ksba_reader_set_file; ksba_reader_set_mem;
86     ksba_reader_tell; ksba_reader_unread;
87  
88     ksba_writer_error; ksba_writer_get_mem; ksba_writer_new;
89     ksba_writer_release; ksba_writer_set_cb; ksba_writer_set_fd;
90     ksba_writer_set_file; ksba_writer_set_filter; ksba_writer_set_mem;
91     ksba_writer_snatch_mem; ksba_writer_tell; ksba_writer_write;
92     ksba_writer_write_octet_string;
93
94   local:
95     *;
96 };
97
98
99 # We need to export a couple of symbols for our regression tests.
100 KSBA_PRIVATE_TESTS {
101    global:
102      _ksba_keyinfo_from_sexp;  _ksba_keyinfo_to_sexp;
103      _ksba_dn_from_str;
104
105 } KSBA_0.9;