2017-06-20 13:24:53 +00:00
|
|
|
/*
|
2018-02-13 12:51:29 +00:00
|
|
|
* Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2017-06-20 13:24:53 +00:00
|
|
|
*
|
|
|
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
2019-09-27 21:58:12 +00:00
|
|
|
#ifndef OSSL_CRYPTO_X509V3_V3_ADMIS_H
|
|
|
|
# define OSSL_CRYPTO_X509V3_V3_ADMIS_H
|
2017-06-20 13:24:53 +00:00
|
|
|
|
2017-10-05 23:52:12 +00:00
|
|
|
struct NamingAuthority_st {
|
2017-06-20 13:24:53 +00:00
|
|
|
ASN1_OBJECT* namingAuthorityId;
|
|
|
|
ASN1_IA5STRING* namingAuthorityUrl;
|
|
|
|
ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
|
2017-10-05 23:52:12 +00:00
|
|
|
};
|
2017-06-20 13:24:53 +00:00
|
|
|
|
2017-10-05 23:52:12 +00:00
|
|
|
struct ProfessionInfo_st {
|
2017-06-20 13:24:53 +00:00
|
|
|
NAMING_AUTHORITY* namingAuthority;
|
|
|
|
STACK_OF(ASN1_STRING)* professionItems; /* i.e. DIRECTORYSTRING */
|
|
|
|
STACK_OF(ASN1_OBJECT)* professionOIDs;
|
|
|
|
ASN1_PRINTABLESTRING* registrationNumber;
|
|
|
|
ASN1_OCTET_STRING* addProfessionInfo;
|
2017-10-05 23:52:12 +00:00
|
|
|
};
|
2017-06-20 13:24:53 +00:00
|
|
|
|
2017-10-05 23:52:12 +00:00
|
|
|
struct Admissions_st {
|
2017-06-20 13:24:53 +00:00
|
|
|
GENERAL_NAME* admissionAuthority;
|
|
|
|
NAMING_AUTHORITY* namingAuthority;
|
|
|
|
STACK_OF(PROFESSION_INFO)* professionInfos;
|
2017-10-05 23:52:12 +00:00
|
|
|
};
|
2017-06-20 13:24:53 +00:00
|
|
|
|
2017-10-05 23:52:12 +00:00
|
|
|
struct AdmissionSyntax_st {
|
2017-06-20 13:24:53 +00:00
|
|
|
GENERAL_NAME* admissionAuthority;
|
|
|
|
STACK_OF(ADMISSIONS)* contentsOfAdmissions;
|
2017-10-05 23:52:12 +00:00
|
|
|
};
|
2017-06-20 13:24:53 +00:00
|
|
|
|
|
|
|
#endif
|