home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / mtadata / x500auth.xv2 < prev    next >
Text File  |  1997-08-25  |  7KB  |  169 lines

  1. (* $Workfile:   x500auth.xv2  $  $Revision:   1.2  $ *)
  2. (* X5OOAUTH.TPL *)
  3. (*****************************************************************************)
  4. (* ASN.1 X.500 Authorisation Framework                                       *)
  5. (*                                                                           *)
  6. (* Known simplifications:                                                    *)
  7. (*   - AlgorithmIdentifier parameters should be ANY DEFINED BY               *)
  8. (*   - CertificateList incompletely specified                                *)
  9. (*****************************************************************************)
  10.  
  11.  
  12. Certificate (SIGNED)       LABEL     = 5cers
  13.                            STRUCTURE = SEQUENCE
  14.                            CHILDREN  = { <5cert, U 16 C,M,0> ,
  15.                                          <5algi, U 16 C,M,0> ,
  16.                                          <5encr, U  3 P,M,0> }
  17.  
  18. ENCRYPTED                  LABEL     = 5encr        T=n/a
  19.                            STRUCTURE = BITSTRING
  20.  
  21. Certificate                LABEL     = 5cert
  22.                            STRUCTURE = SEQUENCE
  23.                            CHILDREN  = { <5vern, C  0 P,D,0> ,
  24.                                          <5srln, U  2 P,M,0> ,
  25.                                          <5sign, U 16 C,M,0> ,
  26.                                          <5issu, U  0 P,M,0> ,
  27.                                          <5vldy, U 16 C,M,0> ,
  28.                                          <5subj, U  0 P,M,0> ,
  29.                                          <5spki, U 16 C,M,0> }
  30.  
  31. signature                  LABEL     = 5sign
  32.                            STRUCTURE = SEQUENCE
  33.                            CHILDREN  = { <5algm, U  6 P,M,0> ,
  34.                                          <5prms, U  0 P,O,0> }
  35.  
  36. issuer                     LABEL     = 5issu
  37.                            STRUCTURE = CHOICE
  38.                            CHILDREN  = { <5rdns, U 16 C,O,0> }
  39.  
  40. subject                    LABEL     = 5subj
  41.                            STRUCTURE = CHOICE
  42.                            CHILDREN  = { <5rdns, U 16 C,O,0> }
  43.  
  44. Version                    LABEL     = 5vern
  45.                            STRUCTURE = INTEGER
  46.  
  47. serialNumber               LABEL     = 5srln
  48.                            STRUCTURE = INTEGER
  49.  
  50. Validity                   LABEL     = 5vldy
  51.                            STRUCTURE = SEQUENCE
  52.                            CHILDREN  = { <5nbef, U 23 P,M,0> ,
  53.                                          <5naft, U 23 P,M,0> }
  54.  
  55. notBefore                  LABEL     = 5nbef
  56.                            STRUCTURE = UTC TIME
  57.  
  58. notAfter                   LABEL     = 5naft
  59.                            STRUCTURE = UTC TIME
  60.  
  61. SubjectPublicKeyInfo       LABEL     = 5spki
  62.                            STRUCTURE = SEQUENCE
  63.                            CHILDREN  = { <5algi, U 16 C,M,0> ,
  64.                                          <5spky, U  3 P,O,0> }
  65.  
  66. subjectPublicKey           LABEL     = 5spky
  67.                            STRUCTURE = BITSTRING
  68.  
  69. AlgorithmIdentifier        LABEL     = 5algi
  70.                            STRUCTURE = SEQUENCE
  71.                            CHILDREN  = { <5algm, U  6 P,M,0>*,
  72.                                          <5prms, U  0 P,O,0> }
  73.  
  74. algorithm                  LABEL     = 5algm        T=MH_ALGORITHM_ID
  75.                            STRUCTURE = OBJECT IDENTIFIER
  76.  
  77. parameters                 LABEL     = 5prms
  78.                            STRUCTURE = ANY DEFINED BY
  79.                            DEFGLABEL = 5algm
  80.                            REGISTER  = { < {3 4 5 6 7},5xxxx, U  0 P,0>D }
  81.  
  82. xxx dummy parameters       LABEL     = 5xxxx        T=MH_ALGORITHM_DATUM
  83.                            STRUCTURE = BITSTRING
  84.  
  85. (* Should be this          STRUCTURE = ANY*)
  86.  
  87. (* Not sure that such a REGISTER will work. If not then revert back to ANY   *)
  88.  
  89. Certificates               LABEL     = 5ctfs
  90.                            STRUCTURE = SEQUENCE
  91.                            CHILDREN  = { <5cers, U 16 C,M,0> ,
  92.                                          <5fctp, U 16 C,O,0> }
  93.  
  94. ForwardCertificationPath   LABEL     = 5fctp
  95.                            STRUCTURE = SEQUENCE OF
  96.                            CHILDREN  = { <5xctf, U 17 C,O,0> }
  97.  
  98. CertificationPath          LABEL     = 5cpth
  99.                            STRUCTURE = SEQUENCE
  100.                            CHILDREN  = { <5cers, U 16 C,M,0> ,
  101.                                          <5CAct, U 16 C,O,0> }
  102.  
  103. theCACertificates          LABEL     = 5CAct
  104.                            STRUCTURE = SEQUENCE OF
  105.                            CHILDREN  = { <5ctpr, U 16 C,O,0> }
  106.  
  107. CrossCertificates          LABEL     = 5xctf
  108.                            STRUCTURE = SET OF
  109.                            CHILDREN  = { <5cers, U 16 C,O,0> }
  110.  
  111. CertificateList (SIGNED)   LABEL     = 5clss
  112.                            STRUCTURE = SEQUENCE
  113.                            CHILDREN  = { <5clst, U 16 C,M,0> ,
  114.                                          <5algi, U 16 C,M,0> ,
  115.                                          <5encr, U  3 P,M,0> }
  116.  
  117. CertificateList            LABEL     = 5clst
  118.                            STRUCTURE = SEQUENCE
  119.                            CHILDREN  = { <5sign, U 16 C,M,0> ,
  120.                                          <5issu, U  0 P,M,0> ,
  121.                                          <5lstu, U 23 P,M,0> ,
  122.                                          <5rvks, U 16 C,M,0> }
  123.  
  124. lastUpdate                 LABEL     = 5lstu
  125.                            STRUCTURE = UTC TIME
  126.  
  127. revokedCertificates (SGND) LABEL     = 5rvks
  128.                            STRUCTURE = SEQUENCE
  129.                            CHILDREN  = { <5rvkd, U 16 C,M,0> ,
  130.                                          <5algi, U 16 C,M,0> ,
  131.                                          <5encr, U  3 P,M,0> }
  132.  
  133. revokedCertificates        LABEL     = 5rvkd
  134.                            STRUCTURE = SEQUENCE OF
  135.                            CHILDREN  = { <5rvkc, U 16 C,O,0> }
  136.  
  137. revokedCertificate         LABEL     = 5rvkc
  138.                            STRUCTURE = SEQUENCE
  139.                            CHILDREN  = { <5sign, U 16 C,M,0> ,
  140.                                          <5issu, U  0 P,M,0> ,
  141.                                          <5usct, U  2 P,M,0> ,
  142.                                          <5rvdt, U 23 P,M,0> }
  143.  
  144. userCertificate            LABEL     = 5usct
  145.                            STRUCTURE = INTEGER
  146.  
  147. revocationDate             LABEL     = 5rvdt
  148.                            STRUCTURE = UTC TIME
  149.  
  150. CertificatePair            LABEL     = 5ctpr
  151.                            STRUCTURE = SEQUENCE
  152.                            CHILDREN  = { <5frwd, C  0 C,O,0> ,
  153.                                          <5rvrs, C  1 C,O,0> }
  154. (* At least one of CertificatePair must be present                           *)
  155.  
  156. forward                    LABEL     = 5frwd
  157.                            STRUCTURE = SEQUENCE
  158.                            CHILDREN  = { <5cert, U 16 C,M,0> ,
  159.                                          <5algi, U 16 C,M,0> ,
  160.                                          <5encr, U  3 P,M,0> }
  161.  
  162. reverse                    LABEL     = 5rvrs
  163.                            STRUCTURE = SEQUENCE
  164.                            CHILDREN  = { <5cert, U 16 C,M,0> ,
  165.                                          <5algi, U 16 C,M,0> ,
  166.                                          <5encr, U  3 P,M,0> }
  167.  
  168. !
  169.