]>
Commit | Line | Data |
---|---|---|
0c9d6818 | 1 | /* |
6738bf14 | 2 | * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. |
0c9d6818 | 3 | * |
4286ca47 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
0c9d6818 F |
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 | ||
ae4186b0 DMSP |
10 | #ifndef OSSL_CRYPTO_X509_V3_ADMIS_H |
11 | # define OSSL_CRYPTO_X509_V3_ADMIS_H | |
0c9d6818 | 12 | |
fa743582 | 13 | struct NamingAuthority_st { |
0c9d6818 F |
14 | ASN1_OBJECT* namingAuthorityId; |
15 | ASN1_IA5STRING* namingAuthorityUrl; | |
16 | ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */ | |
fa743582 | 17 | }; |
0c9d6818 | 18 | |
fa743582 | 19 | struct ProfessionInfo_st { |
0c9d6818 F |
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; | |
fa743582 | 25 | }; |
0c9d6818 | 26 | |
fa743582 | 27 | struct Admissions_st { |
0c9d6818 F |
28 | GENERAL_NAME* admissionAuthority; |
29 | NAMING_AUTHORITY* namingAuthority; | |
30 | STACK_OF(PROFESSION_INFO)* professionInfos; | |
fa743582 | 31 | }; |
0c9d6818 | 32 | |
fa743582 | 33 | struct AdmissionSyntax_st { |
0c9d6818 F |
34 | GENERAL_NAME* admissionAuthority; |
35 | STACK_OF(ADMISSIONS)* contentsOfAdmissions; | |
fa743582 | 36 | }; |
0c9d6818 | 37 | |
0c9d6818 | 38 | #endif |