v3_admis.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. #ifndef OSSL_CRYPTO_X509_V3_ADMIS_H
  10. # define OSSL_CRYPTO_X509_V3_ADMIS_H
  11. struct NamingAuthority_st {
  12. ASN1_OBJECT* namingAuthorityId;
  13. ASN1_IA5STRING* namingAuthorityUrl;
  14. ASN1_STRING* namingAuthorityText; /* i.e. DIRECTORYSTRING */
  15. };
  16. struct ProfessionInfo_st {
  17. NAMING_AUTHORITY* namingAuthority;
  18. STACK_OF(ASN1_STRING)* professionItems; /* i.e. DIRECTORYSTRING */
  19. STACK_OF(ASN1_OBJECT)* professionOIDs;
  20. ASN1_PRINTABLESTRING* registrationNumber;
  21. ASN1_OCTET_STRING* addProfessionInfo;
  22. };
  23. struct Admissions_st {
  24. GENERAL_NAME* admissionAuthority;
  25. NAMING_AUTHORITY* namingAuthority;
  26. STACK_OF(PROFESSION_INFO)* professionInfos;
  27. };
  28. struct AdmissionSyntax_st {
  29. GENERAL_NAME* admissionAuthority;
  30. STACK_OF(ADMISSIONS)* contentsOfAdmissions;
  31. };
  32. #endif