1 | /* |
2 | * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. |
3 | * |
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 |
8 | */ |
9 | |
10 | #ifndef OSSL_CRYPTO_X509_V3_ADMIS_H |
11 | # define OSSL_CRYPTO_X509_V3_ADMIS_H |
12 | |
13 | struct NamingAuthority_st { |
14 | ASN1_OBJECT* namingAuthorityId; |
15 | ASN1_IA5STRING* namingAuthorityUrl; |
16 | ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */ |
17 | }; |
18 | |
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; |
25 | }; |
26 | |
27 | struct Admissions_st { |
28 | GENERAL_NAME* admissionAuthority; |
29 | NAMING_AUTHORITY* namingAuthority; |
30 | STACK_OF(PROFESSION_INFO)* professionInfos; |
31 | }; |
32 | |
33 | struct AdmissionSyntax_st { |
34 | GENERAL_NAME* admissionAuthority; |
35 | STACK_OF(ADMISSIONS)* contentsOfAdmissions; |
36 | }; |
37 | |
38 | #endif |
39 | |