2017-06-20 21:24:53 +08:00
|
|
|
/*
|
2018-02-13 20:51:29 +08:00
|
|
|
* Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2017-06-20 21:24:53 +08:00
|
|
|
*
|
2018-12-06 21:00:54 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2017-06-20 21:24:53 +08:00
|
|
|
* 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-28 06:45:57 +08:00
|
|
|
#ifndef OSSL_CRYPTO_X509_V3_ADMIS_H
|
|
|
|
# define OSSL_CRYPTO_X509_V3_ADMIS_H
|
2017-06-20 21:24:53 +08:00
|
|
|
|
2017-10-06 07:52:12 +08:00
|
|
|
struct NamingAuthority_st {
|
2017-06-20 21:24:53 +08:00
|
|
|
ASN1_OBJECT* namingAuthorityId;
|
|
|
|
ASN1_IA5STRING* namingAuthorityUrl;
|
|
|
|
ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
|
2017-10-06 07:52:12 +08:00
|
|
|
};
|
2017-06-20 21:24:53 +08:00
|
|
|
|
2017-10-06 07:52:12 +08:00
|
|
|
struct ProfessionInfo_st {
|
2017-06-20 21:24:53 +08: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-06 07:52:12 +08:00
|
|
|
};
|
2017-06-20 21:24:53 +08:00
|
|
|
|
2017-10-06 07:52:12 +08:00
|
|
|
struct Admissions_st {
|
2017-06-20 21:24:53 +08:00
|
|
|
GENERAL_NAME* admissionAuthority;
|
|
|
|
NAMING_AUTHORITY* namingAuthority;
|
|
|
|
STACK_OF(PROFESSION_INFO)* professionInfos;
|
2017-10-06 07:52:12 +08:00
|
|
|
};
|
2017-06-20 21:24:53 +08:00
|
|
|
|
2017-10-06 07:52:12 +08:00
|
|
|
struct AdmissionSyntax_st {
|
2017-06-20 21:24:53 +08:00
|
|
|
GENERAL_NAME* admissionAuthority;
|
|
|
|
STACK_OF(ADMISSIONS)* contentsOfAdmissions;
|
2017-10-06 07:52:12 +08:00
|
|
|
};
|
2017-06-20 21:24:53 +08:00
|
|
|
|
|
|
|
#endif
|