2 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (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
13 struct NamingAuthority_st {
14 ASN1_OBJECT* namingAuthorityId;
15 ASN1_IA5STRING* namingAuthorityUrl;
16 ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
19 struct ProfessionInfo_st {
20 NAMING_AUTHORITY* namingAuthority;
21 STACK_OF(ASN1_STRING)* professionItems; /* i.e. DIRECTORYSTRING */
22 STACK_OF(ASN1_OBJECT)* professionOIDs;
23 ASN1_PRINTABLESTRING* registrationNumber;
24 ASN1_OCTET_STRING* addProfessionInfo;
27 struct Admissions_st {
28 GENERAL_NAME* admissionAuthority;
29 NAMING_AUTHORITY* namingAuthority;
30 STACK_OF(PROFESSION_INFO)* professionInfos;
33 struct AdmissionSyntax_st {
34 GENERAL_NAME* admissionAuthority;
35 STACK_OF(ADMISSIONS)* contentsOfAdmissions;