Home | History | Annotate | Line # | Download | only in man3
      1      1.1  christos =pod
      2      1.1  christos 
      3      1.1  christos =head1 NAME
      4      1.1  christos 
      5      1.1  christos ADMISSIONS,
      6      1.1  christos ADMISSIONS_get0_admissionAuthority,
      7      1.1  christos ADMISSIONS_get0_namingAuthority,
      8      1.1  christos ADMISSIONS_get0_professionInfos,
      9      1.1  christos ADMISSIONS_set0_admissionAuthority,
     10      1.1  christos ADMISSIONS_set0_namingAuthority,
     11      1.1  christos ADMISSIONS_set0_professionInfos,
     12      1.1  christos ADMISSION_SYNTAX,
     13      1.1  christos ADMISSION_SYNTAX_get0_admissionAuthority,
     14      1.1  christos ADMISSION_SYNTAX_get0_contentsOfAdmissions,
     15      1.1  christos ADMISSION_SYNTAX_set0_admissionAuthority,
     16      1.1  christos ADMISSION_SYNTAX_set0_contentsOfAdmissions,
     17      1.1  christos NAMING_AUTHORITY,
     18      1.1  christos NAMING_AUTHORITY_get0_authorityId,
     19      1.1  christos NAMING_AUTHORITY_get0_authorityURL,
     20      1.1  christos NAMING_AUTHORITY_get0_authorityText,
     21      1.1  christos NAMING_AUTHORITY_set0_authorityId,
     22      1.1  christos NAMING_AUTHORITY_set0_authorityURL,
     23      1.1  christos NAMING_AUTHORITY_set0_authorityText,
     24      1.1  christos PROFESSION_INFO,
     25      1.1  christos PROFESSION_INFOS,
     26      1.1  christos PROFESSION_INFO_get0_addProfessionInfo,
     27      1.1  christos PROFESSION_INFO_get0_namingAuthority,
     28      1.1  christos PROFESSION_INFO_get0_professionItems,
     29      1.1  christos PROFESSION_INFO_get0_professionOIDs,
     30      1.1  christos PROFESSION_INFO_get0_registrationNumber,
     31      1.1  christos PROFESSION_INFO_set0_addProfessionInfo,
     32      1.1  christos PROFESSION_INFO_set0_namingAuthority,
     33      1.1  christos PROFESSION_INFO_set0_professionItems,
     34      1.1  christos PROFESSION_INFO_set0_professionOIDs,
     35      1.1  christos PROFESSION_INFO_set0_registrationNumber
     36      1.1  christos - Accessors and settors for ADMISSION_SYNTAX
     37      1.1  christos 
     38      1.1  christos =head1 SYNOPSIS
     39      1.1  christos 
     40      1.1  christos  typedef struct NamingAuthority_st NAMING_AUTHORITY;
     41      1.1  christos  typedef struct ProfessionInfo_st PROFESSION_INFO;
     42      1.1  christos  typedef STACK_OF(PROFESSION_INFO) PROFESSION_INFOS;
     43      1.1  christos  typedef struct Admissions_st ADMISSIONS;
     44      1.1  christos  typedef struct AdmissionSyntax_st ADMISSION_SYNTAX;
     45      1.1  christos 
     46      1.1  christos  const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(
     47      1.1  christos      const NAMING_AUTHORITY *n);
     48      1.1  christos  void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n,
     49      1.1  christos      ASN1_OBJECT* namingAuthorityId);
     50      1.1  christos  const ASN1_IA5STRING *NAMING_AUTHORITY_get0_authorityURL(
     51      1.1  christos      const NAMING_AUTHORITY *n);
     52      1.1  christos  void NAMING_AUTHORITY_set0_authorityURL(NAMING_AUTHORITY *n,
     53      1.1  christos      ASN1_IA5STRING* namingAuthorityUrl);
     54      1.1  christos  const ASN1_STRING *NAMING_AUTHORITY_get0_authorityText(
     55      1.1  christos      const NAMING_AUTHORITY *n);
     56      1.1  christos  void NAMING_AUTHORITY_set0_authorityText(NAMING_AUTHORITY *n,
     57      1.1  christos      ASN1_STRING* namingAuthorityText);
     58      1.1  christos 
     59      1.1  christos  const GENERAL_NAME *ADMISSION_SYNTAX_get0_admissionAuthority(
     60      1.1  christos      const ADMISSION_SYNTAX *as);
     61      1.1  christos  void ADMISSION_SYNTAX_set0_admissionAuthority(
     62      1.1  christos      ADMISSION_SYNTAX *as, GENERAL_NAME *aa);
     63      1.1  christos  const STACK_OF(ADMISSIONS) *ADMISSION_SYNTAX_get0_contentsOfAdmissions(
     64      1.1  christos      const ADMISSION_SYNTAX *as);
     65      1.1  christos  void ADMISSION_SYNTAX_set0_contentsOfAdmissions(
     66      1.1  christos      ADMISSION_SYNTAX *as, STACK_OF(ADMISSIONS) *a);
     67      1.1  christos 
     68      1.1  christos  const GENERAL_NAME *ADMISSIONS_get0_admissionAuthority(const ADMISSIONS *a);
     69      1.1  christos  void ADMISSIONS_set0_admissionAuthority(ADMISSIONS *a, GENERAL_NAME *aa);
     70      1.1  christos  const NAMING_AUTHORITY *ADMISSIONS_get0_namingAuthority(const ADMISSIONS *a);
     71      1.1  christos  void ADMISSIONS_set0_namingAuthority(ADMISSIONS *a, NAMING_AUTHORITY *na);
     72      1.1  christos  const PROFESSION_INFOS *ADMISSIONS_get0_professionInfos(const ADMISSIONS *a);
     73      1.1  christos  void ADMISSIONS_set0_professionInfos(ADMISSIONS *a, PROFESSION_INFOS *pi);
     74      1.1  christos 
     75      1.1  christos  const ASN1_OCTET_STRING *PROFESSION_INFO_get0_addProfessionInfo(
     76      1.1  christos      const PROFESSION_INFO *pi);
     77      1.1  christos  void PROFESSION_INFO_set0_addProfessionInfo(
     78      1.1  christos      PROFESSION_INFO *pi, ASN1_OCTET_STRING *aos);
     79      1.1  christos  const NAMING_AUTHORITY *PROFESSION_INFO_get0_namingAuthority(
     80      1.1  christos      const PROFESSION_INFO *pi);
     81      1.1  christos  void PROFESSION_INFO_set0_namingAuthority(
     82      1.1  christos      PROFESSION_INFO *pi, NAMING_AUTHORITY *na);
     83      1.1  christos  const STACK_OF(ASN1_STRING) *PROFESSION_INFO_get0_professionItems(
     84      1.1  christos      const PROFESSION_INFO *pi);
     85      1.1  christos  void PROFESSION_INFO_set0_professionItems(
     86      1.1  christos      PROFESSION_INFO *pi, STACK_OF(ASN1_STRING) *as);
     87      1.1  christos  const STACK_OF(ASN1_OBJECT) *PROFESSION_INFO_get0_professionOIDs(
     88      1.1  christos      const PROFESSION_INFO *pi);
     89      1.1  christos  void PROFESSION_INFO_set0_professionOIDs(
     90      1.1  christos      PROFESSION_INFO *pi, STACK_OF(ASN1_OBJECT) *po);
     91      1.1  christos  const ASN1_PRINTABLESTRING *PROFESSION_INFO_get0_registrationNumber(
     92      1.1  christos      const PROFESSION_INFO *pi);
     93      1.1  christos  void PROFESSION_INFO_set0_registrationNumber(
     94      1.1  christos      PROFESSION_INFO *pi, ASN1_PRINTABLESTRING *rn);
     95      1.1  christos 
     96      1.1  christos =head1 DESCRIPTION
     97      1.1  christos 
     98      1.1  christos The B<PROFESSION_INFOS>, B<ADMISSION_SYNTAX>, B<ADMISSIONS>, and
     99      1.1  christos B<PROFESSION_INFO> types are opaque structures representing the
    100      1.1  christos analogous types defined in the Common PKI Specification published
    101      1.1  christos by L<https://www.t7ev.org>.
    102      1.1  christos Knowledge of those structures and their semantics is assumed.
    103      1.1  christos 
    104      1.1  christos The conventional routines to convert between DER and the local format
    105      1.1  christos are described in L<d2i_X509(3)>.
    106      1.1  christos The conventional routines to allocate and free the types are defined
    107      1.1  christos in L<X509_dup(3)>.
    108      1.1  christos 
    109      1.1  christos The B<PROFESSION_INFOS> type is a stack of B<PROFESSION_INFO>; see
    110      1.1  christos L<DEFINE_STACK_OF(3)> for details.
    111      1.1  christos 
    112      1.1  christos The B<NAMING_AUTHORITY> type has an authority ID and URL, and text fields.
    113      1.1  christos The NAMING_AUTHORITY_get0_authorityId(),
    114      1.1  christos NAMING_AUTHORITY_get0_get0_authorityURL(), and
    115      1.1  christos NAMING_AUTHORITY_get0_get0_authorityText(), functions return pointers
    116      1.1  christos to those values within the object.
    117      1.1  christos The NAMING_AUTHORITY_set0_authorityId(),
    118      1.1  christos NAMING_AUTHORITY_set0_get0_authorityURL(), and
    119      1.1  christos NAMING_AUTHORITY_set0_get0_authorityText(),
    120      1.1  christos functions free any existing value and set the pointer to the specified value.
    121      1.1  christos 
    122      1.1  christos The B<ADMISSION_SYNTAX> type has an authority name and a stack of
    123      1.1  christos B<ADMISSION> objects.
    124      1.1  christos The ADMISSION_SYNTAX_get0_admissionAuthority()
    125      1.1  christos and ADMISSION_SYNTAX_get0_contentsOfAdmissions() functions return pointers
    126      1.1  christos to those values within the object.
    127      1.1  christos The
    128      1.1  christos ADMISSION_SYNTAX_set0_admissionAuthority() and
    129      1.1  christos ADMISSION_SYNTAX_set0_contentsOfAdmissions()
    130      1.1  christos functions free any existing value and set the pointer to the specified value.
    131      1.1  christos 
    132      1.1  christos The B<ADMISSION> type has an authority name, authority object, and a
    133  1.1.1.2  christos stack of B<PROFESSION_INFO> items.
    134      1.1  christos The ADMISSIONS_get0_admissionAuthority(), ADMISSIONS_get0_namingAuthority(),
    135      1.1  christos and ADMISSIONS_get0_professionInfos()
    136      1.1  christos functions return pointers to those values within the object.
    137      1.1  christos The
    138      1.1  christos ADMISSIONS_set0_admissionAuthority(),
    139      1.1  christos ADMISSIONS_set0_namingAuthority(), and
    140      1.1  christos ADMISSIONS_set0_professionInfos()
    141      1.1  christos functions free any existing value and set the pointer to the specified value.
    142      1.1  christos 
    143      1.1  christos The B<PROFESSION_INFO> type has a name authority, stacks of
    144      1.1  christos profession Items and OIDs, a registration number, and additional
    145      1.1  christos profession info.
    146      1.1  christos The functions PROFESSION_INFO_get0_addProfessionInfo(),
    147      1.1  christos PROFESSION_INFO_get0_namingAuthority(), PROFESSION_INFO_get0_professionItems(),
    148      1.1  christos PROFESSION_INFO_get0_professionOIDs(), and
    149      1.1  christos PROFESSION_INFO_get0_registrationNumber()
    150      1.1  christos functions return pointers to those values within the object.
    151      1.1  christos The
    152      1.1  christos PROFESSION_INFO_set0_addProfessionInfo(),
    153      1.1  christos PROFESSION_INFO_set0_namingAuthority(),
    154      1.1  christos PROFESSION_INFO_set0_professionItems(),
    155      1.1  christos PROFESSION_INFO_set0_professionOIDs(), and
    156      1.1  christos PROFESSION_INFO_set0_registrationNumber()
    157      1.1  christos functions free any existing value and set the pointer to the specified value.
    158      1.1  christos 
    159      1.1  christos =head1 RETURN VALUES
    160      1.1  christos 
    161      1.1  christos Described above.
    162      1.1  christos Note that all of the I<get0> functions return a pointer to the internal data
    163      1.1  christos structure and must not be freed.
    164      1.1  christos 
    165      1.1  christos =head1 SEE ALSO
    166      1.1  christos 
    167      1.1  christos L<X509_dup(3)>,
    168      1.1  christos L<d2i_X509(3)>,
    169      1.1  christos 
    170      1.1  christos =head1 COPYRIGHT
    171      1.1  christos 
    172  1.1.1.3  christos Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
    173      1.1  christos 
    174  1.1.1.3  christos Licensed under the Apache License 2.0 (the "License").  You may not use
    175      1.1  christos this file except in compliance with the License.  You can obtain a copy
    176      1.1  christos in the file LICENSE in the source distribution or at
    177      1.1  christos L<https://www.openssl.org/source/license.html>.
    178      1.1  christos 
    179      1.1  christos =cut
    180