]> git.ipfire.org Git - thirdparty/openssl.git/blob - crypto/x509v3/v3_admis.h
Update copyright year
[thirdparty/openssl.git] / crypto / x509v3 / v3_admis.h
1 /*
2 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
3 *
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
8 */
9
10 #ifndef HEADER_V3_ADMISSION_H
11 # define HEADER_V3_ADMISSION_H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 struct NamingAuthority_st {
18 ASN1_OBJECT* namingAuthorityId;
19 ASN1_IA5STRING* namingAuthorityUrl;
20 ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
21 };
22
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;
29 };
30
31 struct Admissions_st {
32 GENERAL_NAME* admissionAuthority;
33 NAMING_AUTHORITY* namingAuthority;
34 STACK_OF(PROFESSION_INFO)* professionInfos;
35 };
36
37 struct AdmissionSyntax_st {
38 GENERAL_NAME* admissionAuthority;
39 STACK_OF(ADMISSIONS)* contentsOfAdmissions;
40 };
41
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif