1ADMISSIONS(3)                       OpenSSL                      ADMISSIONS(3)
2
3
4

NAME

6       ADMISSIONS, ADMISSIONS_get0_admissionAuthority,
7       ADMISSIONS_get0_namingAuthority, ADMISSIONS_get0_professionInfos,
8       ADMISSIONS_set0_admissionAuthority, ADMISSIONS_set0_namingAuthority,
9       ADMISSIONS_set0_professionInfos, ADMISSION_SYNTAX,
10       ADMISSION_SYNTAX_get0_admissionAuthority,
11       ADMISSION_SYNTAX_get0_contentsOfAdmissions,
12       ADMISSION_SYNTAX_set0_admissionAuthority,
13       ADMISSION_SYNTAX_set0_contentsOfAdmissions, NAMING_AUTHORITY,
14       NAMING_AUTHORITY_get0_authorityId, NAMING_AUTHORITY_get0_authorityURL,
15       NAMING_AUTHORITY_get0_authorityText, NAMING_AUTHORITY_set0_authorityId,
16       NAMING_AUTHORITY_set0_authorityURL,
17       NAMING_AUTHORITY_set0_authorityText, PROFESSION_INFO, PROFESSION_INFOS,
18       PROFESSION_INFO_get0_addProfessionInfo,
19       PROFESSION_INFO_get0_namingAuthority,
20       PROFESSION_INFO_get0_professionItems,
21       PROFESSION_INFO_get0_professionOIDs,
22       PROFESSION_INFO_get0_registrationNumber,
23       PROFESSION_INFO_set0_addProfessionInfo,
24       PROFESSION_INFO_set0_namingAuthority,
25       PROFESSION_INFO_set0_professionItems,
26       PROFESSION_INFO_set0_professionOIDs,
27       PROFESSION_INFO_set0_registrationNumber - Accessors and settors for
28       ADMISSION_SYNTAX
29

SYNOPSIS

31        typedef struct NamingAuthority_st NAMING_AUTHORITY;
32        typedef struct ProfessionInfo_st PROFESSION_INFO;
33        typedef STACK_OF(PROFESSION_INFO) PROFESSION_INFOS;
34        typedef struct Admissions_st ADMISSIONS;
35        typedef struct AdmissionSyntax_st ADMISSION_SYNTAX;
36
37        const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(
38            const NAMING_AUTHORITY *n);
39        void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n,
40            ASN1_OBJECT* namingAuthorityId);
41        const ASN1_IA5STRING *NAMING_AUTHORITY_get0_authorityURL(
42            const NAMING_AUTHORITY *n);
43        void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n,
44            ASN1_IA5STRING* namingAuthorityUrl);
45        const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(
46            const NAMING_AUTHORITY *n);
47        void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n,
48            ASN1_STRING* namingAuthorityText);
49
50        const GENERAL_NAME *ADMISSION_SYNTAX_get0_admissionAuthority(
51            const ADMISSION_SYNTAX *as);
52        void ADMISSION_SYNTAX_set0_admissionAuthority(
53            ADMISSION_SYNTAX *as, GENERAL_NAME *aa);
54        const STACK_OF(ADMISSIONS) *ADMISSION_SYNTAX_get0_contentsOfAdmissions(
55            const ADMISSION_SYNTAX *as);
56        void ADMISSION_SYNTAX_set0_contentsOfAdmissions(
57            ADMISSION_SYNTAX *as, STACK_OF(ADMISSIONS) *a);
58
59        const GENERAL_NAME *ADMISSIONS_get0_admissionAuthority(const ADMISSIONS *a);
60        void ADMISSIONS_set0_admissionAuthority(ADMISSIONS *a, GENERAL_NAME *aa);
61        const NAMING_AUTHORITY *ADMISSIONS_get0_namingAuthority(const ADMISSIONS *a);
62        void ADMISSIONS_set0_namingAuthority(ADMISSIONS *a, NAMING_AUTHORITY *na);
63        const PROFESSION_INFOS *ADMISSIONS_get0_professionInfos(const ADMISSIONS *a);
64        void ADMISSIONS_set0_professionInfos(ADMISSIONS *a, PROFESSION_INFOS *pi);
65
66        const ASN1_OCTET_STRING *PROFESSION_INFO_get0_addProfessionInfo(
67            const PROFESSION_INFO *pi);
68        void PROFESSION_INFO_set0_addProfessionInfo(
69            PROFESSION_INFO *pi, ASN1_OCTET_STRING *aos);
70        const NAMING_AUTHORITY *PROFESSION_INFO_get0_namingAuthority(
71            const PROFESSION_INFO *pi);
72        void PROFESSION_INFO_set0_namingAuthority(
73            PROFESSION_INFO *pi, NAMING_AUTHORITY *na);
74        const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(
75            const PROFESSION_INFO *pi);
76        void PROFESSION_INFO_set0_professionItems(
77            PROFESSION_INFO *pi, STACK_OF(ASN1_STRING) *as);
78        const STACK_OF(ASN1_OBJECT) *PROFESSION_INFO_get0_professionOIDs(
79            const PROFESSION_INFO *pi);
80        void PROFESSION_INFO_set0_professionOIDs(
81            PROFESSION_INFO *pi, STACK_OF(ASN1_OBJECT) *po);
82        const ASN1_PRINTABLESTRING *PROFESSION_INFO_get0_registrationNumber(
83            const PROFESSION_INFO *pi);
84        void PROFESSION_INFO_set0_registrationNumber(
85            PROFESSION_INFO *pi, ASN1_PRINTABLESTRING *rn);
86

