ADMISSIONS.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>ADMISSIONS</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <link rev="made" href="mailto:root@localhost" />
  8. </head>
  9. <body>
  10. <ul id="index">
  11. <li><a href="#NAME">NAME</a></li>
  12. <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  13. <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  14. <li><a href="#RETURN-VALUES">RETURN VALUES</a></li>
  15. <li><a href="#SEE-ALSO">SEE ALSO</a></li>
  16. <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
  17. </ul>
  18. <h1 id="NAME">NAME</h1>
  19. <p>ADMISSIONS, ADMISSIONS_get0_admissionAuthority, ADMISSIONS_get0_namingAuthority, ADMISSIONS_get0_professionInfos, ADMISSIONS_set0_admissionAuthority, ADMISSIONS_set0_namingAuthority, ADMISSIONS_set0_professionInfos, ADMISSION_SYNTAX, ADMISSION_SYNTAX_get0_admissionAuthority, ADMISSION_SYNTAX_get0_contentsOfAdmissions, ADMISSION_SYNTAX_set0_admissionAuthority, ADMISSION_SYNTAX_set0_contentsOfAdmissions, NAMING_AUTHORITY, NAMING_AUTHORITY_get0_authorityId, NAMING_AUTHORITY_get0_authorityURL, NAMING_AUTHORITY_get0_authorityText, NAMING_AUTHORITY_set0_authorityId, NAMING_AUTHORITY_set0_authorityURL, NAMING_AUTHORITY_set0_authorityText, PROFESSION_INFO, PROFESSION_INFOS, PROFESSION_INFO_get0_addProfessionInfo, PROFESSION_INFO_get0_namingAuthority, PROFESSION_INFO_get0_professionItems, PROFESSION_INFO_get0_professionOIDs, PROFESSION_INFO_get0_registrationNumber, PROFESSION_INFO_set0_addProfessionInfo, PROFESSION_INFO_set0_namingAuthority, PROFESSION_INFO_set0_professionItems, PROFESSION_INFO_set0_professionOIDs, PROFESSION_INFO_set0_registrationNumber - Accessors and settors for ADMISSION_SYNTAX</p>
  20. <h1 id="SYNOPSIS">SYNOPSIS</h1>
  21. <pre><code> typedef struct NamingAuthority_st NAMING_AUTHORITY;
  22. typedef struct ProfessionInfo_st PROFESSION_INFO;
  23. typedef STACK_OF(PROFESSION_INFO) PROFESSION_INFOS;
  24. typedef struct Admissions_st ADMISSIONS;
  25. typedef struct AdmissionSyntax_st ADMISSION_SYNTAX;
  26. const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(
  27. const NAMING_AUTHORITY *n);
  28. void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n,
  29. ASN1_OBJECT* namingAuthorityId);
  30. const ASN1_IA5STRING *NAMING_AUTHORITY_get0_authorityURL(
  31. const NAMING_AUTHORITY *n);
  32. void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n,
  33. ASN1_IA5STRING* namingAuthorityUrl);
  34. const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(
  35. const NAMING_AUTHORITY *n);
  36. void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n,
  37. ASN1_STRING* namingAuthorityText);
  38. const GENERAL_NAME *ADMISSION_SYNTAX_get0_admissionAuthority(
  39. const ADMISSION_SYNTAX *as);
  40. void ADMISSION_SYNTAX_set0_admissionAuthority(
  41. ADMISSION_SYNTAX *as, GENERAL_NAME *aa);
  42. const STACK_OF(ADMISSIONS) *ADMISSION_SYNTAX_get0_contentsOfAdmissions(
  43. const ADMISSION_SYNTAX *as);
  44. void ADMISSION_SYNTAX_set0_contentsOfAdmissions(
  45. ADMISSION_SYNTAX *as, STACK_OF(ADMISSIONS) *a);
  46. const GENERAL_NAME *ADMISSIONS_get0_admissionAuthority(const ADMISSIONS *a);
  47. void ADMISSIONS_set0_admissionAuthority(ADMISSIONS *a, GENERAL_NAME *aa);
  48. const NAMING_AUTHORITY *ADMISSIONS_get0_namingAuthority(const ADMISSIONS *a);
  49. void ADMISSIONS_set0_namingAuthority(ADMISSIONS *a, NAMING_AUTHORITY *na);
  50. const PROFESSION_INFOS *ADMISSIONS_get0_professionInfos(const ADMISSIONS *a);
  51. void ADMISSIONS_set0_professionInfos(ADMISSIONS *a, PROFESSION_INFOS *pi);
  52. const ASN1_OCTET_STRING *PROFESSION_INFO_get0_addProfessionInfo(
  53. const PROFESSION_INFO *pi);
  54. void PROFESSION_INFO_set0_addProfessionInfo(
  55. PROFESSION_INFO *pi, ASN1_OCTET_STRING *aos);
  56. const NAMING_AUTHORITY *PROFESSION_INFO_get0_namingAuthority(
  57. const PROFESSION_INFO *pi);
  58. void PROFESSION_INFO_set0_namingAuthority(
  59. PROFESSION_INFO *pi, NAMING_AUTHORITY *na);
  60. const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(
  61. const PROFESSION_INFO *pi);
  62. void PROFESSION_INFO_set0_professionItems(
  63. PROFESSION_INFO *pi, STACK_OF(ASN1_STRING) *as);
  64. const STACK_OF(ASN1_OBJECT) *PROFESSION_INFO_get0_professionOIDs(
  65. const PROFESSION_INFO *pi);
  66. void PROFESSION_INFO_set0_professionOIDs(
  67. PROFESSION_INFO *pi, STACK_OF(ASN1_OBJECT) *po);
  68. const ASN1_PRINTABLESTRING *PROFESSION_INFO_get0_registrationNumber(
  69. const PROFESSION_INFO *pi);
  70. void PROFESSION_INFO_set0_registrationNumber(
  71. PROFESSION_INFO *pi, ASN1_PRINTABLESTRING *rn);</code></pre>
  72. <h1 id="DESCRIPTION">DESCRIPTION</h1>
  73. <p>The <b>PROFESSION_INFOS</b>, <b>ADMISSION_SYNTAX</b>, <b>ADMISSIONS</b>, and <b>PROFESSION_INFO</b> types are opaque structures representing the analogous types defined in the Common PKI Specification published by <a href="https://www.t7ev.org">https://www.t7ev.org</a>. Knowledge of those structures and their semantics is assumed.</p>
  74. <p>The conventional routines to convert between DER and the local format are described in <a href="../man3/d2i_X509.html">d2i_X509(3)</a>. The conventional routines to allocate and free the types are defined in <a href="../man3/X509_dup.html">X509_dup(3)</a>.</p>
  75. <p>The <b>PROFESSION_INFOS</b> type is a stack of <b>PROFESSION_INFO</b>; see <a href="../man3/DEFINE_STACK_OF.html">DEFINE_STACK_OF(3)</a> for details.</p>
  76. <p>The <b>NAMING_AUTHORITY</b> type has an authority ID and URL, and text fields. The NAMING_AUTHORITY_get0_authorityId(), NAMING_AUTHORITY_get0_get0_authorityURL(), and NAMING_AUTHORITY_get0_get0_authorityText(), functions return pointers to those values within the object. The NAMING_AUTHORITY_set0_authorityId(), NAMING_AUTHORITY_set0_get0_authorityURL(), and NAMING_AUTHORITY_set0_get0_authorityText(), functions free any existing value and set the pointer to the specified value.</p>
  77. <p>The <b>ADMISSION_SYNTAX</b> type has an authority name and a stack of <b>ADMISSION</b> objects. The ADMISSION_SYNTAX_get0_admissionAuthority() and ADMISSION_SYNTAX_get0_contentsOfAdmissions() functions return pointers to those values within the object. The ADMISSION_SYNTAX_set0_admissionAuthority() and ADMISSION_SYNTAX_set0_contentsOfAdmissions() functions free any existing value and set the pointer to the specified value.</p>
  78. <p>The <b>ADMISSION</b> type has an authority name, authority object, and a stack of <b>PROFESSION_INFO</b> items. The ADMISSIONS_get0_admissionAuthority(), ADMISSIONS_get0_namingAuthority(), and ADMISSIONS_get0_professionInfos() functions return pointers to those values within the object. The ADMISSIONS_set0_admissionAuthority(), ADMISSIONS_set0_namingAuthority(), and ADMISSIONS_set0_professionInfos() functions free any existing value and set the pointer to the specified value.</p>
  79. <p>The <b>PROFESSION_INFO</b> type has a name authority, stacks of profession Items and OIDs, a registration number, and additional profession info. The functions PROFESSION_INFO_get0_addProfessionInfo(), PROFESSION_INFO_get0_namingAuthority(), PROFESSION_INFO_get0_professionItems(), PROFESSION_INFO_get0_professionOIDs(), and PROFESSION_INFO_get0_registrationNumber() functions return pointers to those values within the object. The PROFESSION_INFO_set0_addProfessionInfo(), PROFESSION_INFO_set0_namingAuthority(), PROFESSION_INFO_set0_professionItems(), PROFESSION_INFO_set0_professionOIDs(), and PROFESSION_INFO_set0_registrationNumber() functions free any existing value and set the pointer to the specified value.</p>
  80. <h1 id="RETURN-VALUES">RETURN VALUES</h1>
  81. <p>Described above. Note that all of the <i>get0</i> functions return a pointer to the internal data structure and must not be freed.</p>
  82. <h1 id="SEE-ALSO">SEE ALSO</h1>
  83. <p><a href="../man3/X509_dup.html">X509_dup(3)</a>, <a href="../man3/d2i_X509.html">d2i_X509(3)</a>,</p>
  84. <h1 id="COPYRIGHT">COPYRIGHT</h1>
  85. <p>Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.</p>
  86. <p>Licensed under the OpenSSL license (the &quot;License&quot;). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
  87. </body>
  88. </html>