diff options
Diffstat (limited to 'src/daemon/https/x509/x509.h')
-rw-r--r-- | src/daemon/https/x509/x509.h | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/src/daemon/https/x509/x509.h b/src/daemon/https/x509/x509.h index 26892fc8..624c7cb6 100644 --- a/src/daemon/https/x509/x509.h +++ b/src/daemon/https/x509/x509.h | |||
@@ -225,19 +225,6 @@ extern "C" | |||
225 | int MHD_gnutls_x509_crt_get_raw_dn (MHD_gnutls_x509_crt_t cert, | 225 | int MHD_gnutls_x509_crt_get_raw_dn (MHD_gnutls_x509_crt_t cert, |
226 | MHD_gnutls_datum_t * start); | 226 | MHD_gnutls_datum_t * start); |
227 | 227 | ||
228 | /* RDN handling. | ||
229 | */ | ||
230 | int MHD_gnutls_x509_rdn_get (const MHD_gnutls_datum_t * idn, | ||
231 | char *buf, size_t * sizeof_buf); | ||
232 | int MHD_gnutls_x509_rdn_get_oid (const MHD_gnutls_datum_t * idn, | ||
233 | int indx, void *buf, size_t * sizeof_buf); | ||
234 | |||
235 | int MHD_gnutls_x509_rdn_get_by_oid (const MHD_gnutls_datum_t * idn, | ||
236 | const char *oid, | ||
237 | int indx, | ||
238 | unsigned int raw_flag, | ||
239 | void *buf, size_t * sizeof_buf); | ||
240 | |||
241 | typedef void *MHD_gnutls_x509_dn_t; | 228 | typedef void *MHD_gnutls_x509_dn_t; |
242 | 229 | ||
243 | typedef struct MHD_gnutls_x509_ava_st | 230 | typedef struct MHD_gnutls_x509_ava_st |
@@ -254,31 +241,9 @@ extern "C" | |||
254 | int MHD_gnutls_x509_crl_init (MHD_gnutls_x509_crl_t * crl); | 241 | int MHD_gnutls_x509_crl_init (MHD_gnutls_x509_crl_t * crl); |
255 | void MHD_gnutls_x509_crl_deinit (MHD_gnutls_x509_crl_t crl); | 242 | void MHD_gnutls_x509_crl_deinit (MHD_gnutls_x509_crl_t crl); |
256 | 243 | ||
257 | int MHD_gnutls_x509_crl_import (MHD_gnutls_x509_crl_t crl, | ||
258 | const MHD_gnutls_datum_t * data, | ||
259 | MHD_gnutls_x509_crt_fmt_t format); | ||
260 | int MHD_gnutls_x509_crl_export (MHD_gnutls_x509_crl_t crl, | ||
261 | MHD_gnutls_x509_crt_fmt_t format, | ||
262 | void *output_data, | ||
263 | size_t * output_data_size); | ||
264 | |||
265 | int MHD_gnutls_x509_crl_get_issuer_dn_by_oid (MHD_gnutls_x509_crl_t crl, | ||
266 | const char *oid, | ||
267 | int indx, | ||
268 | unsigned int raw_flag, | ||
269 | void *buf, | ||
270 | size_t * sizeof_buf); | ||
271 | int MHD_gnutls_x509_crl_get_dn_oid (MHD_gnutls_x509_crl_t crl, int indx, | ||
272 | void *oid, size_t * sizeof_oid); | ||
273 | |||
274 | int MHD_gnutls_x509_crl_get_signature_algorithm (MHD_gnutls_x509_crl_t crl); | 244 | int MHD_gnutls_x509_crl_get_signature_algorithm (MHD_gnutls_x509_crl_t crl); |
275 | int MHD_gnutls_x509_crl_get_signature (MHD_gnutls_x509_crl_t crl, | 245 | int MHD_gnutls_x509_crl_get_signature (MHD_gnutls_x509_crl_t crl, |
276 | char *sig, size_t * sizeof_sig); | 246 | char *sig, size_t * sizeof_sig); |
277 | int MHD_gnutls_x509_crl_get_version (MHD_gnutls_x509_crl_t crl); | ||
278 | |||
279 | time_t MHD_gnutls_x509_crl_get_this_update (MHD_gnutls_x509_crl_t crl); | ||
280 | time_t MHD_gnutls_x509_crl_get_next_update (MHD_gnutls_x509_crl_t crl); | ||
281 | |||
282 | int MHD_gnutls_x509_crl_get_crt_count (MHD_gnutls_x509_crl_t crl); | 247 | int MHD_gnutls_x509_crl_get_crt_count (MHD_gnutls_x509_crl_t crl); |
283 | int MHD_gnutls_x509_crl_get_crt_serial (MHD_gnutls_x509_crl_t crl, | 248 | int MHD_gnutls_x509_crl_get_crt_serial (MHD_gnutls_x509_crl_t crl, |
284 | int indx, | 249 | int indx, |
@@ -494,66 +459,6 @@ extern "C" | |||
494 | const MHD_gnutls_datum_t * | 459 | const MHD_gnutls_datum_t * |
495 | signature); | 460 | signature); |
496 | 461 | ||
497 | /* Certificate request stuff. | ||
498 | */ | ||
499 | struct MHD_gnutls_x509_crq_int; | ||
500 | typedef struct MHD_gnutls_x509_crq_int *MHD_gnutls_x509_crq_t; | ||
501 | |||
502 | int MHD_gnutls_x509_crq_init (MHD_gnutls_x509_crq_t * crq); | ||
503 | void MHD_gnutls_x509_crq_deinit (MHD_gnutls_x509_crq_t crq); | ||
504 | int MHD_gnutls_x509_crq_import (MHD_gnutls_x509_crq_t crq, | ||
505 | const MHD_gnutls_datum_t * data, | ||
506 | MHD_gnutls_x509_crt_fmt_t format); | ||
507 | int MHD_gnutls_x509_crq_get_pk_algorithm (MHD_gnutls_x509_crq_t crq, | ||
508 | unsigned int *bits); | ||
509 | int MHD_gnutls_x509_crq_get_dn (MHD_gnutls_x509_crq_t crq, | ||
510 | char *buf, size_t * sizeof_buf); | ||
511 | int MHD_gnutls_x509_crq_get_dn_oid (MHD_gnutls_x509_crq_t crq, | ||
512 | int indx, void *oid, | ||
513 | size_t * sizeof_oid); | ||
514 | int MHD_gnutls_x509_crq_get_dn_by_oid (MHD_gnutls_x509_crq_t crq, | ||
515 | const char *oid, int indx, | ||
516 | unsigned int raw_flag, void *buf, | ||
517 | size_t * sizeof_buf); | ||
518 | int MHD_gnutls_x509_crq_set_dn_by_oid (MHD_gnutls_x509_crq_t crq, | ||
519 | const char *oid, | ||
520 | unsigned int raw_flag, | ||
521 | const void *name, | ||
522 | unsigned int sizeof_name); | ||
523 | int MHD_gnutls_x509_crq_set_version (MHD_gnutls_x509_crq_t crq, | ||
524 | unsigned int version); | ||
525 | int MHD_gnutls_x509_crq_set_key (MHD_gnutls_x509_crq_t crq, | ||
526 | MHD_gnutls_x509_privkey_t key); | ||
527 | int MHD_gnutls_x509_crq_sign2 (MHD_gnutls_x509_crq_t crq, | ||
528 | MHD_gnutls_x509_privkey_t key, | ||
529 | enum MHD_GNUTLS_HashAlgorithm, | ||
530 | unsigned int flags); | ||
531 | int MHD_gnutls_x509_crq_sign (MHD_gnutls_x509_crq_t crq, | ||
532 | MHD_gnutls_x509_privkey_t key); | ||
533 | |||
534 | int MHD_gnutls_x509_crq_set_challenge_password (MHD_gnutls_x509_crq_t crq, | ||
535 | const char *pass); | ||
536 | int MHD_gnutls_x509_crq_get_challenge_password (MHD_gnutls_x509_crq_t crq, | ||
537 | char *pass, | ||
538 | size_t * sizeof_pass); | ||
539 | |||
540 | int MHD_gnutls_x509_crq_set_attribute_by_oid (MHD_gnutls_x509_crq_t crq, | ||
541 | const char *oid, | ||
542 | void *buf, size_t sizeof_buf); | ||
543 | int MHD_gnutls_x509_crq_get_attribute_by_oid (MHD_gnutls_x509_crq_t crq, | ||
544 | const char *oid, | ||
545 | int indx, | ||
546 | void *buf, | ||
547 | size_t * sizeof_buf); | ||
548 | |||
549 | int MHD_gnutls_x509_crq_export (MHD_gnutls_x509_crq_t crq, | ||
550 | MHD_gnutls_x509_crt_fmt_t format, | ||
551 | void *output_data, | ||
552 | size_t * output_data_size); | ||
553 | |||
554 | int MHD_gnutls_x509_crt_set_crq (MHD_gnutls_x509_crt_t crt, | ||
555 | MHD_gnutls_x509_crq_t crq); | ||
556 | |||
557 | #ifdef __cplusplus | 462 | #ifdef __cplusplus |
558 | } | 463 | } |
559 | #endif | 464 | #endif |
@@ -625,11 +530,6 @@ typedef struct MHD_gtls_x509_privkey_int | |||
625 | ASN1_TYPE key; | 530 | ASN1_TYPE key; |
626 | } MHD_gnutls_x509_privkey_int; | 531 | } MHD_gnutls_x509_privkey_int; |
627 | 532 | ||
628 | int MHD_gnutls_x509_crt_get_issuer_dn_by_oid (MHD_gnutls_x509_crt_t cert, | ||
629 | const char *oid, | ||
630 | int indx, | ||
631 | unsigned int raw_flag, | ||
632 | void *buf, size_t * sizeof_buf); | ||
633 | int MHD_gnutls_x509_crt_get_subject_alt_name (MHD_gnutls_x509_crt_t cert, | 533 | int MHD_gnutls_x509_crt_get_subject_alt_name (MHD_gnutls_x509_crt_t cert, |
634 | unsigned int seq, | 534 | unsigned int seq, |
635 | void *ret, | 535 | void *ret, |
@@ -655,8 +555,6 @@ int MHD_gnutls_x509_crt_check_revocation (MHD_gnutls_x509_crt_t cert, | |||
655 | const MHD_gnutls_x509_crl_t * | 555 | const MHD_gnutls_x509_crl_t * |
656 | crl_list, int crl_list_length); | 556 | crl_list, int crl_list_length); |
657 | 557 | ||
658 | int MHD__gnutls_x509_crl_cpy (MHD_gnutls_x509_crl_t dest, | ||
659 | MHD_gnutls_x509_crl_t src); | ||
660 | int MHD__gnutls_x509_crl_get_raw_issuer_dn (MHD_gnutls_x509_crl_t crl, | 558 | int MHD__gnutls_x509_crl_get_raw_issuer_dn (MHD_gnutls_x509_crl_t crl, |
661 | MHD_gnutls_datum_t * dn); | 559 | MHD_gnutls_datum_t * dn); |
662 | int MHD_gnutls_x509_crl_get_crt_count (MHD_gnutls_x509_crl_t crl); | 560 | int MHD_gnutls_x509_crl_get_crt_count (MHD_gnutls_x509_crl_t crl); |
@@ -670,9 +568,6 @@ int MHD_gnutls_x509_crl_init (MHD_gnutls_x509_crl_t * crl); | |||
670 | int MHD_gnutls_x509_crl_import (MHD_gnutls_x509_crl_t crl, | 568 | int MHD_gnutls_x509_crl_import (MHD_gnutls_x509_crl_t crl, |
671 | const MHD_gnutls_datum_t * data, | 569 | const MHD_gnutls_datum_t * data, |
672 | MHD_gnutls_x509_crt_fmt_t format); | 570 | MHD_gnutls_x509_crt_fmt_t format); |
673 | int MHD_gnutls_x509_crl_export (MHD_gnutls_x509_crl_t crl, | ||
674 | MHD_gnutls_x509_crt_fmt_t format, | ||
675 | void *output_data, size_t * output_data_size); | ||
676 | 571 | ||
677 | int MHD_gnutls_x509_crt_init (MHD_gnutls_x509_crt_t * cert); | 572 | int MHD_gnutls_x509_crt_init (MHD_gnutls_x509_crt_t * cert); |
678 | void MHD_gnutls_x509_crt_deinit (MHD_gnutls_x509_crt_t cert); | 573 | void MHD_gnutls_x509_crt_deinit (MHD_gnutls_x509_crt_t cert); |