Home
last modified time | relevance | path

Searched refs:hx509_context (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-9-stable/crypto/heimdal/lib/hx509/
Dhx509-protos.h27 hx509_context /*context*/,
34 hx509_context /*context*/,
41 hx509_context /*context*/,
48 hx509_context /*context*/,
54 hx509_context /*context*/,
60 hx509_context /*context*/,
66 hx509_context /*context*/,
72 hx509_context /*context*/,
79 hx509_context /*context*/,
85 hx509_context /*context*/,
[all …]
Dhx509-private.h37 hx509_context /*context*/,
53 hx509_context /*context*/,
59 hx509_context /*context*/,
74 hx509_context /*context*/,
88 hx509_context /*context*/,
102 hx509_context /*context*/,
108 hx509_context /*context*/,
113 hx509_context /*context*/,
122 hx509_context /*context*/,
129 hx509_context /*context*/,
[all …]
Dhx_locl.h150 int (*init)(hx509_context, hx509_certs, void **,
152 int (*store)(hx509_context, hx509_certs, void *, int, hx509_lock);
154 int (*add)(hx509_context, hx509_certs, void *, hx509_cert);
155 int (*query)(hx509_context, hx509_certs, void *,
157 int (*iter_start)(hx509_context, hx509_certs, void *, void **);
158 int (*iter)(hx509_context, hx509_certs, void *, void *, hx509_cert *);
159 int (*iter_end)(hx509_context, hx509_certs, void *, void *);
160 int (*printinfo)(hx509_context, hx509_certs,
162 int (*getkeys)(hx509_context, hx509_certs, void *, hx509_private_key **);
163 int (*addkey)(hx509_context, hx509_certs, void *, hx509_private_key);
Dkeyset.c68 _hx509_ks_type(hx509_context context, const char *type) in _hx509_ks_type()
80 _hx509_ks_register(hx509_context context, struct hx509_keyset_ops *ops) in _hx509_ks_register()
113 hx509_certs_init(hx509_context context, in hx509_certs_init()
184 hx509_certs_store(hx509_context context, in hx509_certs_store()
253 hx509_certs_start_seq(hx509_context context, in hx509_certs_start_seq()
289 hx509_certs_next_cert(hx509_context context, in hx509_certs_next_cert()
311 hx509_certs_end_seq(hx509_context context, in hx509_certs_end_seq()
336 hx509_certs_iter(hx509_context context, in hx509_certs_iter()
338 int (*func)(hx509_context, void *, hx509_cert), in hx509_certs_iter() argument
383 hx509_ci_print_names(hx509_context context, void *ctx, hx509_cert c) in hx509_ci_print_names()
[all …]
Dreq.c50 _hx509_request_init(hx509_context context, hx509_request *req) in _hx509_request_init()
73 _hx509_request_set_name(hx509_context context, in _hx509_request_set_name()
88 _hx509_request_get_name(hx509_context context, in _hx509_request_get_name()
100 _hx509_request_set_SubjectPublicKeyInfo(hx509_context context, in _hx509_request_set_SubjectPublicKeyInfo()
109 _hx509_request_get_SubjectPublicKeyInfo(hx509_context context, in _hx509_request_get_SubjectPublicKeyInfo()
117 _hx509_request_add_eku(hx509_context context, in _hx509_request_add_eku()
139 _hx509_request_add_dns_name(hx509_context context, in _hx509_request_add_dns_name()
153 _hx509_request_add_email(hx509_context context, in _hx509_request_add_email()
169 _hx509_request_to_pkcs10(hx509_context context, in _hx509_request_to_pkcs10()
240 _hx509_request_parse(hx509_context context, in _hx509_request_parse()
[all …]
Dks_null.c39 null_init(hx509_context context, in null_init()
55 null_iter_start(hx509_context context, in null_iter_start()
63 null_iter(hx509_context context, in null_iter()
71 null_iter_end(hx509_context context, in null_iter_end()
95 _hx509_ks_null_register(hx509_context context) in _hx509_ks_null_register()
Dks_mem.c53 mem_init(hx509_context context, in mem_init()
91 mem_add(hx509_context context, hx509_certs certs, void *data, hx509_cert c) in mem_add()
109 mem_iter_start(hx509_context context, in mem_iter_start()
126 mem_iter(hx509_context contexst, in mem_iter()
146 mem_iter_end(hx509_context context, in mem_iter_end()
156 mem_getkeys(hx509_context context, in mem_getkeys()
181 mem_addkey(hx509_context context, in mem_addkey()
221 _hx509_ks_mem_register(hx509_context context) in _hx509_ks_mem_register()
Dks_p12.c42 typedef int (*collector_func)(hx509_context,
53 parse_pkcs12_type(hx509_context, struct hx509_collector *, const heim_oid *,
70 keyBag_parser(hx509_context context, in keyBag_parser()
99 ShroudedKeyBag_parser(hx509_context context, in ShroudedKeyBag_parser()
129 certBag_parser(hx509_context context, in certBag_parser()
189 parse_safe_content(hx509_context context, in parse_safe_content()
215 safeContent_parser(hx509_context context, in safeContent_parser()
232 encryptedData_parser(hx509_context context, in encryptedData_parser()
260 envelopedData_parser(hx509_context context, in envelopedData_parser()
307 parse_pkcs12_type(hx509_context context, in parse_pkcs12_type()
[all …]
Dks_file.c50 parse_certificate(hx509_context context, const char *fn, in parse_certificate()
68 try_decrypt(hx509_context context, in try_decrypt()
133 parse_rsa_private_key(hx509_context context, const char *fn, in parse_rsa_private_key()
284 int (*func)(hx509_context, const char *, struct hx509_collector *,
298 pem_func(hx509_context context, const char *type, in pem_func()
329 file_init_common(hx509_context context, in file_init_common()
449 file_init_pem(hx509_context context, in file_init_pem()
457 file_init_der(hx509_context context, in file_init_der()
480 store_func(hx509_context context, void *ctx, hx509_cert c) in store_func()
515 file_store(hx509_context context, in file_store()
[all …]
Dcrypto.c54 int (*get_spki)(hx509_context,
57 int (*export)(hx509_context context,
60 int (*import)(hx509_context,
64 int (*generate_private_key)(hx509_context,
67 BIGNUM *(*get_internal)(hx509_context, hx509_private_key, const char *);
71 int (*sign)(hx509_context context,
81 int (*unwrap)(hx509_context context,
122 int (*verify_signature)(hx509_context context,
128 int (*create_signature)(hx509_context,
192 rsa_verify_signature(hx509_context context, in rsa_verify_signature()
[all …]
Dca.c78 hx509_ca_tbs_init(hx509_context context, hx509_ca_tbs *tbs) in hx509_ca_tbs_init()
137 hx509_ca_tbs_set_notBefore(hx509_context context, in hx509_ca_tbs_set_notBefore()
158 hx509_ca_tbs_set_notAfter(hx509_context context, in hx509_ca_tbs_set_notAfter()
179 hx509_ca_tbs_set_notAfter_lifetime(hx509_context context, in hx509_ca_tbs_set_notAfter_lifetime()
227 hx509_ca_tbs_set_template(hx509_context context, in hx509_ca_tbs_set_template()
305 hx509_ca_tbs_set_ca(hx509_context context, in hx509_ca_tbs_set_ca()
329 hx509_ca_tbs_set_proxy(hx509_context context, in hx509_ca_tbs_set_proxy()
351 hx509_ca_tbs_set_domaincontroller(hx509_context context, in hx509_ca_tbs_set_domaincontroller()
373 hx509_ca_tbs_set_spki(hx509_context context, in hx509_ca_tbs_set_spki()
398 hx509_ca_tbs_set_serialnumber(hx509_context context, in hx509_ca_tbs_set_serialnumber()
[all …]
Derror.c69 hx509_clear_error_string(hx509_context context) in hx509_clear_error_string()
90 hx509_set_error_stringv(hx509_context context, int flags, int code, in hx509_set_error_stringv()
132 hx509_set_error_string(hx509_context context, int flags, int code, in hx509_set_error_string()
154 hx509_get_error_string(hx509_context context, int error_code) in hx509_get_error_string()
208 hx509_err(hx509_context context, int exit_code, in hx509_err()
Dks_dir.c57 dir_init(hx509_context context, in dir_init()
100 dir_iter_start(hx509_context context, in dir_iter_start()
127 dir_iter(hx509_context context, in dir_iter()
188 dir_iter_end(hx509_context context, in dir_iter_end()
220 _hx509_ks_dir_register(hx509_context context) in _hx509_ks_dir_register()
Dtest_name.c38 test_name(hx509_context context, const char *name) in test_name()
62 test_name_fail(hx509_context context, const char *name) in test_name_fail()
73 test_expand(hx509_context context, const char *name, const char *expected) in test_expand()
108 hx509_context context; in main()
Dcollector.c55 _hx509_collector_alloc(hx509_context context, hx509_lock lock, struct hx509_collector **collector) in _hx509_collector_alloc()
97 _hx509_collector_certs_add(hx509_context context, in _hx509_collector_certs_add()
115 _hx509_collector_private_key_add(hx509_context context, in _hx509_collector_private_key_add()
174 match_localkeyid(hx509_context context, in match_localkeyid()
204 match_keys(hx509_context context, struct private_key *value, hx509_certs certs) in match_keys()
251 _hx509_collector_collect_certs(hx509_context context, in _hx509_collector_collect_certs()
285 _hx509_collector_collect_private_keys(hx509_context context, in _hx509_collector_collect_private_keys()
Dcert.c109 hx509_context_init(hx509_context *context) in hx509_context_init()
153 hx509_context_set_missing_revoke(hx509_context context, int flag) in hx509_context_set_missing_revoke()
170 hx509_context_free(hx509_context *context) in hx509_context_free()
220 hx509_cert_init(hx509_context context, const Certificate *c, hx509_cert *cert) in hx509_cert_init()
271 hx509_cert_init_data(hx509_context context, in hx509_cert_init_data()
397 hx509_verify_init_ctx(hx509_context context, hx509_verify_ctx *ctx) in hx509_verify_init_ctx()
729 hx509_cert_find_subjectAltName_otherName(hx509_context context, in hx509_cert_find_subjectAltName_otherName()
775 check_key_usage(hx509_context context, const Certificate *cert, in check_key_usage()
824 _hx509_check_key_usage(hx509_context context, hx509_cert cert, in _hx509_check_key_usage()
833 check_basic_constraints(hx509_context context, const Certificate *cert, in check_basic_constraints()
[all …]
Dks_p11.c74 static int p11_get_session(hx509_context,
84 static int p11_list_keys(hx509_context,
238 p11_mech_info(hx509_context context, in p11_mech_info()
302 p11_init_slot(hx509_context context, in p11_init_slot()
368 p11_get_session(hx509_context context, in p11_get_session()
492 iterate_entries(hx509_context context, in iterate_entries()
497 int (*func)(hx509_context, in iterate_entries() argument
603 collect_private_key(hx509_context context, in collect_private_key()
677 collect_cert(hx509_context context, in collect_cert()
735 p11_list_keys(hx509_context context, in p11_list_keys()
[all …]
Drevoke.c96 hx509_revoke_init(hx509_context context, hx509_revoke_ctx *ctx) in hx509_revoke_init()
171 verify_ocsp(hx509_context context, in verify_ocsp()
327 load_ocsp(hx509_context context, struct revoke_ocsp *ocsp) in load_ocsp()
398 hx509_revoke_add_ocsp(hx509_context context, in hx509_revoke_add_ocsp()
452 verify_crl(hx509_context context, in verify_crl()
602 hx509_revoke_add_crl(hx509_context context, in hx509_revoke_add_crl()
672 hx509_revoke_verify(hx509_context context, in hx509_revoke_verify()
857 add_to_req(hx509_context context, void *ptr, hx509_cert cert) in add_to_req()
960 hx509_ocsp_request(hx509_context context, in hx509_ocsp_request()
1069 hx509_revoke_ocsp_print(hx509_context context, const char *path, FILE *out) in hx509_revoke_ocsp_print()
[all …]
Dlock.c61 hx509_lock_init(hx509_context context, hx509_lock *lock) in hx509_lock_init()
134 hx509_lock_add_cert(hx509_context context, hx509_lock lock, hx509_cert cert) in hx509_lock_add_cert()
140 hx509_lock_add_certs(hx509_context context, hx509_lock lock, hx509_certs certs) in hx509_lock_add_certs()
146 hx509_lock_reset_certs(hx509_context context, hx509_lock lock) in hx509_lock_reset_certs()
Denv.c63 hx509_env_init(hx509_context context, hx509_env *env) in hx509_env_init()
87 hx509_env_add(hx509_context context, hx509_env env, in hx509_env_add()
127 hx509_env_lfind(hx509_context context, hx509_env env, in hx509_env_lfind()
Dks_keychain.c196 set_private_key(hx509_context context, in set_private_key()
264 keychain_init(hx509_context context, in keychain_init()
325 keychain_iter_start(hx509_context context, in keychain_iter_start()
408 keychain_iter(hx509_context context, in keychain_iter()
499 keychain_iter_end(hx509_context context, in keychain_iter_end()
543 _hx509_ks_keychain_register(hx509_context context) in _hx509_ks_keychain_register()
Dhx509.h39 typedef struct hx509_context_data *hx509_context; typedef
98 (*hx509_pem_read_func)(hx509_context, const char *, const hx509_pem_header *,
Dpeer.c58 hx509_peer_info_alloc(hx509_context context, hx509_peer_info *peer) in hx509_peer_info_alloc()
137 hx509_peer_info_set_cms_algs(hx509_context context, in hx509_peer_info_set_cms_algs()
Dcms.c209 unparse_CMSIdentifier(hx509_context context, in unparse_CMSIdentifier()
260 find_CMSIdentifier(hx509_context context, in find_CMSIdentifier()
343 hx509_cms_unenvelope(hx509_context context, in hx509_cms_unenvelope()
538 hx509_cms_envelope_1(hx509_context context, in hx509_cms_envelope_1()
695 any_to_certs(hx509_context context, const SignedData *sd, hx509_certs certs) in any_to_certs()
749 hx509_cms_verify_signed(hx509_context context, in hx509_cms_verify_signed()
1081 hx509_cms_create_signed_1(hx509_context context, in hx509_cms_create_signed_1()
1367 hx509_cms_decrypt_encrypted(hx509_context context, in hx509_cms_decrypt_encrypted()
Dname.c409 _hx509_name_modify(hx509_context context, in _hx509_name_modify()
467 hx509_parse_name(hx509_context context, const char *str, hx509_name *name) in hx509_parse_name()
571 hx509_name_copy(hx509_context context, const hx509_name from, hx509_name *to) in hx509_name_copy()
605 hx509_name_normalize(hx509_context context, hx509_name name) in hx509_name_normalize()
624 hx509_name_expand(hx509_context context, in hx509_name_expand()

12