2 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #ifndef HEADER_V3_ADMISSION_H
11 # define HEADER_V3_ADMISSION_H
17 struct NamingAuthority_st {
18 ASN1_OBJECT* namingAuthorityId;
19 ASN1_IA5STRING* namingAuthorityUrl;
20 ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
23 struct ProfessionInfo_st {
24 NAMING_AUTHORITY* namingAuthority;
25 STACK_OF(ASN1_STRING)* professionItems; /* i.e. DIRECTORYSTRING */
26 STACK_OF(ASN1_OBJECT)* professionOIDs;
27 ASN1_PRINTABLESTRING* registrationNumber;
28 ASN1_OCTET_STRING* addProfessionInfo;
31 struct Admissions_st {
32 GENERAL_NAME* admissionAuthority;
33 NAMING_AUTHORITY* namingAuthority;
34 STACK_OF(PROFESSION_INFO)* professionInfos;
37 struct AdmissionSyntax_st {
38 GENERAL_NAME* admissionAuthority;
39 STACK_OF(ADMISSIONS)* contentsOfAdmissions;