DESCRIPTION

88       The PROFESSION_INFOS, ADMISSION_SYNTAX, ADMISSIONS, and PROFESSION_INFO
89       types are opaque structures representing the analogous types defined in
90       the Common PKI Specification published by <https://www.t7ev.org>.
91       Knowledge of those structures and their semantics is assumed.
92
93       The conventional routines to convert between DER and the local format
94       are described in d2i_X509(3).  The conventional routines to allocate
95       and free the types are defined in X509_dup(3).
96
97       The PROFESSION_INFOS type is a stack of PROFESSION_INFO; see
98       DEFINE_STACK_OF(3) for details.
99
100       The NAMING_AUTHORITY type has an authority ID and URL, and text fields.
101       The NAMING_AUTHORITY_get0_authorityId(),
102       NAMING_AUTHORITY_get0_get0_authorityURL(), and
103       NAMING_AUTHORITY_get0_get0_authorityText(), functions return pointers
104       to those values within the object.  The
105       NAMING_AUTHORITY_set0_authorityId(),
106       NAMING_AUTHORITY_set0_get0_authorityURL(), and
107       NAMING_AUTHORITY_set0_get0_authorityText(), functions free any existing
108       value and set the pointer to the specified value.
109
110       The ADMISSION_SYNTAX type has an authority name and a stack of
111       ADMISSION objects.  The ADMISSION_SYNTAX_get0_admissionAuthority() and
112       ADMISSION_SYNTAX_get0_contentsOfAdmissions() functions return pointers
113       to those values within the object.  The
114       ADMISSION_SYNTAX_set0_admissionAuthority() and
115       ADMISSION_SYNTAX_set0_contentsOfAdmissions() functions free any
116       existing value and set the pointer to the specified value.
117
118       The ADMISSION type has an authority name, authority object, and a stack
119       of PROFESSION_INFO items.  The ADMISSIONS_get0_admissionAuthority(),
120       ADMISSIONS_get0_namingAuthority(), and
121       ADMISSIONS_get0_professionInfos() functions return pointers to those
122       values within the object.  The ADMISSIONS_set0_admissionAuthority(),
123       ADMISSIONS_set0_namingAuthority(), and
124       ADMISSIONS_set0_professionInfos() functions free any existing value and
125       set the pointer to the specified value.
126
127       The PROFESSION_INFO type has a name authority, stacks of profession
128       Items and OIDs, a registration number, and additional profession info.
129       The functions PROFESSION_INFO_get0_addProfessionInfo(),
130       PROFESSION_INFO_get0_namingAuthority(),
131       PROFESSION_INFO_get0_professionItems(),
132       PROFESSION_INFO_get0_professionOIDs(), and
133       PROFESSION_INFO_get0_registrationNumber() functions return pointers to
134       those values within the object.  The
135       PROFESSION_INFO_set0_addProfessionInfo(),
136       PROFESSION_INFO_set0_namingAuthority(),
137       PROFESSION_INFO_set0_professionItems(),
138       PROFESSION_INFO_set0_professionOIDs(), and
139       PROFESSION_INFO_set0_registrationNumber() functions free any existing
140       value and set the pointer to the specified value.
141

RETURN VALUES

143       Described above.  Note that all of the get0 functions return a pointer
144       to the internal data structure and must not be freed.
145

SEE ALSO

147       X509_dup(3), d2i_X509(3),
148
150       Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.
151
152       Licensed under the OpenSSL license (the "License").  You may not use
153       this file except in compliance with the License.  You can obtain a copy
154       in the file LICENSE in the source distribution or at
155       <https://www.openssl.org/source/license.html>.
156
157
158
1591.1.1g                            2020-04-23                     ADMISSIONS(3)
Impressum