home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-pkix-ipki-part1-04.txt < prev    next >
Text File  |  1997-03-27  |  164KB  |  4,497 lines

  1.  
  2.  
  3. PKIX Working Group                                   R. Housley (SPYRUS)
  4. Internet Draft                                        W. Ford (Verisign)
  5.                                                           W. Polk (NIST)
  6.                                                            D. Solo (BBN)
  7. expires in six months                                      March 26 1996
  8.  
  9.  
  10.                    Internet Public Key Infrastructure
  11.  
  12.                Part I:  X.509 Certificate and CRL Profile
  13.  
  14.                   <draft-ietf-pkix-ipki-part1-04.txt>
  15.  
  16.  
  17. Status of this Memo
  18.  
  19.    This document is an Internet-Draft.  Internet-Drafts are working
  20.    documents of the Internet Engineering Task Force (IETF), its areas,
  21.    and its working groups.  Note that other groups may also distribute
  22.    working documents as Internet-Drafts.
  23.  
  24.    Internet-Drafts are draft documents valid for a maximum of six months
  25.    and may be updated, replaced, or obsoleted by other documents at any
  26.    time.  It is inappropriate to use Internet- Drafts as reference
  27.    material or to cite them other than as "work in progress."
  28.  
  29.    To learn the current status of any Internet-Draft, please check the
  30.    "1id-abstracts.txt" listing contained in the Internet- Drafts Shadow
  31.    Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  32.    munnari.oz.au Pacific Rim), ds.internic.net (US East Coast), or
  33.    ftp.isi.edu (US West Coast).
  34.  
  35.  
  36. Abstract
  37.  
  38.    This is the fourth draft of the Internet Public Key Infrastructure
  39.    X.509 Certificate and CRL Profile.  This draft is a complete
  40.    specification; text is provided for all previously open sections.
  41.    Modifications and enhancements which appear in this draft include a
  42.    reduced set of private extensions, conformance requirements for CAs
  43.    and clients, and examples of a certificate and a CRL. This draft also
  44.    features specific semantics for alternative name extensions and
  45.    clarifies the syntax of date fields.  Please send comments on this
  46.    document to the ietf-pkix@tandem.com mail list.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Housley, Ford, Polk, & Solo                                     [Page 1]
  55.  
  56.  
  57.  
  58.  
  59.  
  60. INTERNET DRAFT                                             March 26 1996
  61.  
  62.  
  63. 1  Executive Summary
  64.  
  65.    This specification is Part 1 of a four part standard for development
  66.    of a Public Key Infrastructure for the Internet.  This specification
  67.    is a standalone document; implementations of this standard may
  68.    proceed before completion of parts two through four.
  69.  
  70.    This specification profiles the format and semantics of certificates
  71.    and certificate revocation lists for the Internet PKI.  Procedures
  72.    are described for processing of certification paths in the Internet
  73.    environment.  Encoding rules are provided for popular cryptographic
  74.    algorithms.  Finally, a comprehensive ASN.1 module is provided in the
  75.    appendices for all data structure defined or referenced.
  76.  
  77.    The specification presents profiles of the X.509 version 3
  78.    certificate and version 2 certificate revocation lists. The profiles
  79.    include the identification of ISO and ANSI extensions which may be
  80.    useful in the Internet PKI and definition of new extensions to meet
  81.    the Internet's requirements. The profiles are presented in the 1988
  82.    Abstract Syntax Notation One (ASN.1) rather than the 1993 syntax used
  83.    in the ISO standards.
  84.  
  85.    This specification also includes path validation procedures.  These
  86.    procedures are based upon the ISO definition, but incorporate the
  87.    Internet defined extensions.  Implementations are required to derive
  88.    the same results but are not required to use the specified
  89.    procedures.
  90.  
  91.    Finally, the specification describes procedures for identification
  92.    and encoding of public key materials and digital signatures.
  93.    Implementations are not required to use any particular cryptographic
  94.    algorithms.  However, conforming implementations which use the
  95.    identified algorithms are required to identify and encode the public
  96.    key materials and digital signatures as described.
  97.  
  98.    An Appendix is provided containing all ASN.1 structures defined or
  99.    referenced within this specification.  As above, the material is
  100.    presented in the 1988 Abstract Syntax Notation One (ASN.1) rather
  101.    than the 1993 syntax.
  102.  
  103. 2  Requirements and Assumptions
  104.  
  105.    Goal is to develop a profile and associated management structure to
  106.    facilitate the adoption/use of X.509 certificates within Internet
  107.    applications for those communities wishing to make use of X.509
  108.    technology. Such applications may include WWW, electronic mail, user
  109.    authentication, and IPSEC, as well as others.  In order to relieve
  110.    some of the obstacles to using X.509 certificates, this document
  111.  
  112.  
  113.  
  114. Housley, Ford, Polk, & Solo                                     [Page 2]
  115.  
  116.  
  117.  
  118.  
  119.  
  120. INTERNET DRAFT                                             March 26 1996
  121.  
  122.  
  123.    defines a profile to promote the development of certificate
  124.    management systems; development of application tools; and
  125.    interoperability determined by policy, as opposed to syntax.
  126.  
  127.    Some communities will need to supplement, or possibly replace, this
  128.    profile in order to meet the requirements of specialized application
  129.    domains or environments with additional authorization, assurance, or
  130.    operational requirements.  However, for basic applications, common
  131.    representations of frequently used attributes are defined so that
  132.    application developers can obtain necessary information without
  133.    regard to the issuer of a particular certificate or certificate
  134.    revocation list (CRL).
  135.  
  136.    As supplemental authorization and attribute management tools emerge,
  137.    such as attribute certificates, it may be appropriate to limit the
  138.    authenticated attributes that are included in a certificate.  These
  139.    other management tools may be more appropriate method of conveying
  140.    many authenticated attributes.
  141.  
  142. 2.1  Communication and Topology
  143.  
  144.    The users of certificates will operate in a wide range of
  145.    environments with respect to their communication topology, especially
  146.    users of secure electronic mail.  This profile supports users without
  147.    high bandwidth, real-time IP connectivity, or high connection
  148.    availablity.  In addition, the profile allows for the presence of
  149.    firewall or other filtered communication.
  150.  
  151.    This profile does not assume the deployment of an X.500 Directory
  152.    system.  The profile does not prohibit the use of an X.500 Directory,
  153.    but other means of distributing certificates and certificate
  154.    revocation lists (CRLs) are supported.
  155.  
  156. 2.2  Acceptability Criteria
  157.  
  158.    The goal of the Internet Public Key Infrastructure (PKI) is to meet
  159.    the needs of deterministic, automated identification, authentication,
  160.    access control, and authorization functions. Support for these
  161.    services determines the attributes contained in the certificate as
  162.    well as the ancillary control information in the certificate such as
  163.    policy data and certification path constraints.
  164.  
  165. 2.3  User Expectations
  166.  
  167.    Users of the Internet PKI are people and processes who use client
  168.    software and are the subjects named in certificates.  These uses
  169.    include readers and writers of electronic mail, the clients for WWW
  170.    browsers, WWW servers, and the key manager for IPSEC within a router.
  171.  
  172.  
  173.  
  174. Housley, Ford, Polk, & Solo                                     [Page 3]
  175.  
  176.  
  177.  
  178.  
  179.  
  180. INTERNET DRAFT                                             March 26 1996
  181.  
  182.  
  183.    This profile recognizes the limitations of the platforms these users
  184.    employ and the sophistication/attentiveness of the users themselves.
  185.    This manifests itself in minimal user configuration responsibility
  186.    (e.g., root keys, rules), explicit platform usage constraints within
  187.    the certificate, certification path constraints which shield the user
  188.    from many malicious actions, and applications which sensibly automate
  189.    validation functions.
  190.  
  191. 2.4  Administrator Expectations
  192.  
  193.    As with users, the Internet PKI profile is structured to support the
  194.    individuals who generally operate Certification Authorities (CAs).
  195.    Providing administrators with unbounded choices increases the chances
  196.    that a subtle CA administrator mistake will result in broad
  197.    compromise.  Also, unbounded choices greatly complicates the software
  198.    that must process and validate the  certificates created by the CA.
  199.  
  200. 3  Overview of Approach
  201.  
  202.    Following is a simplified view of the architectural model assumed by
  203.    the PKIX specifications.
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234. Housley, Ford, Polk, & Solo                                     [Page 4]
  235.  
  236.  
  237.  
  238.  
  239.  
  240. INTERNET DRAFT                                             March 26 1996
  241.  
  242.  
  243.       +---+
  244.       | C |                       +------------+
  245.       | e | <-------------------->| End entity |
  246.       | r |       Operational     +------------+
  247.       | t |       transactions         ^
  248.       |   |      and management        |  Management
  249.       | / |       transactions         |  transactions
  250.       |   |                            |
  251.       | C |    PKI users               v
  252.       | R |             -------+-------+--------+------
  253.       | L |   PKI management   ^                ^
  254.       |   |      entities      |                |
  255.       |   |                    v                |
  256.       | R |                 +------+            |
  257.       | e | <-------------- | RA   | <-----+    |
  258.       | p |   certificate   |      |       |    |
  259.       | o |       publish   +------+       |    |
  260.       | s |                                |    |
  261.       | I |                                v    v
  262.       | t |                            +------------+
  263.       | o | <--------------------------|     CA     |
  264.       | r |   certificate publish      +------------+
  265.       | y |           CRL publish             ^
  266.       |   |                                   |
  267.       +---+                                   |    Management
  268.                                               |    transactions
  269.                                               v
  270.                                           +------+
  271.                                           |  CA  |
  272.                                           +------+
  273.  
  274.                           Figure 1 - PKI Entities
  275.  
  276.    The components in this model are:
  277.  
  278.    end entity:  user of PKI certificates and/or end user system that
  279.                 is the subject of a certificate;
  280.    CA:          certification authority;
  281.    RA:          registration authority, i.e., an optional system to
  282.                 which a CA delegates certain management functions;
  283.    repository:  a system or collection of distributed systems that
  284.                 store certificates and CRLs and serves as a means of
  285.                 distributing these certificates and CRLs to end
  286.                 entities.
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. Housley, Ford, Polk, & Solo                                     [Page 5]
  295.  
  296.  
  297.  
  298.  
  299.  
  300. INTERNET DRAFT                                             March 26 1996
  301.  
  302.  
  303. 3.1  X.509 Version 3 Certificate
  304.  
  305.    Application of public key technology requires the user of a public
  306.    key to be confident that the public key belongs to the correct remote
  307.    subject (person or system) with which an encryption or digital
  308.    signature mechanism will be used.  This confidence is obtained
  309.    through the use of public key certificates, which are data structures
  310.    that bind public key values to subjects.  The binding is achieved by
  311.    having a trusted certification authority (CA) digitally sign each
  312.    certificate.  A certificate has a limited valid lifetime which is
  313.    indicated in its signed contents.  Because a certificate's signature
  314.    and timeliness can be independently checked by a certificate-using
  315.    client, certificates can be distributed via untrusted communications
  316.    and server systems, and can be cached in unsecured storage in
  317.    certificate-using systems.
  318.  
  319.    The standard known as ITU-T X.509 (formerly CCITT X.509) or ISO/IEC
  320.    9594-8, which was first published in 1988 as part of the X.500
  321.    Directory recommendations, defines a standard certificate format. The
  322.    certificate format in the 1988 standard is called the version 1 (v1)
  323.    format.  When X.500 was revised in 1993, two more fields were added,
  324.    resulting in the version 2 (v2) format. These two fields are used to
  325.    support directory access control.
  326.  
  327.    The Internet Privacy Enhanced Mail (PEM) proposals, published in
  328.    1993, include specifications for a public key infrastructure based on
  329.    X.509 v1 certificates [RFC 1422].  The experience gained in attempts
  330.    to deploy RFC 1422 made it clear that the v1 and v2 certificate
  331.    formats are deficient in several respects.  Most importantly, more
  332.    fields were needed to carry information which PEM design and
  333.    implementation experience has proven necessary.  In response to these
  334.    new requirements, ISO/IEC and ANSI X9 developed the X.509 version 3
  335.    (v3) certificate format.  The v3 format extends the v2 format by
  336.    adding provision for additional extension fields.  Particular
  337.    extension field types may be specified in standards or may be defined
  338.    and registered by any organization or community. In June 1996,
  339.    standardization of the basic v3 format was completed [X.509-AM].
  340.  
  341.    ISO/IEC and ANSI X9 have also developed standard extensions for use
  342.    in the v3 extensions field [X.509-AM][X9.55].  These extensions can
  343.    convey such data as additional subject identification information,
  344.    key attribute information, policy information, and certification path
  345.    constraints.
  346.  
  347.    However, the ISO/IEC and ANSI standard extensions are very broad in
  348.    their applicability.  In order to develop interoperable
  349.    implementations of X.509 v3 systems for Internet use, it is necessary
  350.    to specify a profile for use of the X.509 v3 extensions tailored for
  351.  
  352.  
  353.  
  354. Housley, Ford, Polk, & Solo                                     [Page 6]
  355.  
  356.  
  357.  
  358.  
  359.  
  360. INTERNET DRAFT                                             March 26 1996
  361.  
  362.  
  363.    the Internet.  It is one goal of this document to specify a profile
  364.    for Internet WWW, electronic mail, and IPSEC applications.
  365.    Environments with additional requirements may build on this profile
  366.    or may replace it.
  367.  
  368. 3.2  Certification Paths and Trust
  369.  
  370.    A user of a security service requiring knowledge of a public key
  371.    generally needs to obtain and validate a certificate containing the
  372.    required public key.  If the public-key user does not already hold an
  373.    assured copy of the public key of the CA that signed the certificate,
  374.    then it might need an additional certificate to obtain that public
  375.    key.  In general, a chain of multiple certificates may be needed,
  376.    comprising a certificate of the public key owner (the end entity)
  377.    signed by one CA, and zero or more additional certificates of CAs
  378.    signed by other CAs.  Such chains, called certification paths, are
  379.    required because a public key user is only initialized with a limited
  380.    number of assured CA public keys.
  381.  
  382.    There are different ways in which CAs might be configured in order
  383.    for public key users to be able to find certification paths.  For
  384.    PEM, RFC 1422 defined a rigid hierarchical structure of CAs.  There
  385.    are three types of PEM certification authority:
  386.  
  387.    (a)  Internet Policy Registration Authority (IPRA):  This authority,
  388.    operated under the auspices of the Internet Society, acts as the root
  389.    of the PEM certification hierarchy at level 1.  It issues
  390.    certificates only for the next level of authorities, PCAs.  All
  391.    certification paths start with the IPRA.
  392.  
  393.    (b)  Policy Certification Authorities (PCAs):  PCAs are at level 2 of
  394.    the hierarchy, each PCA being certified by the IPRA.  A PCA must
  395.    establish and publish a statement of its policy with respect to
  396.    certifying users or subordinate certification authorities.  Distinct
  397.    PCAs aim to satisfy different user needs. For example, one PCA (an
  398.    organizational PCA) might support the general electronic mail needs
  399.    of commercial organizations, and another PCA (a high-assurance PCA)
  400.    might have a more stringent policy designed for satisfying legally
  401.    binding signature requirements.
  402.  
  403.    (c)  Certification Authorities (CAs):  CAs are at level 3 of the
  404.    hierarchy and can also be at lower levels. Those at level 3 are
  405.    certified by PCAs.  CAs represent, for example, particular
  406.    organizations, particular organizational units (e.g., departments,
  407.    groups, sections), or particular geographical areas.
  408.  
  409.    RFC 1422 furthermore has a name subordination rule which requires
  410.    that a CA can only issue certificates for entities whose names are
  411.  
  412.  
  413.  
  414. Housley, Ford, Polk, & Solo                                     [Page 7]
  415.  
  416.  
  417.  
  418.  
  419.  
  420. INTERNET DRAFT                                             March 26 1996
  421.  
  422.  
  423.    subordinate (in the X.500 naming tree) to the name of the CA itself.
  424.    The trust associated with a PEM certification  path is implied by the
  425.    PCA name. The name subordination rule ensures that CAs below the PCA
  426.    are sensibly constrained as to the set of subordinate entities they
  427.    can certify (e.g., a CA for an organization can only certify entities
  428.    in that organization's name tree). Certificate user systems are able
  429.    to mechanically check that the name subordination rule has been
  430.    followed.
  431.  
  432.    The RFC 1422 CA hierarchical model has been found to have several
  433.    deficiencies, including:
  434.  
  435.    (a)  The pure top-down hierarchy, with all certification paths
  436.    starting from the root, is too restrictive for many purposes.  For
  437.    some applications, verification of certification paths should start
  438.    with a public key of a CA in a user's own domain, rather than
  439.    mandating that verification commence at the top of a hierarchy. In
  440.    many environments, the local domain is often the most trusted.  Also,
  441.    initialization and key-pair-update operations can be more effectively
  442.    conducted between an end entity and a local management system.
  443.  
  444.    (b)  The name subordination rule introduces undesirable constraints
  445.    upon the X.500 naming system an organization may use.
  446.  
  447.    (c)  Use of the PCA concept requires knowledge of individual PCAs to
  448.    be built into certificate chain verification logic.  In the
  449.    particular case of Internet mail, this is not a major problem -- the
  450.    PCA name can always be displayed to the human user who can make a
  451.    decision as to what trust to imply from a particular chain.  However,
  452.    in many commercial applications, such as electronic commerce or EDI,
  453.    operator intervention to make policy decisions is impractical.  The
  454.    process needs to be automated to a much higher degree.  In fact, the
  455.    full process of certificate chain processing needs to be
  456.    implementable in trusted software.
  457.  
  458.    Because of the above shortcomings, it is proposed that more flexible
  459.    CA structures than the RFC 1422 hierarchy be supported by the PKIX
  460.    specifications.  In fact, the main reason for the structural
  461.    restrictions imposed by RFC 1422 was the restricted certificate
  462.    format provided with X.509 v1.  With X.509 v3, most of the
  463.    requirements addressed by RFC 1422 can be addressed using certificate
  464.    extensions, without a need to restrict the CA structures used.  In
  465.    particular, the certificate extensions relating to certificate
  466.    policies obviate the need for PCAs and the constraint extensions
  467.    obviate the need for the name subordination rule.
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474. Housley, Ford, Polk, & Solo                                     [Page 8]
  475.  
  476.  
  477.  
  478.  
  479.  
  480. INTERNET DRAFT                                             March 26 1996
  481.  
  482.  
  483. 3.3  Revocation
  484.  
  485.    When a certificate is issued, it is expected to be in use for its
  486.    entire validity period.  However, various circumstances may cause a
  487.    certificate to become invalid prior to the expiration of the validity
  488.    period. Such circumstances might include change of name, change of
  489.    association between subject and CA (e.g., an employee terminates
  490.    employment with an organization), and compromise or suspected
  491.    compromise of the corresponding private key.  Under such
  492.    circumstances, the CA needs to revoke the certificate.
  493.  
  494.    X.509 defines one method of certificate revocation.  This method
  495.    involves each CA periodically issuing a signed data structure called
  496.    a certificate revocation list (CRL).  A CRL is a time stamped list
  497.    identifying revoked certificates which is signed by a CA and made
  498.    freely available in a public repository.  Each revoked certificate is
  499.    identified in a CRL by its certificate serial number. When a
  500.    certificate-using system uses a certificate (e.g., for verifying a
  501.    remote user's digital signature), that system not only checks the
  502.    certificate signature and validity but also acquires a suitably-
  503.    recent CRL and checks that the certificate serial number is not on
  504.    that CRL.  The meaning of "suitably-recent" may vary with local
  505.    policy, but it usually means the most recently-issued CRL.  A CA
  506.    issues a new CRL on a regular periodic basis (e.g., hourly, daily, or
  507.    weekly).  Entries are added to CRLs as revocations occur, and an
  508.    entry may be removed when the certificate expiration date is reached.
  509.  
  510.    An advantage of this revocation method is that CRLs may be
  511.    distributed by exactly the same means as certificates themselves,
  512.    namely, via untrusted communications and server systems.
  513.  
  514.    One limitation of the CRL revocation method, using untrusted
  515.    communications and servers, is that the time granularity of
  516.    revocation is limited to the CRL issue period.  For example, if a
  517.    revocation is reported now, that revocation will not be reliably
  518.    notified to certificate-using systems until the next periodic CRL is
  519.    issued -- this may be up to one hour, one day, or one week depending
  520.    on the frequency that the CA issues CRLs.
  521.  
  522.    Another potential problem with CRLs is the risk of a CRL growing to
  523.    an entirely unacceptable size.  In the 1988 and 1993 versions of
  524.    X.509, the CRL for the end-user certificates needed to cover the
  525.    entire population of end-users for one CA.  It is desirable to allow
  526.    such populations to be in the range of thousands, tens of thousands,
  527.    or possibly even hundreds of thousands of users. The end-user CRL is
  528.    therefore at risk of growing to such sizes, which present major
  529.    communication and storage overhead problems.  With the version 2 CRL
  530.    format, introduced along with the v3 certificate format, it becomes
  531.  
  532.  
  533.  
  534. Housley, Ford, Polk, & Solo                                     [Page 9]
  535.  
  536.  
  537.  
  538.  
  539.  
  540. INTERNET DRAFT                                             March 26 1996
  541.  
  542.  
  543.    possible to arbitrarily divide the population of certificates for one
  544.    CA into a number of partitions, each partition being associated with
  545.    one CRL distribution point (e.g., directory entry or URL) from which
  546.    CRLs are distributed.  Therefore, the maximum CRL size can be
  547.    controlled by a CA.  Separate CRL distribution points can also exist
  548.    for different revocation reasons.  For example, routine revocations
  549.    (e.g., name change) may be placed on a different CRL to revocations
  550.    resulting from suspected key compromises, and policy may specify that
  551.    the latter CRL be updated and issued more frequently than the former.
  552.  
  553.    As with the X.509 v3 certificate format, in order to facilitate
  554.    interoperable implementations from multiple vendors, the X.509 v2 CRL
  555.    format needs to be profiled for Internet use.  It is one goal of this
  556.    document to specify that profile.
  557.  
  558.    Furthermore, it is recognized that on-line methods of revocation
  559.    notification may be applicable in some environments as an alternative
  560.    to the X.509 CRL.  On-line revocation checking eliminates the latency
  561.    between a revocation report and CRL the next issue.  Once the
  562.    revocation is reported, any query to the on-line service will
  563.    correctly reflect the certificate validation impacts of the
  564.    revocation.  However, these methods impose new security requirements;
  565.    the certificate validator must trust the on-line validation service
  566.    while the repository did not need to be trusted.
  567.  
  568.    Therefore, this profile also considers standard approaches to on-line
  569.    revocation notification.  Part 2 of the PKIX series of specifications
  570.    defines a set of standard message formats supporting these functions.
  571.    The protocols for conveying these messages in different environments
  572.    are also specified.
  573.  
  574. 3.4  Operational Protocols
  575.  
  576.    Operational protocols are required to deliver certificates and CRLs
  577.    to certificate using client systems. Provision is needed for a
  578.    variety of different means of certificate and CRL delivery, including
  579.    request/delivery procedures based on E-mail, http, X.500, and
  580.    WHOIS++.  These specifications include definitions of, and/or
  581.    references to, message formats and procedures for supporting all of
  582.    the above operational environments, including definitions of or
  583.    references to appropriate MIME content types.
  584.  
  585. 3.5  Management Protocols
  586.  
  587.    Management protocols are required to support on-line interactions
  588.    between Public Key Infrastructure (PKI) components.  For example,
  589.    management protocol might be used between a CA and a client system
  590.    with which a key pair is associated, or between two CAs which cross-
  591.  
  592.  
  593.  
  594. Housley, Ford, Polk, & Solo                                    [Page 10]
  595.  
  596.  
  597.  
  598.  
  599.  
  600. INTERNET DRAFT                                             March 26 1996
  601.  
  602.  
  603.    certify each other.  The set of functions which potentially need to
  604.    be supported by management protocols include:
  605.  
  606.    (a)  registration:  This is the process whereby a user first makes
  607.    itself known to a CA (directly, or through an LRA), prior to that CA
  608.    issuing  a certificate or certificates for that user.
  609.  
  610.    (b)  initialization:  Before a client system can operate securely it
  611.    is necessary to install in it necessary key materials which have the
  612.    appropriate relationship with keys stored elsewhere in the
  613.    infrastructure.  For example, the client needs to be securely
  614.    initialized with the public key of a CA, to be used in validating
  615.    certificate paths.  Furthermore, a client typically needs to be
  616.    initialized with its own key pair(s).
  617.  
  618.    (c)  certification:  This  is the process in which a CA issues a
  619.    certificate for a user's public key, and returns that certificate to
  620.    the user's client system and/or posts that certificate in a
  621.    repository.
  622.  
  623.    (d)  key pair recovery:  As an option, user client key materials
  624.    (e.g., a user's private key used for encryption purposes) may be
  625.    backed up by a CA or a key backup system.  If a user needs to recover
  626.    these backed up key materials (e.g., as a result of a forgotten
  627.    password or a lost key chain file), an on-line protocol exchange may
  628.    be needed to support such recovery.
  629.  
  630.    (e)  key pair update:  All key pairs need to be updated regularly,
  631.    i.e., replaced with a new key pair, and new certificates issued.
  632.  
  633.    (f)  revocation request:  An authorized person advises a CA of an
  634.    abnormal situation requiring certificate revocation.
  635.  
  636.    (g)  cross-certification:  Two CAs exchange the information necessary
  637.    to establish cross-certificates between those CAs.
  638.  
  639.    Note that on-line protocols are not the only way of implementing the
  640.    above functions.  For all functions there are off-line methods of
  641.    achieving the same result, and this specification does not mandate
  642.    use of on- line protocols.  For example, when hardware tokens are
  643.    used, many of the functions may be achieved through as part of the
  644.    physical token delivery.  Furthermore, some of the above functions
  645.    may be combined into one protocol exchange.  In particular, two or
  646.    more of the registration, initialization, and certification functions
  647.    can be combined into one protocol exchange.
  648.  
  649.    Part 3 of the PKIX series of specifications defines a set of standard
  650.    message formats supporting the above functions.  The protocols for
  651.  
  652.  
  653.  
  654. Housley, Ford, Polk, & Solo                                    [Page 11]
  655.  
  656.  
  657.  
  658.  
  659.  
  660. INTERNET DRAFT                                             March 26 1996
  661.  
  662.  
  663.    conveying these messages in different environments (on-line, e-mail,
  664.    and WWW) are also specified in Part 3.
  665.  
  666. 4  Certificate and Certificate Extensions Profile
  667.  
  668.    This section presents a profile for public key certificates that will
  669.    foster interoperability and a reusable public key infrastructure.
  670.    This section is based upon the X.509 V3 certificate format
  671.    [COR95][X.509-AM] and the standard certificate extensions defined in
  672.    the Amendment [X.509-AM].  The ISO documents use the 1993 version of
  673.    ASN.1; while this document uses the 1988 ASN.1 syntax, the encoded
  674.    certificate and standard extensions are equivalent.  This section
  675.    also defines private extensions required to support a public key
  676.    infrastructure for the Internet community.
  677.  
  678.    Certificates may be used in a wide range of applications and
  679.    environments covering a broad spectrum of interoperability goals and
  680.    a broader spectrum of operational and assurance requirements.  The
  681.    goal of this document is to establish a common baseline for generic
  682.    applications requiring broad interoperability and limited special
  683.    purpose requirements.  In particular, the emphasis will be on
  684.    supporting the use of X.509 v3 certificates for informal internet
  685.    electronic mail, IPSEC, and WWW applications.  Other efforts are
  686.    looking at certificate profiles for payment systems.
  687.  
  688. 4.1  Basic Certificate Fields
  689.  
  690.    The X.509 v3 certificate basic syntax is as follows.  For signature
  691.    calculation, the certificate is encoded using the ASN.1 distinguished
  692.    encoding rules (DER) [X.208].  ASN.1 DER encoding is a tag, length,
  693.    value encoding system for each element.
  694.  
  695.    Certificate  ::=  SEQUENCE  {
  696.         tbsCertificate       TBSCertificate,
  697.         signatureAlgorithm   AlgorithmIdentifier,
  698.         signature            BIT STRING  }
  699.  
  700.    TBSCertificate  ::=  SEQUENCE  {
  701.         version         [0]  EXPLICIT Version DEFAULT v1,
  702.         serialNumber         CertificateSerialNumber,
  703.         signature            AlgorithmIdentifier,
  704.         issuer               Name,
  705.         validity             Validity,
  706.         subject              Name,
  707.         subjectPublicKeyInfo SubjectPublicKeyInfo,
  708.         issuerUniqueID  [1]  IMPLICIT UniqueIdentifier OPTIONAL,
  709.                              -- If present, version must be v2 or v3
  710.         subjectUniqueID [2]  IMPLICIT UniqueIdentifier OPTIONAL,
  711.  
  712.  
  713.  
  714. Housley, Ford, Polk, & Solo                                    [Page 12]
  715.  
  716.  
  717.  
  718.  
  719.  
  720. INTERNET DRAFT                                             March 26 1996
  721.  
  722.  
  723.                              -- If present, version must be v2 or v3
  724.         extensions      [3]  EXPLICIT Extensions OPTIONAL
  725.                              -- If present, version must be v3
  726.         }
  727.  
  728.    Version  ::=  INTEGER  {  v1(0), v2(1), v3(2)  }
  729.  
  730.    CertificateSerialNumber  ::=  INTEGER
  731.  
  732.    Validity ::= SEQUENCE {
  733.         notBefore      CertificateValidityDate,
  734.         notAfter       CertificateValidityDate }
  735.  
  736.    CertificateValidityDate ::= CHOICE {
  737.         utcTime        UTCTime,
  738.         generalTime    GeneralizedTime }
  739.  
  740.    UniqueIdentifier  ::=  BIT STRING
  741.  
  742.    SubjectPublicKeyInfo  ::=  SEQUENCE  {
  743.         algorithm            AlgorithmIdentifier,
  744.         subjectPublicKey     BIT STRING  }
  745.  
  746.    Extensions  ::=  SEQUENCE OF Extension
  747.  
  748.    Extension  ::=  SEQUENCE  {
  749.         extnID      OBJECT IDENTIFIER,
  750.         critical    BOOLEAN DEFAULT FALSE,
  751.         extnValue   OCTET STRING  }
  752.  
  753.    The following items describe a proposed use of the X.509 v3
  754.    certificate for the Internet.
  755.  
  756. 4.1.1  Certificate Fields
  757.  
  758.    The Certificate is a SEQUENCE of three required fields. The fields
  759.    are are described in detail in the following subsections
  760.  
  761. 4.1.1.1  tbsCertificate
  762.  
  763.    The first field in the sequence is the tbsCertificate.  This is a
  764.    itself a sequence, and contains the names of the subject and issuer,
  765.    a public key associated with the subject an expiration date, and
  766.    other associated information.  The fields of the basic tbsCertificate
  767.    are described in detail in section 4.1.2; the tbscertificate may also
  768.    include extensions which are described in section 4.2.
  769.  
  770.  
  771.  
  772.  
  773.  
  774. Housley, Ford, Polk, & Solo                                    [Page 13]
  775.  
  776.  
  777.  
  778.  
  779.  
  780. INTERNET DRAFT                                             March 26 1996
  781.  
  782.  
  783. 4.1.1.2  signatureAlgorithm
  784.  
  785.    The signatureAlgorithm field contains the algorithm identifier for
  786.    the algorithm used by the CA to sign the certificate.  Section 7.2
  787.    lists the supported signature algorithms.
  788.  
  789.    This field should contain the same algorithm identifier as the field
  790.    signature in the sequence tbsCertificate (see section 4.1.2.3)
  791.  
  792. 4.1.1.3  signature
  793.  
  794.    The signature field contains a digital signature computed upon the
  795.    ASN.1 DER encoded TBSCertificate.  The ASN.1 DER encoded
  796.    TBSCertificate is used as the input to a one-way hash function.  The
  797.    one-way hash function output value is ASN.1 encoded as an OCTET
  798.    STRING and the result is encrypted (e.g., using RSA Encryption) to
  799.    form the signed quantity.  This signature value is then ASN.1 encoded
  800.    as a BIT STRING and included in the Certificate's signature field.
  801.  
  802.    By generating this signature, a CA certifies the validity of the
  803.    information in tbscertificate.  In particular, the CA certifies the
  804.    binding between the public key material and the subject of the
  805.    certificate.
  806.  
  807. 4.1.2  TBSCertificate
  808.  
  809.    The sequence TBSCertificate is a sequence which contains information
  810.    associated with the subject of the certificate and the CA who issued
  811.    it.  Every TBSCertificate contains the names of the subject and
  812.    issuer, a public key associated with the subject, an expiration date,
  813.    a version number and a serial number; some will contain optional
  814.    unique identifier fields.  The remainder of this section describes
  815.    the syntax and semantics of these fields.  A TBSCertificate may also
  816.    include extensions.  Extensions for the Internet PKI are described in
  817.    Section 4.2.
  818.  
  819. 4.1.2.1  Version
  820.  
  821.    This field describes the version of the encoded certificate.  When
  822.    extensions are used, as expected in this profile, use X.509 version 3
  823.    (value is 2).  If no extensions are present, but a UniqueIdentifier
  824.    is present, use version 2 (value is 1).  If only basic fields are
  825.    present, use version 1 (the value is omitted from the certificate as
  826.    the default value).
  827.  
  828.    Implementations should be prepared to accept any version certificate.
  829.    In particular, at a minimum, implementations must recognize version 3
  830.    certificates; determine whether any critical extensions are present;
  831.  
  832.  
  833.  
  834. Housley, Ford, Polk, & Solo                                    [Page 14]
  835.  
  836.  
  837.  
  838.  
  839.  
  840. INTERNET DRAFT                                             March 26 1996
  841.  
  842.  
  843.    and accept certificates without critical extensions even if they
  844.    don't recognize any extensions.  A certificate with an unrecognized
  845.    critical extension must always be rejected.
  846.  
  847.    Generation of version 2 certificates is not expected by
  848.    implementations based on this profile.
  849.  
  850. 4.1.2.2  Serial number
  851.  
  852.    The serial number is an integer assigned by the certification
  853.    authority to each certificate.  It must be unique for each
  854.    certificate issued by a given CA (i.e., the issuer name and serial
  855.    number identify a unique certificate).
  856.  
  857. 4.1.2.3  Signature
  858.  
  859.    This field contains the algorithm identifier for the algorithm used
  860.    by the CA to sign the certificate.  Section 7.2 lists the supported
  861.    signature algorithms.
  862.  
  863. 4.1.2.4  Issuer Name
  864.  
  865.    The issuer name identifies the entity who has signed (and issued the
  866.    certificate).  The issuer identity may be carried in the issuer name
  867.    field and/or the issuerAltName extension.  If identity information is
  868.    present only in the issuerAltName extension, then the issuer name may
  869.    be an empty sequence and the issuerAltName extension must be
  870.    critical.
  871.  
  872. 4.1.2.5  Validity
  873.  
  874.    This field indicates the dates on which the certificate becomes valid
  875.    (notBefore) and on which the certificate ceases to be valid
  876.    (notAfter).  Both notBefore and notAfter may be encoded as UTCTime or
  877.    GeneralizedTime.
  878.  
  879.    CAs conforming to this profile shall always encode validity dates
  880.    through the year 2049 as UTCTime; validity dates in 2050 or later
  881.    shall be encoded as GeneralizedTime.
  882.  
  883. 4.1.2.5.1  UTCTime
  884.  
  885.    The universal time type, UTCTime, is a standard ASN.1 type intended
  886.    for international applications where local time alone is not
  887.    adequate. UTCTime specifies the year through the two low order digits
  888.    and time is specified to the precision of one minute or one second.
  889.    UTCTime includes either Z (for Zulu, or Greenwich Mean Time) or a
  890.    time differential.
  891.  
  892.  
  893.  
  894. Housley, Ford, Polk, & Solo                                    [Page 15]
  895.  
  896.  
  897.  
  898.  
  899.  
  900. INTERNET DRAFT                                             March 26 1996
  901.  
  902.  
  903.    For the purposes of this profile, UTCTime values shall be expressed
  904.    Greenwich Mean Time (Zulu) and shall include< seconds (i.e., times
  905.    are YYMMDDHHMMSSZ), even where the number of seconds is zero.
  906.    Conforming systems shall interpret the year field (YY) as follows:
  907.  
  908.       Where YY is greater than 50, the year shall be interpreted as
  909.       19YY; and
  910.  
  911.       Where YY is less than or equal to 50, the year shall be
  912.       interpreted as 20YY.
  913.  
  914. 4.1.2.5.2  GeneralizedTime
  915.  
  916.    The generalized time type, GeneralizedTime, is a standard ASN.1 type
  917.    for variable precision representation of time.  Optionally, the
  918.    GeneralizedTime field can include a representation of the time
  919.    differential between local and Greenwich Mean Time.
  920.  
  921.    For the purposes of this profile, GeneralizedTime values shall be
  922.    expressed Greenwich Mean Time (Zulu) and shall include seconds (i.e.,
  923.    times are YYYYMMDDHHMMSSZ), even where the number of seconds is zero.
  924.    GeneralizedTime values shall not include fractional seconds.
  925.  
  926. 4.1.2.6  Subject Name
  927.  
  928.    The subject name identifies the entity associated with the public key
  929.    stored in the subject public key field. The subject identity may be
  930.    carried in the subject field and/or the subjectAltName extension.  If
  931.    identity information is present only in the subjectAltName extension
  932.    (e.g., a key bound only to an email address or URI), then the subject
  933.    name may be an empty sequence and the subjectAltName extension must
  934.    be critical.
  935.  
  936. 4.1.2.7  Subject Public Key Info
  937.  
  938.    This field is used to carry the public key and identify the algorithm
  939.    with which the key is used.
  940.  
  941. 4.1.2.8  Unique Identifiers
  942.  
  943.    The subject and issuer unique identifier are present in the
  944.    certificate to handle the possibility of reuse of subject and/or
  945.    issuer names over time.  This profile recommends that names not be
  946.    reused and that Internet certificates not make use of unique
  947.    identifiers.  CAs conforming to this profile should not generate
  948.    certificates with unique identifiers.  Applications conforming to
  949.    this profile should be capable of parsing unique identifiers and
  950.    making comparisons.
  951.  
  952.  
  953.  
  954. Housley, Ford, Polk, & Solo                                    [Page 16]
  955.  
  956.  
  957.  
  958.  
  959.  
  960. INTERNET DRAFT                                             March 26 1996
  961.  
  962.  
  963. 4.2  Certificate Extensions
  964.  
  965.    The extensions defined for X.509 v3 certificates provide methods for
  966.    associating additional attributes with users or public keys, for
  967.    managing the certification hierarchy, and for managing CRL
  968.    distribution.  The X.509 v3 certificate format also allows
  969.    communities to define private extensions to carry information unique
  970.    to those communities.  Each extension in a certificate may be
  971.    designated as critical or non-critical.  A certificate using system
  972.    (an application validating a certificate) must reject the certificate
  973.    if it encounters a critical extension it does not recognize.  A non-
  974.    critical extension may be ignored if it is not recognized.  The
  975.    following presents recommended extensions used within Internet
  976.    certificates and standard locations for information.  Communities may
  977.    elect to use additional extensions; however, caution should be
  978.    exercised in adopting any critical extensions in certificates which
  979.    might be used in a general context.
  980.  
  981.    Each extension includes an object identifier and an ASN.1 structure.
  982.    When an extension appears in a certificate, the object identifier
  983.    appears as the field extnID and the corresponding ASN.1 encoded
  984.    structure is the value of the bit string extnValue.  Only one
  985.    instance of a particular extension may appear in a particular
  986.    certificate. For example, a certificate may contain only one
  987.    authority key identifier extension (4.2.1.1).  An extension may also
  988.    include the optional boolean critical; critical's default value is
  989.    FALSE.  The text for each extension specifies the acceptable values
  990.    for the critical field.
  991.  
  992.    Conforming CAs are required to support the Basic Constraints
  993.    extension (Section 4.2.1.10), the keyUsage extension (4.2.1.3) and
  994.    certificatePolicies extension (4.2.1.5). If the CA issues
  995.    certificates with an empty sequence for the subject field, the CA
  996.    must support the altSubjectName extension.  If the CA issues
  997.    certificates with an empty sequence for the issuer field, the CA must
  998.    support the altIssuerName extension.  Support for the remaining
  999.    extensions is optional. Conforming CAs may support extensions that
  1000.    are not identified within this specification; certificate issuers are
  1001.    cautioned that marking such extensions as critical may inhibit
  1002.    interoperability.
  1003.  
  1004.    At a minimum, applications conforming to this profile shall recognize
  1005.    extensions which shall or may be critical. These extensions are:  key
  1006.    usage (4.2.1.3), certificate policies (4.2.1.5), the alternative
  1007.    subject name (4.2.1.7), issuer alternative name (4.2.1.8), basic
  1008.    constraints (4.2.1.10), name constraints (4.2.1.11), and policy
  1009.    constraints (4.2.1.12).
  1010.  
  1011.  
  1012.  
  1013.  
  1014. Housley, Ford, Polk, & Solo                                    [Page 17]
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020. INTERNET DRAFT                                             March 26 1996
  1021.  
  1022.  
  1023.    In addition, this profile recommends support for key identifiers
  1024.    (4.2.1.1 and 4.2.1.2), CRL distribution points (4.2.1.13), and
  1025.    authority information access (4.2.2.2).
  1026.  
  1027. 4.2.1  Standard Extensions
  1028.  
  1029.    This section identifies standard certificate extensions defined in
  1030.    [X.509-AM] for use in the Internet Public Key Infrastructure.  Each
  1031.    extension is associated with an object identifier defined in [X.509-
  1032.    AM].  These object identifiers are members of the
  1033.    certificateExtension arc, which is defined by the following:
  1034.  
  1035.    certificateExtension  OBJECT IDENTIFIER ::=  {joint-iso-ccitt(2) ds(5) 29}
  1036.    id-ce                 OBJECT IDENTIFIER ::=  certificateExtension
  1037.  
  1038.    4.2.1.1  Authority Key Identifier
  1039.  
  1040.    The authority key identifier extension provides a means of
  1041.    identifying the particular public key used to sign a certificate.
  1042.    This extension would be used where an issuer has multiple signing
  1043.    keys (either due to multiple concurrent key pairs or due to
  1044.    changeover).  In general, this extension should be included in
  1045.    certificates.
  1046.  
  1047.    The identification can be based on either the key identifier (the
  1048.    subject key identifier in the issuer's certificate) or on the issuer
  1049.    name and serial number.  The key identifier method is recommended in
  1050.    this profile. Conforming CAs that generate this extension shall
  1051.    include or omit both authorityCertIssuer and
  1052.    authorityCertSerialNumber. If authorityCertIssuer and
  1053.    authorityCertSerialNumber are omitted, the keyIdentifier field shall
  1054.    be present.
  1055.  
  1056.    This extension shall not be marked critical.
  1057.  
  1058.    id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 35 }
  1059.  
  1060.    AuthorityKeyIdentifier ::= SEQUENCE {
  1061.         keyIdentifier                   [0] KeyIdentifier               OPTIONAL,
  1062.         authorityCertIssuer             [1] GeneralNames                OPTIONAL,
  1063.         authorityCertSerialNumber       [2] CertificateSerialNumber     OPTIONAL
  1064.     }
  1065.  
  1066.    KeyIdentifier ::= OCTET STRING
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074. Housley, Ford, Polk, & Solo                                    [Page 18]
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080. INTERNET DRAFT                                             March 26 1996
  1081.  
  1082.  
  1083. 4.2.1.2  Subject Key Identifier
  1084.  
  1085.    The subject key identifier extension provides a means of identifying
  1086.    the particular public key used in an application.  Where a reference
  1087.    to a public key identifier is needed (as with an Authority Key
  1088.    Identifier) and one is not included in the associated certificate, a
  1089.    SHA-1 hash of the subject public key shall be used.  The hash shall
  1090.    be calculated over the value (excluding tag and length) of the
  1091.    subject public key field in the certificate.  This extension should
  1092.    be marked non-critical.
  1093.  
  1094.    id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 14 }
  1095.  
  1096.    SubjectKeyIdentifier ::= KeyIdentifier
  1097.  
  1098. 4.2.1.3  Key Usage
  1099.  
  1100.    The key usage extension defines the purpose (e.g., encipherment,
  1101.    signature, certificate signing) of the key contained in the
  1102.    certificate.  The usage restriction might be employed when a
  1103.    multipurpose key is to be restricted (e.g., when an RSA key should be
  1104.    used only for signing or only for key encipherment).  The profile
  1105.    recommends that when used, this be marked as a critical extension.
  1106.  
  1107.    id-ce-keyUsage OBJECT IDENTIFIER ::=  { id-ce 15 }
  1108.  
  1109.    KeyUsage ::= BIT STRING {
  1110.         digitalSignature        (0),
  1111.         nonRepudiation          (1),
  1112.         keyEncipherment         (2),
  1113.         dataEncipherment        (3),
  1114.         keyAgreement            (4),
  1115.         keyCertSign             (5),
  1116.         cRLSign                 (6) }
  1117.  
  1118. 4.2.1.4  Private Key Usage Period
  1119.  
  1120.    The private key usage period extension allows the certificate issuer
  1121.    to specify a different validity period for the private key than the
  1122.    certificate. This extension is intended for use with digital
  1123.    signature keys.  This extension consists of two optional components
  1124.    notBefore and notAfter.  The private key associated with the
  1125.    certificate should not be used to sign objects before or after the
  1126.    times specified by the two components, respectively. CAs conforming
  1127.    to this profile shall not generate certificates with private key
  1128.    usage period extensions unless at least one of the two components is
  1129.    present.
  1130.  
  1131.  
  1132.  
  1133.  
  1134. Housley, Ford, Polk, & Solo                                    [Page 19]
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140. INTERNET DRAFT                                             March 26 1996
  1141.  
  1142.  
  1143.    This profile recommends against the use of this extension.  CAs
  1144.    conforming to this profile shall not generate certificates with
  1145.    critical private key usage period extensions. Where used, notBefore
  1146.    and notAfter are represented as GeneralizedTime and shall be
  1147.    specified and interpreted as defined in Section 4.1.2.5.2.
  1148.  
  1149.    id-ce-privateKeyUsagePeriod OBJECT IDENTIFIER ::=  { id-ce 16 }
  1150.  
  1151.    PrivateKeyUsagePeriod ::= SEQUENCE {
  1152.         notBefore       [0]     GeneralizedTime OPTIONAL,
  1153.         notAfter        [1]     GeneralizedTime OPTIONAL }
  1154.  
  1155. 4.2.1.5  Certificate Policies
  1156.  
  1157.    The certificate policies extension contains a sequence of policy
  1158.    information terms, each of which consists of an object identifier
  1159.    (OID) and optional qualifiers.  These policy information terms
  1160.    indicate the policy under which the certificate has been issued and
  1161.    the purposes for which the certificate may be used.  This profile
  1162.    strongly recommends that a simple OID be present in this field.
  1163.    Optional qualifiers which may be present are expected to provide
  1164.    information about obtaining CA rules, not change the definition of
  1165.    the policy.
  1166.  
  1167.    Applications with specific policy requirements are expected to have a
  1168.    list of those policies which they will accept and to compare the
  1169.    policy OIDs in the certificate to that list.  If this extension is
  1170.    critical, the path validation software must be able to interpret this
  1171.    extension, or must reject the certificate.  (Applications are free to
  1172.    ignore the policy field, even if the extension is marked critical.)
  1173.  
  1174.    This specification defines two policy qualifiers types for use by
  1175.    certificate policy writers and certificate issuers at their own
  1176.    discretion. The qualifier types are the CPS Pointer qualifier, and
  1177.    the User Notice qualifier.
  1178.  
  1179.    The CPS Pointer qualifier contains a pointer to a Certification
  1180.    Practice Statement (CPS) published by the CA.  The pointer is in the
  1181.    form of a URI.
  1182.  
  1183.    The User Notice qualifier contains a text string that is to be
  1184.    displayed to a certificate user (including subscribers and relying
  1185.    parties) prior to the use of the certificate.  The text string may be
  1186.    an VisibleString (visible characters from International Alphabet 5
  1187.    plus space) or a BMPString - a subset of the ISO 100646-1 multiple
  1188.    octet coded character set.  A CA may invoke a procedure that requires
  1189.    that the certficate user acknowledge that the applicable terms and
  1190.    conditions have been disclosed or accepted.
  1191.  
  1192.  
  1193.  
  1194. Housley, Ford, Polk, & Solo                                    [Page 20]
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200. INTERNET DRAFT                                             March 26 1996
  1201.  
  1202.  
  1203.    id-ce-certificatePolicies OBJECT IDENTIFIER ::=  { id-ce 32 }
  1204.  
  1205.    certificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
  1206.  
  1207.    PolicyInformation ::= SEQUENCE {
  1208.         policyIdentifier   CertPolicyId,
  1209.         policyQualifiers   SEQUENCE SIZE (1..MAX) OF
  1210.                 PolicyQualifierInfo OPTIONAL }
  1211.  
  1212.    CertPolicyId ::= OBJECT IDENTIFIER
  1213.  
  1214.    PolicyQualifierInfo ::= SEQUENCE {
  1215.         policyQualifierId   PolicyQualifierId,
  1216.         qualifier           ANY DEFINED BY policyQualifierId }
  1217.  
  1218.    -- policyQualifierIds for Internet policy qualifiers
  1219.  
  1220.    id-pkix-cps      OBJECT IDENTIFIER ::=  { pkix 4 }
  1221.    id-pkix-unotice  OBJECT IDENTIFIER ::=  { pkix 5 }
  1222.  
  1223.    PolicyQualifierId ::= ENUMERATED { id-pkix-cps, id-pkix-unotice }
  1224.  
  1225.    Qualifier ::= CHOICE {
  1226.         cPSuri    CPSuri,
  1227.         userNotice     UserNotice }
  1228.  
  1229.    CPSuri ::= IA5String
  1230.  
  1231.    UserNotice ::= CHOICE {
  1232.      visibleString     VisibleString,
  1233.      bmpString         BMPString }
  1234.  
  1235. 4.2.1.6  Policy Mappings
  1236.  
  1237.    This extension is used in CA certificates.  It lists pairs of
  1238.    objectidentifiers; each pair includes an issuerDomainPolicy and a
  1239.    subjectDomainPolicy. The pairing indicates the issuing CA considers
  1240.    its issuerDomainPolicy equivalent to the subject CA's
  1241.    subjectDomainPolicy.
  1242.  
  1243.    The issuing CA's users may accept an issuerDomainPolicy for certain
  1244.    applications. The policy mapping tells the issuing CA's users which
  1245.    policies associated with the subject CA are comparable to the policy
  1246.    they accept.
  1247.  
  1248.    This extension may be supported by CAs and/or applications, and it is
  1249.    always non-critical.
  1250.  
  1251.  
  1252.  
  1253.  
  1254. Housley, Ford, Polk, & Solo                                    [Page 21]
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260. INTERNET DRAFT                                             March 26 1996
  1261.  
  1262.  
  1263.    id-ce-policyMappings OBJECT IDENTIFIER ::=  { id-ce 33 }
  1264.  
  1265.    PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
  1266.         issuerDomainPolicy      CertPolicyId,
  1267.         subjectDomainPolicy     CertPolicyId }
  1268.  
  1269. 4.2.1.7  Subject Alternative Name
  1270.  
  1271.    The subject alternative names extension allows additional identities
  1272.    to be bound to the subject of the certificate.  Defined options
  1273.    include an rfc822 name (electronic mail address), a DNS name, an IP
  1274.    address, and a URI.  Other options exist, including completely local
  1275.    definitions.  Multiple instances of a name and multiple name forms
  1276.    may be included.  Whenever such identities are to be bound into a
  1277.    certificate, the subject alternative name (or issuer alternative
  1278.    name) extension shall be used.  (Note: a form of such an identifier
  1279.    may also be present in the subject distinguished name; however, the
  1280.    alternative name extension is the preferred location for finding such
  1281.    information.)
  1282.  
  1283.    Further, if the only subject identity included in the certificate is
  1284.    an alternative name form (e.g., an electronic mail address), then the
  1285.    subject distinguished name shall be empty (an empty sequence), and
  1286.    the subjectAltName extension shall be present. If the subject field
  1287.    contains an empty sequence, the subjectAltName extension shall be
  1288.    marked critical.
  1289.  
  1290.    Where the subjectAltName extension contains a
  1291.    uniformResourceIdentifier, this name the following semantics shall be
  1292.    assumed: the URI is a pointer to a sequence of certificates issued by
  1293.    this CA (and optionally other CAs) to this subject.
  1294.  
  1295.    The URI must be an absolute, not relative, pathname and must specify
  1296.    the host.  This specification recognizes the following values for the
  1297.    URI scheme:  ftp, http, ldap, and mailto.  The mailto scheme
  1298.    indicates that mail sent to the specified address will generate an
  1299.    electronic mail response (to the sender) containing the subject's
  1300.    certificates.  No message is required.  If the URI scheme is ftp,
  1301.    then the information is available through anonymous ftp.  If the URI
  1302.    scheme is http or ldap, then the information may be retrieved using
  1303.    that protocol.
  1304.  
  1305.    (If the URI specifies any other scheme, contains a relative pathname,
  1306.    or omits the  host, the semantics are not defined by this
  1307.    specification.)
  1308.  
  1309.    Alternative names may be constrained in the same manner as subject
  1310.    distinguished names using the name constraints extension as described
  1311.  
  1312.  
  1313.  
  1314. Housley, Ford, Polk, & Solo                                    [Page 22]
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320. INTERNET DRAFT                                             March 26 1996
  1321.  
  1322.  
  1323.    in section 4.2.1.11.
  1324.  
  1325.    id-ce-subjectAltName OBJECT IDENTIFIER ::=  { id-ce 17 }
  1326.  
  1327.    SubjectAltName ::= GeneralNames
  1328.  
  1329.    GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
  1330.  
  1331.    GeneralName ::= CHOICE {
  1332.         otherName                       [0]     anotherName,
  1333.         rfc822Name                      [1]     IA5String,
  1334.         dNSName                         [2]     IA5String,
  1335.         x400Address                     [3]     ORAddress,
  1336.         directoryName                   [4]     Name,
  1337.         ediPartyName                    [5]     EDIPartyName,
  1338.         uniformResourceIdentifier       [6]     IA5String,
  1339.         iPAddress                       [7]     OCTET STRING,
  1340.         registeredID                    [8]     OBJECT IDENTIFIER }
  1341.  
  1342.    anotherName  ::= SEQUENCE {
  1343.         type-id    OBJECT IDENTIFER,
  1344.         value      [0] EXPLICIT ANY DEFINED BY type-id
  1345.                  }
  1346.  
  1347.  
  1348.    EDIPartyName ::= SEQUENCE {
  1349.         nameAssigner            [0]     DirectoryString OPTIONAL,
  1350.         partyName               [1]     DirectoryString }
  1351.  
  1352. 4.2.1.8  Issuer Alternative Name
  1353.  
  1354.    As with 4.2.1.7, this extension is used to associate Internet style
  1355.    identities with the certificate issuer.  If the only issuer identity
  1356.    included in the certificate is an alternative name form (e.g., an
  1357.    electronic mail address), then the issuer distinguished name shall be
  1358.    empty (an empty sequence), and the issuerAltName extension shall be
  1359.    present. If the subject field contains an empty sequence, the
  1360.    issuerAltName extension shall be marked critical.
  1361.  
  1362.    Where the issuerAltName extension contains a URI, the following
  1363.    semantics shall be assumed: the URI is a pointer to a sequence of
  1364.    certificates issued to this CA (and optionally other CAs).  The
  1365.    expected values for the URI are those defined in 4.2.1.7. Processing
  1366.    rules for other values are not defined by this specification.
  1367.  
  1368.    id-ce-issuerAltName OBJECT IDENTIFIER ::=  { id-ce 18 }
  1369.  
  1370.    IssuerAltName ::= GeneralNames
  1371.  
  1372.  
  1373.  
  1374. Housley, Ford, Polk, & Solo                                    [Page 23]
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380. INTERNET DRAFT                                             March 26 1996
  1381.  
  1382.  
  1383. 4.2.1.9  Subject Directory Attributes
  1384.  
  1385.    The subject directory attributes extension is not recommended as an
  1386.    essential part of this profile, but it may
  1387.    be used in local environments.  This extension is always non-critical.
  1388.  
  1389.    id-ce-subjectDirectoryAttributes OBJECT IDENTIFIER ::=  { id-ce 9 }
  1390.  
  1391.    SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
  1392.  
  1393. 4.2.1.10  Basic Constraints
  1394.  
  1395.    The basic constraints extension identifies whether the subject of the
  1396.    certificate is a CA and how deep a certification path may exist
  1397.    through that CA.  This profile requires the use of this extension,
  1398.    and it shall be critical for all certificates issued to CAs.
  1399.  
  1400.    id-ce-basicConstraints OBJECT IDENTIFIER ::=  { id-ce 19 }
  1401.  
  1402.    BasicConstraints ::= SEQUENCE {
  1403.         cA                      BOOLEAN DEFAULT FALSE,
  1404.         pathLenConstraint       INTEGER (0..MAX) OPTIONAL }
  1405.  
  1406. 4.2.1.11  Name Constraints
  1407.  
  1408.    The name constraints extension provides permitted and excluded
  1409.    subtrees that place restrictions on names that may be included within
  1410.    a certificate issued by a given CA.  Restrictions may apply to the
  1411.    subject distinguished name or subject alternative names.  Any name
  1412.    matching a restriction in the excluded subtrees field is invalid
  1413.    regardless of information appearing in the permitted subtrees. This
  1414.    extension may be critical or non-critical.
  1415.  
  1416.    Restrictions for the rfc822, dNSName, and uri name forms are all
  1417.    expressed in terms of strings with wild card matching.  An "*" is the
  1418.    wildcard character.  The minimum and maximum fields in general
  1419.    subtree are not used for these name forms.  For uris and rfc822
  1420.    names, the restriction applies to the host part of the name.
  1421.    Examples would be foo.bar.com; www*.bar.com; *.xyz.com.
  1422.  
  1423.    Restrictions of the form directoryName shall be applied to the
  1424.    subject field in the certificate and to the subjectAltName extensions
  1425.    of type directoryName.  Restrictions of the form x400Address shall be
  1426.    applied to subjectAltName extensions of type x400Address.
  1427.  
  1428.    The syntax and semantics for name constraints for otherName,
  1429.    ediPartyName, and registeredID are not defined by this specification.
  1430.  
  1431.  
  1432.  
  1433.  
  1434. Housley, Ford, Polk, & Solo                                    [Page 24]
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440. INTERNET DRAFT                                             March 26 1996
  1441.  
  1442.  
  1443.    id-ce-nameConstraints OBJECT IDENTIFIER ::=  { id-ce 30 }
  1444.  
  1445.    NameConstraints ::= SEQUENCE {
  1446.         permittedSubtrees       [0]     GeneralSubtrees OPTIONAL,
  1447.         excludedSubtrees        [1]     GeneralSubtrees OPTIONAL }
  1448.  
  1449.    GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
  1450.  
  1451.    GeneralSubtree ::= SEQUENCE {
  1452.         base                    GeneralName,
  1453.         minimum         [0]     BaseDistance DEFAULT 0,
  1454.         maximum         [1]     BaseDistance OPTIONAL }
  1455.  
  1456.    BaseDistance ::= INTEGER (0..MAX)
  1457.  
  1458. 4.2.1.12  Policy Constraints
  1459.  
  1460.    The policy constraints extension can be used in certificates issued
  1461.    to CAs.  The policy constraints extension constrains path validation
  1462.    in two ways. It can be used to prohibit policy mapping or limit the
  1463.    set of policies that can in subsequent certificates. This extension
  1464.    may be critical or non-critical.
  1465.  
  1466.    id-ce-policyConstraints OBJECT IDENTIFIER ::=  { id-ce 34 }
  1467.  
  1468.    PolicyConstraints ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
  1469.         policySet                       [0] CertPolicySet OPTIONAL,
  1470.         requireExplicitPolicy           [1] SkipCerts OPTIONAL,
  1471.         inhibitPolicyMapping            [2] SkipCerts OPTIONAL }
  1472.  
  1473.    SkipCerts ::= INTEGER (0..MAX)
  1474.  
  1475.    CertPolicySet ::= SEQUENCE SIZE (1..MAX) OF CertPolicyId
  1476.  
  1477. 4.2.1.13  CRL Distribution Points
  1478.  
  1479.    The CRL distribution points extension identifies how CRL information
  1480.    is obtained.  The extension shall be non-critical, but this profile
  1481.    recommends support for this extension by CAs and applications.
  1482.    Further discussion of CRL management is contained in section 5.
  1483.  
  1484.    If the cRLDistributionPoints extension contains a
  1485.    DistributionPointName of type URI, the following semantics shall be
  1486.    assumed: the URI is a pointer to the current CRL for the associated
  1487.    reasons and will be issued by the associated cRLIssuer.  The expected
  1488.    values for the URI are those defined in 4.2.1.7. Processing rules for
  1489.    other values are not defined by this specification.  If the
  1490.    distributionPoint omits reasons, the CRL shall include revocations
  1491.  
  1492.  
  1493.  
  1494. Housley, Ford, Polk, & Solo                                    [Page 25]
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500. INTERNET DRAFT                                             March 26 1996
  1501.  
  1502.  
  1503.    for all reasons. If the distributionPoint omits cRLIssuer, the CRL
  1504.    shall be issued by the CA that issued the certificate.
  1505.  
  1506.    id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::=  { id-ce 31 }
  1507.  
  1508.    cRLDistributionPoints ::= {
  1509.         CRLDistPointsSyntax }
  1510.  
  1511.    CRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
  1512.  
  1513.    DistributionPoint ::= SEQUENCE {
  1514.         distributionPoint       [0]     DistributionPointName OPTIONAL,
  1515.         reasons                 [1]     ReasonFlags OPTIONAL,
  1516.         cRLIssuer               [2]     GeneralNames OPTIONAL }
  1517.  
  1518.    DistributionPointName ::= CHOICE {
  1519.         fullName                [0]     GeneralNames,
  1520.         nameRelativeToCRLIssuer [1]     RelativeDistinguishedName }
  1521.  
  1522.    ReasonFlags ::= BIT STRING {
  1523.         unused                  (0),
  1524.         keyCompromise           (1),
  1525.         cACompromise            (2),
  1526.         affiliationChanged      (3),
  1527.         superseded              (4),
  1528.         cessationOfOperation    (5),
  1529.         certificateHold         (6) }
  1530.  
  1531. 4.2.2  Private Internet Extensions
  1532.  
  1533.    This section defines two new extensions for use in the Internet
  1534.    Public Key Infrastructure.  These extensions may be used to direct
  1535.    applications to additional information about the certificate's
  1536.    subject or identify an on-line validation service supporting the
  1537.    issuing CA.  As the information may be available in multiple forms,
  1538.    each extension is a sequence of IA5String values, each of which
  1539.    represents a URI.  The URI implicitly specifies the location and
  1540.    format of the information and the method for obtaining the
  1541.    information.
  1542.  
  1543.    Object identifiers are defined for each of the private extensions.
  1544.    The object identifiers associated with the private extensions are
  1545.    defined under the iso (1), org (3), dod (6), internet (1),
  1546.    security(5) or 1.3.6.1.5, branch of the name space.
  1547.  
  1548.    The following ASN.1 defines object identifiers which may be used by
  1549.    applications that implement the private extensions; additional access
  1550.    methods may be used, but the semantics are undefined by this
  1551.  
  1552.  
  1553.  
  1554. Housley, Ford, Polk, & Solo                                    [Page 26]
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560. INTERNET DRAFT                                             March 26 1996
  1561.  
  1562.  
  1563.    document.
  1564.  
  1565.    pkix  OBJECT IDENTIFIER ::= { 1 3 6 1 5 5 7 }
  1566.  
  1567. 4.2.2.1  Subject Information Access
  1568.  
  1569.    The name information in the certificate identifies the entity to
  1570.    which the public key is bound.  In some instances, it may also be
  1571.    necessary to know where to find additional information about the
  1572.    named entity.  In the case of X.500 names, this relationship is
  1573.    automatic.  The subject information access extension provides a means
  1574.    of identifying where and how to find information about the subject.
  1575.    The extension specifies a method of obtaining information and a
  1576.    general name form indicating where.  This extension shall always be
  1577.    non-critical.
  1578.  
  1579.    id-pkix-subjectInfoAccess OBJECT-IDENTIFIER ::= { pkix 1}
  1580.  
  1581.    -- subjectInfoAccess ::=  { SubjectInfoAccessSyntax }
  1582.  
  1583.    SubjectInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
  1584.  
  1585.    AccessDescription  ::=  SEQUENCE  {
  1586.         subjectInfo        GeneralName  }
  1587.  
  1588.    The subjectInfo field(s) contains a URI that describes the location,
  1589.    basic format, and access scheme for the additional information on the
  1590.    subject.  The URI must contain an absolute pathname and the host.
  1591.    This specification recognizes the following values for the URI
  1592.    scheme:  ftp, http, ldap, and mailto.  The mailto scheme indicates
  1593.    that mail sent to the specified address will generate an electronic
  1594.    mail response (to the sender) containing the subject information.  No
  1595.    message is required.
  1596.  
  1597.    If the URI scheme is ftp, then the information is available through
  1598.    anonymous ftp.  If the URI scheme is http or ldap, then the
  1599.    information may be retrieved using that protocol.
  1600.  
  1601. 4.2.2.2  Authority Information Access
  1602.  
  1603.    The authority information access extension indicates how to access CA
  1604.    information and services for the issuer of the certificate in which
  1605.    the extension appears.  Information and services include certificate
  1606.    status or on-line validation services, certificate retrieval, CA
  1607.    policy data, and CA certificates (certificates certifying the target
  1608.    CA to aid in certification path navigation).  This extension may be
  1609.    included in subject or CA certificates and is always non-critical.
  1610.  
  1611.  
  1612.  
  1613.  
  1614. Housley, Ford, Polk, & Solo                                    [Page 27]
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. INTERNET DRAFT                                             March 26 1996
  1621.  
  1622.  
  1623.    id-pkix-authorityInfoAccess OBJECT-IDENTIFIER ::= { pkix 2 }
  1624.  
  1625.    -- authorityInfoAccess ::=  { AuthorityInfoAccessSyntax  }
  1626.  
  1627.    AuthorityInfoAccessSyntax  ::=  SEQUENCE  {
  1628.         authorityInfo     [0] SEQUENCE OF GeneralName OPTIONAL,
  1629.         certStatus        [1] SEQUENCE OF GeneralName OPTIONAL }
  1630.  
  1631.    If certStatus is present, each entry in that sequence describes a
  1632.    mechanism and location for on-line verification of the status of this
  1633.    certificate.
  1634.  
  1635.    If authorityInfo is present, each entry in the sequence describes how
  1636.    to retrieve additional information about the CA who issued the
  1637.    certificate in which this extension appears.
  1638.  
  1639.    If the certStatus sequence has more than one value, conforming
  1640.    applications are not required to process all the values. Successful
  1641.    connection and querying of one on-line validation service shall be
  1642.    sufficient.  It is the responsibility of the certificate issuer to
  1643.    ensure all mechanisms provide the same information.
  1644.  
  1645.    The expected values for CertStatus and authorityInfo are those
  1646.    defined in 4.2.2.1 for subjectInfo field. Processing rules for other
  1647.    values for certStatus and authorityInfo are not defined.
  1648.  
  1649. 5  CRL and CRL Extensions Profile
  1650.  
  1651.    As described above, one goal of this X.509 v2 CRL profile is to
  1652.    foster the creation of an interoperable and reusable Internet PKI.
  1653.    To achieve this goal, guidelines for the use of extensions are
  1654.    specified, and some assumptions are made about the nature of
  1655.    information included in the CRL.
  1656.  
  1657.    CRLs may be used in a wide range of applications and environments
  1658.    covering a broad spectrum of interoperability goals and an even
  1659.    broader spectrum of operational and assurance requirements.  This
  1660.    profile establishes a common baseline for generic applications
  1661.    requiring broad interoperability.  Emphasis is placed on support for
  1662.    X.509 v2 CRLs.  The profile defines a baseline set of information
  1663.    that can be expected in every CRL.  Also, the profile defines common
  1664.    locations within the CRL for frequently used attributes, and common
  1665.    representations for these attributes.
  1666.  
  1667.    This profile does not define any private Internet CRL extensions or
  1668.    CRL entry extensions.
  1669.  
  1670.    Environments with additional or special purpose requirements may
  1671.  
  1672.  
  1673.  
  1674. Housley, Ford, Polk, & Solo                                    [Page 28]
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. INTERNET DRAFT                                             March 26 1996
  1681.  
  1682.  
  1683.    build on this profile or may replace it.
  1684.  
  1685.    Conforming CAs are not required to issue CRLs if other revocation or
  1686.    status mechanisms are provided.  Conforming CAs that issue CRLs are
  1687.    required to issue version 2 CRLs.  Conforming applications are
  1688.    required to process version 1 and 2 certificates.
  1689.  
  1690. 5.1  CRL Fields
  1691.  
  1692.    The X.509 v2 CRL syntax is as follows.  For signature calculation,
  1693.    the data that is to be signed is ASN.1 DER encoded.  ASN.1 DER
  1694.    encoding is a tag, length, value encoding system for each element.
  1695.  
  1696.    CertificateList  ::=  SEQUENCE  {
  1697.         tbsCertList          TBSCertList,
  1698.         signatureAlgorithm   AlgorithmIdentifier,
  1699.         signature            BIT STRING  }
  1700.  
  1701.    TBSCertList  ::=  SEQUENCE  {
  1702.         version                 Version OPTIONAL,
  1703.                                      -- if present, must be v2
  1704.         signature               AlgorithmIdentifier,
  1705.         issuer                  Name,
  1706.         thisUpdate              ChoiceOfTime,
  1707.         nextUpdate              ChoiceOfTime,
  1708.         revokedCertificates     SEQUENCE OF SEQUENCE  {
  1709.              userCertificate         CertificateSerialNumber,
  1710.              revocationDate          ChoiceOfTime,
  1711.              crlEntryExtensions      Extensions OPTIONAL
  1712.                                                  -- if present, must be v2
  1713.                                   }  OPTIONAL,
  1714.         crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
  1715.                                                  -- if present, must be v2
  1716.                                   }
  1717.  
  1718.    ChoiceOfTime ::= CHOICE {
  1719.         utcTime        UTCTime,
  1720.         generalTime    GeneralizedTime }
  1721.  
  1722.    Version  ::= INTEGER  {  v1(0), v2(1), v3(2)  }
  1723.  
  1724.    AlgorithmIdentifier  ::=  SEQUENCE  {
  1725.         algorithm               OBJECT IDENTIFIER,
  1726.         parameters              ANY DEFINED BY algorithm OPTIONAL  }
  1727.                                      -- contains a value of the type
  1728.                                      -- registered for use with the
  1729.                                      -- algorithm object identifier value
  1730.  
  1731.  
  1732.  
  1733.  
  1734. Housley, Ford, Polk, & Solo                                    [Page 29]
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740. INTERNET DRAFT                                             March 26 1996
  1741.  
  1742.  
  1743.    CertificateSerialNumber  ::=  INTEGER
  1744.  
  1745.    Extensions  ::=  SEQUENCE OF Extension
  1746.  
  1747.    Extension  ::=  SEQUENCE  {
  1748.         extnId                  OBJECT IDENTIFIER,
  1749.         critical                BOOLEAN DEFAULT FALSE,
  1750.         extnValue               OCTET STRING  }
  1751.                                      -- contains a DER encoding of a value
  1752.                                      -- of the type registered for use with
  1753.                                      -- the extnId object identifier value
  1754.  
  1755.    The following items describe the proposed use of the X.509 v2 CRL in
  1756.    the Internet PKI.
  1757.  
  1758. 5.1.1  CertificateList Fields
  1759.  
  1760.    The CertificateList is a SEQUENCE of three required fields. The
  1761.    fields are are described in detail in the following subsections
  1762.  
  1763. 5.1.1.1  tbsCertList
  1764.  
  1765.    The first field in the sequence is the tbsCertList.  This is a itself
  1766.    a sequence, and is generally thought of as the X.509 CRL. It contains
  1767.    the names of the subject and issuer, a public key associated with the
  1768.    subject an expiration date, and other associated information.  The
  1769.    fields of the basic tbsCertificate are described in detail in section
  1770.    4.1.2; the tbscertificate may also include extensions which are
  1771.    described in section 4.2.
  1772.  
  1773. 5.1.1.2  signatureAlgorithm
  1774.  
  1775.    The signatureAlgorithm field contains the algorithm identifier for
  1776.    the algorithm used by the CA to sign the CertificateList.  Section
  1777.    7.2 lists the supported signature algorithms.
  1778.  
  1779. 5.1.1.3  signature
  1780.  
  1781.    The signature field contains a digital signature computed upon the
  1782.    ASN.1 DER encoded TBSCertList.  The ASN.1 DER encoded  TBSCertificate
  1783.    is used as the input to a one-way hash function.  The one-way hash
  1784.    function output value is ASN.1 encoded as an OCTET STRING and the
  1785.    result is encrypted (e.g., using RSA Encryption) to form the signed
  1786.    quantity.  This signature value is then ASN.1 encoded as a BIT STRING
  1787.    and included in the Certificate's signature field.
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794. Housley, Ford, Polk, & Solo                                    [Page 30]
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800. INTERNET DRAFT                                             March 26 1996
  1801.  
  1802.  
  1803. 5.1.2  Certificate List "To Be Signed"
  1804.  
  1805.    The certificate list to be signed, or tBSCertList, is a SEQUENCE of
  1806.    required and optional fields.  The required fields identify the CRL
  1807.    issuer, the algorithm used to sign the CRL, the date and time the CRL
  1808.    was issued, and the date and time by which the CA will issue the next
  1809.    CRL.
  1810.  
  1811.    Optional fields include lists of revoked certificates and CRL
  1812.    extensions.  The revoked certificate list is optional to support the
  1813.    special case where a CA has not revoked any unexpired certificates it
  1814.    has issued.  It is expected that nearly all CRLs issued in the
  1815.    Internet PKI will contain one or more lists of revoked certificates.
  1816.    Similarly, the profile requires conforming CAs to use of one CRL
  1817.    extension (CRL number) in all CRLs issued.
  1818.  
  1819. 5.1.2.1  Version
  1820.  
  1821.    This field describes the version of the encoded CRL.  When extensions
  1822.    are used, as expected in this profile, use version 2 (the integer
  1823.    value is 1).  If neither CRL extensions nor CRL entry extensions are
  1824.    present, version 1 CRLs are recommended (e.g., the integer value
  1825.    should be omitted).
  1826.  
  1827. 5.1.2.2  Signature
  1828.  
  1829.    This field contains the algorithm identifier for the algorithm used
  1830.    to sign the CRL.  Section 7.2 lists the signature algorithms used in
  1831.    the Internet PKI.
  1832.  
  1833. 5.1.2.3  Issuer Name
  1834.  
  1835.    The issuer name identifies the entity who has signed (and issued the
  1836.    CRL).  The issuer identity may be carried in the issuer name field
  1837.    and/or the issuerAltName extension.  If identity information is
  1838.    present only in the issuerAltName extension, then the issuer name may
  1839.    be an empty sequence and the issuerAltName extension must be
  1840.    critical.
  1841.  
  1842. 5.1.2.4  This Update
  1843.  
  1844.    This field indicates the issue date of this CRL. ThisUpdate may be
  1845.    encoded as UTCTime or GeneralizedTime.
  1846.  
  1847.    CAs conforming to this profile that issue CRLs shall encode
  1848.    thisUpdate as UTCTime for dates through the year 2049 as UTCTime. CAs
  1849.    conforming to this profile that issue CRLs shall encode thisUpdate as
  1850.    GeneralizedTime for dates in the year 2050 or later.
  1851.  
  1852.  
  1853.  
  1854. Housley, Ford, Polk, & Solo                                    [Page 31]
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860. INTERNET DRAFT                                             March 26 1996
  1861.  
  1862.  
  1863.    Where encoded as UTCTime, thisUpdate shall be specified and
  1864.    interpreted as defined in Section 4.1.2.5.1.  Where encoded as
  1865.    GeneralizedTime, thisUpdate shall be specified and interpreted as
  1866.    defined in Section 4.1.2.5.2.
  1867.  
  1868. 5.1.2.5  Next Update
  1869.  
  1870.    This field indicates the date by which the next CRL will be issued.
  1871.    The next CRL could be issued before the indicated date, but it will
  1872.    not be issued any later than the indicated date. nextUpdate may be
  1873.    encoded as UTCTime or GeneralizedTime.
  1874.  
  1875.    CAs conforming to this profile that issue CRLs shall encode
  1876.    nextUpdate as UTCTime for dates through the year 2049 as UTCTime. CAs
  1877.    conforming to this profile that issue CRLs shall encode nextUpdate as
  1878.    GeneralizedTime for dates in the year 2050 or later.
  1879.  
  1880.    Where encoded as UTCTime, nextUpdate shall be specified and
  1881.    interpreted as defined in Section 4.1.2.5.1.  Where encoded as
  1882.    GeneralizedTime, nextUpdate shall be specified and interpreted as
  1883.    defined in Section 4.1.2.5.2.
  1884.  
  1885. 5.1.2.6  Revoked Certificates
  1886.  
  1887.    Revoked certificates are listed.  The revoked certificates are named
  1888.    by their serial numbers.  Certificates are uniquely identified by the
  1889.    combination of the issuer name or issuer alternative name along with
  1890.    the user certificate serial number.  The date on which the revocation
  1891.    occurred is specified.  The time for revocationDate shall be
  1892.    expressed as described in section 5.1.2.4. Additional information may
  1893.    be supplied in CRL entry extensions; CRL entry extensions are
  1894.    discussed in section 5.3.
  1895.  
  1896. 5.2  CRL Extensions
  1897.  
  1898.    The extensions defined by ANSI X9 and ISO for X.509 v2 CRLs [X.509-
  1899.    AM] [X9.55] provide methods for associating additional attributes
  1900.    with CRLs.  The X.509 v2 CRL format also allows communities to define
  1901.    private extensions to carry information unique to those communities.
  1902.    Each extension in a CRL may be designated as critical or non-
  1903.    critical.  A CRL validation must fail if it encounters an critical
  1904.    extension which it does not know how to process.  However, an
  1905.    unrecognized non-critical extension may be ignored.  The following
  1906.    presents those extensions used within Internet CRLs.  Communities may
  1907.    elect to include extensions in CRLs which are not defined in this
  1908.    specification. However, caution should be exercised in adopting any
  1909.    critical extensions in CRLs which might be used in a general context.
  1910.  
  1911.  
  1912.  
  1913.  
  1914. Housley, Ford, Polk, & Solo                                    [Page 32]
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920. INTERNET DRAFT                                             March 26 1996
  1921.  
  1922.  
  1923.    Conforming CAs that issue CRLs are required to support the CRL number
  1924.    extension (5.2.3), and include it in all CRLs issued. Conforming
  1925.    applications are required to support the critical and optionally
  1926.    critical CRL extensions issuer alternative name (5.2.2), issuing
  1927.    distribution point (5.2.4) and delta CRL indicator (5.2.5).
  1928.  
  1929. 5.2.1  Authority Key Identifier
  1930.  
  1931.    The authority key identifier extension provides a means of
  1932.    identifying the particular public key used to sign a CRL.  The
  1933.    identification can be based on either the key identifier (the subject
  1934.    key identifier in the CRL signer's certificate) or on the issuer name
  1935.    and serial number.  The key identifier method is recommended in this
  1936.    profile.  This extension would be used where an issuer has multiple
  1937.    signing keys, either due to multiple concurrent key pairs or due to
  1938.    changeover.  In general, this non-critical extension should be
  1939.    included in certificates.
  1940.  
  1941.    The syntax for this CRL extension is defined in Section 4.2.1.1.
  1942.  
  1943. 5.2.2  Issuer Alternative Name
  1944.  
  1945.    The issuer alternative names extension allows additional identities
  1946.    to be associated with the issuer of the CRL.  Defined options include
  1947.    an rfc822 name (electronic mail address), a DNS name, an IP address,
  1948.    and a URI.  Multiple instances of a name and multiple name forms may
  1949.    be included.  Whenever such identities are used, the issuer
  1950.    alternative name extension shall be used.
  1951.  
  1952.    Further, if the only issuer identity included in the CRL is an
  1953.    alternative name form (e.g., an electronic mail address), then the
  1954.    issuer distinguished name should be empty (an empty sequence), the
  1955.    issuerAltName extension should be used, and the issuerAltName
  1956.    extension must be marked critical. If more than one issuerAltName
  1957.    extension appears in the CRL and the issuer distinguished name is
  1958.    empty, exactly one issuerAltName extension must be marked critical.
  1959.  
  1960.    The object identifier and syntax for this CRL extension are defined
  1961.    in Section 4.2.1.8.
  1962.  
  1963. 5.2.3  CRL Number
  1964.  
  1965.    The CRL number is a non-critical CRL extension which conveys a
  1966.    monotonically increasing sequence number for each CRL issued by a
  1967.    given CA through a specific CA X.500 Directory entry or CRL
  1968.    distribution point.  This extension allows users to easily determine
  1969.    when a particular CRL supercedes another CRL.  CAs conforming to this
  1970.    profile shall include this extension in all CRLs.
  1971.  
  1972.  
  1973.  
  1974. Housley, Ford, Polk, & Solo                                    [Page 33]
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980. INTERNET DRAFT                                             March 26 1996
  1981.  
  1982.  
  1983.    id-ce-cRLNumber OBJECT IDENTIFIER ::= { id-ce 20 }
  1984.  
  1985.    cRLNumber ::= INTEGER (0..MAX)
  1986.  
  1987. 5.2.4  Issuing Distribution Point
  1988.  
  1989.    The issuing distribution point is a critical CRL extension that
  1990.    identifies the CRL distribution point for a particular CRL, and it
  1991.    indicates whether the CRL covers revocation for end entity
  1992.    certificates only, CA certificates only, or a limitied set of reason
  1993.    codes.  Since this extension is critical, all certificate users must
  1994.    be prepared to receive CRLs with this extension.
  1995.  
  1996.    The CRL is signed using the CA's private key.  CRL Distribution
  1997.    Points do not have their own key pairs.  If the CRL is stored in the
  1998.    X.500 Directory, it is stored in the Directory entry corresponding to
  1999.    the CRL distribution point, which may be different that the Directory
  2000.    entry of the CA.
  2001.  
  2002.    CRL distribution points, if used by a CA, should be partition the CRL
  2003.    on the basis of compromise and routine revocation.  That is, the
  2004.    revocations with reason code keyCompromise (1) shall appear in one
  2005.    distribution point, and the revocations with other reason codes shall
  2006.    appear in another distribution point.
  2007.  
  2008.    Where the issuingDistributionPoint extension contains a URL, this
  2009.    name the following semantics shall be assumed: the object is a
  2010.    pointer to the most current CRL issued by this CA.  The URI schemes
  2011.    ftp, http, mailto [RFC1738] and ldap [RFC1778] are defined for this
  2012.    purpose.  The URI must be an absolute, not relative, pathname and
  2013.    must specify the host.
  2014.  
  2015.    id-ce-issuingDistributionPoint OBJECT IDENTIFIER ::= { id-ce 28 }
  2016.  
  2017.    issuingDistributionPoint ::= SEQUENCE {
  2018.         distributionPoint       [0] DistributionPointName OPTIONAL,
  2019.         onlyContainsUserCerts   [1] BOOLEAN DEFAULT FALSE,
  2020.         onlyContainsCACerts     [2] BOOLEAN DEFAULT FALSE,
  2021.         onlySomeReasons         [3] ReasonFlags OPTIONAL,
  2022.         indirectCRL             [4] BOOLEAN DEFAULT FALSE }
  2023.  
  2024. 5.2.5  Delta CRL Indicator
  2025.  
  2026.    The delta CRL indicator is a critical CRL extension that identifies a
  2027.    delta-CRL.  The use of delta-CRLs can significantly improve
  2028.    processing time for applications which store revocation information
  2029.    in a format other than the CRL structure.  This allows changes to be
  2030.    added to the local database while ignoring unchanged information that
  2031.  
  2032.  
  2033.  
  2034. Housley, Ford, Polk, & Solo                                    [Page 34]
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040. INTERNET DRAFT                                             March 26 1996
  2041.  
  2042.  
  2043.    is already in the local databse.
  2044.  
  2045.    When a delta-CRL is issued, the CAs shall also issue a complete CRL.
  2046.  
  2047.    The value of BaseCRLNumber identifies the CRL number of the base CRL
  2048.    that was used as the starting point in the generation of this delta-
  2049.    CRL.  The delta-CRL contains the changes between the base CRL and the
  2050.    current CRL issued along with the delta-CRL.  It is the decision of a
  2051.    CA as to whether to provide delta-CRLs.  Again, a delta-CRL shall not
  2052.    be issued without a corresponding CRL.  The value of CRLNumber for
  2053.    both the delta-CRL and the corresponding CRL shall be identical.
  2054.  
  2055.    A CRL user constructing a locally held CRL from delta-CRLs shall
  2056.    consider the constructed CRL incomplete and unusable if the CRLNumber
  2057.    of the received delta-CRL is more that one greater that the CRLnumber
  2058.    of the delta-CRL last processed.
  2059.  
  2060.    id-ce-deltaCRLIndicator OBJECT IDENTIFIER ::= { id-ce 27 }
  2061.  
  2062.    deltaCRLIndicator ::= BaseCRLNumber
  2063.  
  2064.    BaseCRLNumber ::= CRLNumber
  2065.  
  2066. 5.3  CRL Entry Extensions
  2067.  
  2068.    The CRL entry extensions already defined by ANSI X9 and ISO for X.509
  2069.    v2 CRLs [X.509-AM] [X9.55] provide methods for associating additional
  2070.    attributes with CRL entries.  The X.509 v2 CRL format also allows
  2071.    communities to define private CRL entry extensions to carry
  2072.    information unique to those communities.  Each extension in a CRL
  2073.    entry may be designated as critical or non-critical.  A CRL
  2074.    validation must fail if it encounters a critical CRL entry extension
  2075.    which it does not know how to process.  However, an unrecognized
  2076.    non-critical CRL entry extension may be ignored.  The following
  2077.    presents recommended extensions used within Internet CRL entries and
  2078.    standard locations for information.  Communities may elect to use
  2079.    additional CRL entry extensions; however, caution should be exercised
  2080.    in adopting any critical extensions in CRL entries which might be
  2081.    used in a general context.
  2082.  
  2083.    All CRL entry extensions are non-critical; support for these
  2084.    extensions is optional for conforming CAs and applications.  However,
  2085.    CAs that issue CRLs are strongly encouraged to include reason codes
  2086.    (5.3.1) whenever this information is available.
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094. Housley, Ford, Polk, & Solo                                    [Page 35]
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100. INTERNET DRAFT                                             March 26 1996
  2101.  
  2102.  
  2103. 5.3.1  Reason Code
  2104.  
  2105.    The reasonCode is a non-critical CRL entry extension that identifies
  2106.    the reason for the certificate revocation. CAs are strongly
  2107.    encouraged to include reason codes in CRL entries; however, the
  2108.    reason code CRL entry extension should be absent instead of using the
  2109.    unspecified (0) reasonCode value.
  2110.  
  2111.    id-ce-cRLReason OBJECT IDENTIFIER ::= { id-ce 21 }
  2112.  
  2113.    -- reasonCode ::= { CRLReason }
  2114.  
  2115.    CRLReason ::= ENUMERATED {
  2116.         unspecified             (0),
  2117.         keyCompromise           (1),
  2118.         cACompromise            (2),
  2119.         affiliationChanged      (3),
  2120.         superseded              (4),
  2121.         cessationOfOperation    (5),
  2122.         certificateHold         (6),
  2123.         removeFromCRL           (8) }
  2124.  
  2125. 5.3.2  Hold Instruction Code
  2126.  
  2127.    The hold instruction code is a non-critical CRL entry extension that
  2128.    provides a registered instruction identifier which indicates the
  2129.    action to be taken after encountering a certificate that has been
  2130.    placed on hold.
  2131.  
  2132.    id-ce-holdInstructionCode OBJECT IDENTIFIER ::= { id-ce 23 }
  2133.  
  2134.    holdInstructionCode ::= OBJECT IDENTIFIER
  2135.  
  2136.    The following instruction codes have been defined.  Conforming applications
  2137.    that process this extension shall recognize the following instruction codes.
  2138.  
  2139.    holdInstruction    OBJECT IDENTIFIER ::=
  2140.                           { iso(1) member-body(2) us(840) x9-57(10040) 2 }
  2141.  
  2142.    id-holdinstruction-none       OBJECT IDENTIFIER ::= {holdInstruction 1}
  2143.    id-holdinstruction-callissuer OBJECT IDENTIFIER ::= {holdInstruction 2}
  2144.    id-holdinstruction-reject     OBJECT IDENTIFIER ::= {holdInstruction 3}
  2145.  
  2146.    Conforming applications which encounter a id-holdinstruction-
  2147.    callissuer must call the certificate issuer or reject the
  2148.    certificate.  Conforming applications which encounter a id-
  2149.    holdinstruction-reject ID shall reject the transaction. id-
  2150.    holdinstruction-none is semantically equivalent to the absence of a
  2151.  
  2152.  
  2153.  
  2154. Housley, Ford, Polk, & Solo                                    [Page 36]
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160. INTERNET DRAFT                                             March 26 1996
  2161.  
  2162.  
  2163.    holdInstructionCode.  Its use is strongly deprecated for the Internet
  2164.    PKI.
  2165.  
  2166. 5.3.3  Invalidity Date
  2167.  
  2168.    The invalidity date is a non-critical CRL entry extension that
  2169.    provides the date on which it is known or suspected that the private
  2170.    key was compromised or that the certificate otherwise became invalid.
  2171.    This date may be earlier than the revocation date in the CRL entry,
  2172.    but it must be later than the issue date of the previously issued
  2173.    CRL.  Remember that the revocation date in the CRL entry specifies
  2174.    the date that the CA revoked the certificate.  Whenever this
  2175.    information is available, CAs are strongly encouraged to share it
  2176.    with CRL users.
  2177.  
  2178.    The GeneralizedTime values included in this field shall be expressed
  2179.    in Greenwich Mean Time (Zulu), and shall be specified and interpreted
  2180.    as defined in Section 4.1.2.5.2.
  2181.  
  2182.    id-ce-invalidityDate OBJECT IDENTIFIER ::= { id-ce 24 }
  2183.  
  2184.    invalidityDate ::=  GeneralizedTime
  2185.  
  2186. 6  Certificate Path Validation
  2187.  
  2188.    Certification path validation procedures for the Internet PKI are
  2189.    based on Section 12.4.3 of [X.509-AM].
  2190.  
  2191.    Certification path processing verifies the binding between the
  2192.    subject distinguished name and subject public key.  The basic
  2193.    constraints and policy constraints extensions facilitate automated,
  2194.    self-contained implementation of certification path processing logic.
  2195.  
  2196.    The following is an outline of a procedure for validating
  2197.    certification paths.  An implementation shall be functionally
  2198.    equivalent to the external behaviour resulting from this procedure.
  2199.    Any algorithm may be used by a particular implementation so long as
  2200.    it derives the correct result.
  2201.  
  2202.    The inputs to the certification path processing procedure are:
  2203.  
  2204.       (a)  a set of certificates comprising a certification path;
  2205.  
  2206.       (b)  a CA name and trusted public key value (or an identifier of
  2207.       such a key if the key is stored internally to the certification
  2208.       path processing module) for use in verifying the first certificate
  2209.       in the certification path;
  2210.  
  2211.  
  2212.  
  2213.  
  2214. Housley, Ford, Polk, & Solo                                    [Page 37]
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220. INTERNET DRAFT                                             March 26 1996
  2221.  
  2222.  
  2223.       (c)  a set of initial-policy identifiers (each comprising a
  2224.       sequence of policy element identifiers), which identifies one or
  2225.       more certificate policies, any one of which would be acceptable
  2226.       for the purposes of certification path processing; and
  2227.  
  2228.       (d)  the current date/time (if not available internally to the
  2229.       certification path processing module).
  2230.  
  2231.    The outputs of the procedure are:
  2232.  
  2233.       (a)  an indication of success or failure of certification path
  2234.       validation;
  2235.  
  2236.       (b)  if validation failed, a reason for failure; and
  2237.  
  2238.       (c)  if validation was successful, a (possibly empty) set of
  2239.       policy qualifiers obtained from CAs on the path.
  2240.  
  2241.    The procedure makes use of the following set of state variables:
  2242.  
  2243.       (a)  acceptable policy set:  A set of certificate policy
  2244.       identifiers comprising the policy or policies recognized by the
  2245.       public key user together with policies deemed equivalent through
  2246.       policy mapping;
  2247.  
  2248.       (b)  constrained subtrees:  A set of root names defining a set of
  2249.       subtrees within which all subject names in subsequent certificates
  2250.       in the certification path shall fall; if no restriction is in
  2251.       force this state variable takes the special value unbounded; and
  2252.  
  2253.       (c)  excluded subtrees:  A set of root names defining a set of
  2254.       subtrees within which no subject name in subsequent certificates
  2255.       in the certification path may fall; if no restriction is in force
  2256.       this state variable takes the special value empty.
  2257.  
  2258.       The procedure involves an initialization step, followed by a
  2259.       series of certificate-processing steps.  The initialization step
  2260.       comprises:
  2261.  
  2262.       (a)  Initialize the constrained subtress to unbounded;
  2263.  
  2264.       (b)  Initialize the excluded subtrees indicator to empty; and
  2265.  
  2266.       (c)  Initialize the acceptable policy set to the set of initial-
  2267.       policy identifiers.
  2268.  
  2269.    Each certificate is then processed in turn, starting with the
  2270.    certificate signed using the trusted CA public key which was input to
  2271.  
  2272.  
  2273.  
  2274. Housley, Ford, Polk, & Solo                                    [Page 38]
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280. INTERNET DRAFT                                             March 26 1996
  2281.  
  2282.  
  2283.    this procedure.  The last certificate is processed as an end-entity
  2284.    certificate; all other certificates (if any) are processed as CA-
  2285.    certificates.
  2286.  
  2287.    The following checks are applied to all certificates:
  2288.  
  2289.       (a)  Check that the signature verifies, that dates are valid, that
  2290.       the subject and issuer names chain correctly, and that the
  2291.       certificate has not been revoked;
  2292.  
  2293.       If the certificate has an empty sequence in the name field, name
  2294.       chaining will use the critical altSubjectNames and altIssuerNames
  2295.       fields. If the certificate has a critical authorityInfoAccess or
  2296.       caInfoAccess extension, the information in that extension must be
  2297.       used to determine the status of the certificates.
  2298.  
  2299.       (b)  If a key usage restriction extension is present in the
  2300.       certificate and contains a certPolicySet component, check that at
  2301.       least one member of the acceptable policy set appears in the
  2302.       field;
  2303.  
  2304.       (c)  Check that the subject name or critical AltSubjectName
  2305.       extension is consistent with the constrained subtrees state
  2306.       variables; and
  2307.  
  2308.       (d)  Check that the subject name or critical AltSubjectName
  2309.       extension is consistent with the excluded subtrees state
  2310.       variables.
  2311.  
  2312.    If any one of the above checks fails, the procedure terminates,
  2313.    returning a failure indication and an appropriate reason.  If none of
  2314.    the above checks fail on the end-entity certificate, the procedure
  2315.    terminates, returning a success indication together with the set of
  2316.    all policy qualifier values encountered in the set of certificates.
  2317.  
  2318.    For a CA-certificate, the following constraint recording actions are
  2319.    then performed, in order to correctly set up the state variables for
  2320.    the processing of the next certificate:
  2321.  
  2322.       (a)  If permittedSubtrees is present in the certificate, set the
  2323.       constrained subtrees state variable to the intersection of its
  2324.       previous value and the value indicated in the extension field.
  2325.  
  2326.       (b)  If excludedSubtrees is present in the certificate, set the
  2327.       excluded subtrees state variable to the union of its previous
  2328.       value and the value indicated in the extension field.
  2329.  
  2330.       Note:  It is possible to specify an extended version of the above
  2331.  
  2332.  
  2333.  
  2334. Housley, Ford, Polk, & Solo                                    [Page 39]
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340. INTERNET DRAFT                                             March 26 1996
  2341.  
  2342.  
  2343.       certification path processing procedure which results in default
  2344.       behaviour identical to the rules of Privacy Enhanced Mail [RFC
  2345.       1422].  In this extended version, additional inputs to the
  2346.       procedure are a list of one or more Policy Certification Authority
  2347.       (PCA) names and an indicator of the position in the certification
  2348.       path where the PCA is expected.  At the nominated PCA position,
  2349.       the CA name is compared against this list.  If a recognized PCA
  2350.       name is found, then a constraint of SubordinateToCA is implicitly
  2351.       assumed for the remainder of the certification path and processing
  2352.       continues.  If no valid PCA name is found, and if the
  2353.       certification path cannot be validated on the basis of identified
  2354.       policies, then the certification path is considered invalid.
  2355.  
  2356. 7  Algorithm Support
  2357.  
  2358.    This section describes cryptographic algorithms which may be used
  2359.    with this standard.  The section describes one-way hash functions and
  2360.    digital signature algorithms which may be used to sign certificates
  2361.    and CRLs, and identifies object identifiers for public keys contained
  2362.    in a certificate.
  2363.  
  2364.    Conforming CAs and applications are not required to support the
  2365.    algorithms or algorithm identifiers described in this section.
  2366.    However, this profile requires conforming CAs and applications to
  2367.    conform when they use the algorithms identified here.
  2368.  
  2369. 7.1  One-way Hash Functions
  2370.  
  2371.    This section identifies one-way hash functions for use in the
  2372.    Internet PKI.  One-way hash functions are also called message digest
  2373.    algorithms. SHA-1 is the preferred one-way hash function for the
  2374.    Internet PKI.  However, PEM uses MD2 for certificates [RFC 1422] [RFC
  2375.    1423].  For this reason, MD2 is included in this profile.
  2376.  
  2377. 7.1.1  MD2 One-way Hash Function
  2378.  
  2379.    MD2 was developed by Ron Rivest, but RSA Data Security has not placed
  2380.    the MD2 algorithm in the public domain.  Rather, RSA Data Security
  2381.    has granted license to use MD2 for non-commerical Internet Privacy-
  2382.    Enhanced Mail.  For this reason, MD2 may continue to be used with PEM
  2383.    certificates, but SHA-1 is preferred.  MD2 is fully described in RFC
  2384.    1319 [RFC 1319].
  2385.  
  2386.    At the Selected Areas in Cryptography '95 conference in May 1995,
  2387.    Rogier and Chauvaud presented an attack on MD2 that can nearly find
  2388.    collisions [RC95].  Collisions occur when two different messages
  2389.    generate the same message digest.  A checksum operation in MD2 is the
  2390.    only remaining obstacle to the success of the attack.  For this
  2391.  
  2392.  
  2393.  
  2394. Housley, Ford, Polk, & Solo                                    [Page 40]
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400. INTERNET DRAFT                                             March 26 1996
  2401.  
  2402.  
  2403.    reason, the use of MD2 for new applications is discouraged.  It is
  2404.    still reasonable to use MD2 to verify existing signatures, as the
  2405.    ability to find collisions in MD2 does not enable an attacker to find
  2406.    new messages having a previously computed hash value.
  2407.  
  2408.    << More information on the attack and its implications can be
  2409.    obtained from a RSA Laboratories security bulletin.  These bulletins
  2410.    are available from <http://www.rsa.com/>. >>
  2411.  
  2412. 7.1.2  SHA-1 One-way Hash Function
  2413.  
  2414.    SHA-1 was developed by the U.S. Government.  SHA-1 is fully described
  2415.    in FIPS 180-1 [FIPS 180-1].
  2416.  
  2417.    SHA-1 is the one-way hash function of choice for use with both the
  2418.    RSA and DSA signature algorithms.
  2419.  
  2420. 7.2  Signature Algorithms
  2421.  
  2422.    Certificates and CRLs described by this standard may be signed with
  2423.    any public key signature algorithm.  The certificate or CRL indicates
  2424.    the algorithm through an algorithmidentifier which appears in the
  2425.    signatureAlgorithm field in a Certificate or CertificateList.  This
  2426.    algorithmidentfier is an OID and has optionally associated
  2427.    parameters.  This section identifies algorithm identifiers and
  2428.    parameters that shall be used in the signatureAlgorithm field in a
  2429.    Certificate or CertificateList.
  2430.  
  2431.    RSA and DSA are the most popular signature algorithms used in the
  2432.    Internet.  Signature algorithms are always used in conjunction with a
  2433.    one-way hash function identified in Section 7.1.
  2434.  
  2435.    The signature algorithm (and one-way hash function) used to sign a
  2436.    certificate or CRL is indicated by use of an algorithm identifier.
  2437.    An algorithm identifier is an object identifier, and may include
  2438.    associated parameters.  This section identifies OIDS for RSA and DSA
  2439.    and the corresponding parameters.
  2440.  
  2441.    The data to be signed (e.g., the one-way hash function output value)
  2442.    is first ASN.1 encoded as an OCTET STRING and the result is encrypted
  2443.    (e.g., using RSA Encryption) to form the signed quantity.  This
  2444.    signature value is then ASN.1 encoded as a BIT STRING and included in
  2445.    the Certificate or CertificateList (in the signature field).
  2446.  
  2447. 7.2.1  RSA Signature Algorithm
  2448.  
  2449.    A patent statement regarding the RSA algorithm can be found at the
  2450.    end of this profile.
  2451.  
  2452.  
  2453.  
  2454. Housley, Ford, Polk, & Solo                                    [Page 41]
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460. INTERNET DRAFT                                             March 26 1996
  2461.  
  2462.  
  2463.    The RSA algorithm is named for it's inventors: Rivest, Shamir, and
  2464.    Adleman.  The RSA signature algorithm combines either the MD2 or the
  2465.    SHA-1 one-way hash function with the RSA asymmetric encryption
  2466.    algorithm.  The RSA signature algorithm with MD2 and the RSA
  2467.    encryption algorithm is defined in PKCS #1 [PKCS#1].  As defined in
  2468.    PKCS #1, the ASN.1 object identifier used to identify this signature
  2469.    algorithm is:
  2470.  
  2471.         md2WithRSAEncryption OBJECT IDENTIFIER  ::=  {
  2472.             iso(1) member-body(2) US(840) rsadsi(113549) pkcs(1)
  2473.             pkcs-1(1) 2  }
  2474.  
  2475.    The RSA signature algorithm with SHA-1 and the RSA encryption
  2476.    algorithm is defined in by the OSI Interoperability Workshop in [].
  2477.    As defined in [OIW], the ASN.1 object identifier used to identify
  2478.    this signature algorithm is:
  2479.  
  2480.         sha-1WithRSAEncryption OBJECT IDENTIFIER  ::=  {
  2481.             iso(1) identified-organization(3) oiw(14)
  2482.             secsig(3) algorithm(2) 29  }
  2483.  
  2484.    When either of these object identifiers is used within the ASN.1 type
  2485.    AlgorithmIdentifier, the parameters component of that type shall be
  2486.    the ASN.1 type NULL.
  2487.  
  2488.    When signing, the RSA algorithm generates an integer y.  This value
  2489.    is converted to a bit string such that the most significant bit in y
  2490.    is the first bit in the bit string and the least significant bit in y
  2491.    is the last bit in the bit string.
  2492.  
  2493.    (In general this occurs in two steps.  The integer y is converted to
  2494.    an octect string such that the first octect has the most significance
  2495.    and the last octect has the least significance. The octet string is
  2496.    converted into a bit string such that the most significant bit of the
  2497.    first octect shall become the first bit in the bit string, and the
  2498.    least significant bit of the last octect is the last bit in the BIT
  2499.    STRING.
  2500.  
  2501. 7.2.2  DSA Signature Algorithm
  2502.  
  2503.    A patent statement regarding the DSA can be found at the end of this
  2504.    profile.
  2505.  
  2506.    The Digital Signature Algorithm (DSA) is also called the Digital
  2507.    Signature Standard (DSS).  DSA was developed by the U.S. Government,
  2508.    and DSA is used in conjunction with the the SHA-1 one-way hash
  2509.    function.  DSA is fully described in FIPS 186 [FIPS 186].  The ASN.1
  2510.    object identifiers used to identify this signature algorithm are:
  2511.  
  2512.  
  2513.  
  2514. Housley, Ford, Polk, & Solo                                    [Page 42]
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520. INTERNET DRAFT                                             March 26 1996
  2521.  
  2522.  
  2523.            id-dsa-with-sha1 ID  ::=  {
  2524.                    iso(1) member-body(2) us(840) x9-57 (10040)
  2525.                    x9algorithm(4) 3 }
  2526.  
  2527.    The id-dsa-with-sha1 algorithm syntax has NULL parameters. The DSA
  2528.    parameters in the subjectPublicKeyInfo field of the certificate of
  2529.    the issuer shall apply to the verification of the signature.
  2530.  
  2531.    If the subjectPublicKeyInfo AlgorithmIdentifier field has NULL
  2532.    parameters and the CA signed the subject certificate using DSA, then
  2533.    the certificate issuer's parameters apply to the subject's DSA key.
  2534.    If the subjectPublicKeyInfo AlgorithmIdentifier field has NULL
  2535.    parameters and the CA signed the subject with a signature algorithm
  2536.    other than DSA, then clients shall not validate the certificate.
  2537.  
  2538.    When signing, the DSA algorithm generates two values.  These values
  2539.    are commonly referred to as r and s.  To easily transfer these two
  2540.    values as one signature, they shall be ASN.1 encoded using the
  2541.    following ASN.1 structure:
  2542.  
  2543.            Dss-Sig-Value  ::=  SEQUENCE  {
  2544.                    r       INTEGER,
  2545.                    s       INTEGER  }
  2546.  
  2547. 7.3  Subject Public Key Algorithms
  2548.  
  2549.    Certificates described by this standard may convey a public key for
  2550.    any public key algorithm. The certificate indicates the algorithm
  2551.    through an algorithmidentifier.  This algorithmidentfieier is an OID
  2552.    and optionally associated parameters.
  2553.  
  2554.    This section identifies preferred OIDs and parameters for the RSA,
  2555.    DSA, KEA, and Diffie-Hellman algorithms.  Conforming CAs shall use
  2556.    the identified OIDs when issuing certificates containing public keys
  2557.    for these algorithms. Conforming applications supporting any of these
  2558.    algorithms shall, at a minimum, recognize the OID identified in this
  2559.    section.
  2560.  
  2561. 7.3.1 RSA  Keys
  2562.  
  2563.    The object identifier rsaEncryption identifies RSA public keys.
  2564.  
  2565.         pkcs-1 OBJECT IDENTIFIER ::= { iso(1) member-body(2) US(840)
  2566.                        rsadsi(113549) pkcs(1) 1 }
  2567.  
  2568.         rsaEncryption OBJECT IDENTIFIER ::=  { pkcs-1 1}
  2569.  
  2570.    The rsaEncryption object identifier is intended to be used in the
  2571.  
  2572.  
  2573.  
  2574. Housley, Ford, Polk, & Solo                                    [Page 43]
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580. INTERNET DRAFT                                             March 26 1996
  2581.  
  2582.  
  2583.    algorithm field of a value of type AlgorithmIdentifier. The
  2584.    parameters field shall have ASN.1 type NULL for this algorithm
  2585.    identifier.
  2586.  
  2587.    The rsa public key shall be encoded using the ASN.1 type
  2588.    RSAPublicKey:
  2589.  
  2590.       RSAPublicKey ::= SEQUENCE {
  2591.          modulus       INTEGER, -- n
  2592.          publicExponent     INTEGER  -- e
  2593.                              }
  2594.  
  2595.    where modulus is the modulus n, and publicExponent is the public
  2596.    exponent e.  The DER encoded RSAPublicKey is  the value of the BIT
  2597.    STRING subjectPubliKey.
  2598.  
  2599.    This object identifier is used in public key certificates for both
  2600.    RSA signature keys and RSA encryption keys. The intended application
  2601.    for the key may be indicated in the key usage field (see Section
  2602.    4.2.1.3).  The use of a single key for both signature and encryption
  2603.    purposes is not recommended, but is not forbidden.
  2604.  
  2605. 7.3.2 Diffie-Hellman Key Exchange Key
  2606.  
  2607.    This diffie-hellman object identifier supported by this standard is
  2608.    defined by ANSI X9.42.
  2609.  
  2610.         dhpublicnumber OBJECT IDENTIFIER ::= { iso(1) member-body(2)
  2611.                   US(840) ansi-x942(10046) number-type(2) 1 }
  2612.  
  2613.         DHParameter ::= SEQUENCE {
  2614.              prime INTEGER, -- p
  2615.              base INTEGER, -- g }
  2616.  
  2617.    The dhpublicnumber object identifier is intended to be used in the
  2618.    algorithm field of a value of type AlgorithmIdentifier. The
  2619.    parameters field of that type, which has the algorithm-specific
  2620.    syntax ANY DEFINED BY algorithm, would have ASN.1 type DHParameter
  2621.    for this algorithm.
  2622.  
  2623.         DHParameter ::= SEQUENCE {
  2624.           prime INTEGER, -- p
  2625.           base INTEGER, -- g }
  2626.  
  2627.    The fields of type DHParameter have the following meanings:
  2628.  
  2629.       prime is the prime p.
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Housley, Ford, Polk, & Solo                                    [Page 44]
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640. INTERNET DRAFT                                             March 26 1996
  2641.  
  2642.  
  2643.       base is the base g.
  2644.  
  2645.    The Diffie-Hellman public key (an INTEGER) is mapped to a
  2646.    subjectPublicKey (a BIT STRING) as follows: the most significant bit
  2647.    (MSB) of the INTEGER becomes the MSB of the BIT STRING; the least
  2648.    significant bit (LSB) of the INTEGER becomes the LSB of the BIT
  2649.    STRING.
  2650.  
  2651. 7.3.3 DSA Signature Keys
  2652.  
  2653.    The object identifier supported by this standard is
  2654.  
  2655.         id-dsa ID ::= { iso(1) member-body(2) us(840) x9-57(10040)
  2656.                   x9algorithm(4) 1 }
  2657.  
  2658.    The id-dsa algorithm syntax includes optional parameters.  These
  2659.    parameters are commonly referred to as p, q, and g.  If the DSA
  2660.    algorithm parameters are absent from the subjectPublicKeyInfo
  2661.    AlgorithmIdentifier and the CA signed the subject certificate using
  2662.    DSA, then the certificate issuer's DSA parameters apply to the
  2663.    subject's DSA key.  If the DSA algorithm parameters are absent from
  2664.    the subjectPublicKeyInfo AlgorithmIdentifier and the CA signed the
  2665.    subject certificate using a signature algorithm other than DSA, then
  2666.    the subject's DSA parameters are distributed by other means.  The
  2667.    parameters are included using the following ASN.1 structure:
  2668.  
  2669.         Dss-Parms  ::=  SEQUENCE  {
  2670.             p             INTEGER,
  2671.             q             INTEGER,
  2672.             g             INTEGER  }
  2673.  
  2674.    If the subjectPublicKeyInfo AlgorithmIdentifier field has NULL
  2675.    parameters and the CA signed the subject certificate using DSA, then
  2676.    the certificate issuer's parameters apply to the subject's DSA key.
  2677.    If the subjectPublicKeyInfo AlgorithmIdentifier field has NULL
  2678.    parameters and the CA signed the subject with a signature algorithm
  2679.    other than DSA, then clients shall not validate the certificate.
  2680.  
  2681.    When signing, DSA algorithm generates two values.  These values are
  2682.    commonly referred to as r and s.  To easily transfer these two values
  2683.    as one signature, they are ASN.1 encoded using the following ASN.1
  2684.    structure:
  2685.  
  2686.         Dss-Sig-Value  ::=  SEQUENCE  {
  2687.             r             INTEGER,
  2688.             s             INTEGER  }
  2689.  
  2690.    The encoded signature is conveyed as the value of the BIT STRING
  2691.  
  2692.  
  2693.  
  2694. Housley, Ford, Polk, & Solo                                    [Page 45]
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700. INTERNET DRAFT                                             March 26 1996
  2701.  
  2702.  
  2703.    signature in a Certificate or CertificateList.
  2704.  
  2705.    The DSA public key shall be ASN.1 encoded as an INTEGER; this
  2706.    encoding shall be used as the contents (i.e., the value) of the
  2707.    subjectPublicKey component (a BIT STRING) of the SubjectPublicKeyInfo
  2708.    data element.
  2709.  
  2710.         DSAPublicKey ::= INTEGER -- public key Y
  2711.  
  2712. 7.3.4 Key Exchange Algorithm (KEA)
  2713.  
  2714.    The Key Exchange Algorithm (KEA) is a classified algorithm for
  2715.    exchanging keys.  A KEA "pairwise key" may be generated between two
  2716.    users if their KEA public keys were generated with the same KEA
  2717.    parameters.  The KEA parameters are not included in a certificate;
  2718.    instead a "domain identifier" is supplied in the parameters field.
  2719.  
  2720.    When the subjectPublicKeyInfo field contains a KEA key, the algorithm
  2721.    identifier and parameters shall be as defined in [sdn.701r]:
  2722.  
  2723.       id-keyEncryptionAlgorithm  OBJECT IDENTIFIER   ::=
  2724.              { 2 16 840 1 101 2 1 1 22 }
  2725.  
  2726.       KEA-Parms-Id     ::= OCTET STRING
  2727.  
  2728.  
  2729.    The Kea-Parms-Id shall always appear when the subjectPublicKeyInfo
  2730.    field algorithm identifier is id-keyEncryptionAlgorithm. Kea-Parms-Id
  2731.    is the "domain identifier" and is ten octets in length. If the Kea-
  2732.    Parms-Id of two KEA keys are equivalent, the subjects possess the
  2733.    same KEA parameter values and may exchange keys.
  2734.  
  2735.    A KEA public key, y, is conveyed in the subjectPublicKey BIT STRING
  2736.    such that the most significant bit (MSB) of y becomes the MSB of the
  2737.    BIT STRING value field and the least significant bit (LSB) of y
  2738.    becomes the LSB of the BIT STRING value field.  This results in the
  2739.    following encoding: BIT STRING tag, BIT STRING length, 0 (indicating
  2740.    that there are zero unused bits in the final octet of y), BIT STRING
  2741.    value field including y.
  2742.  
  2743.  
  2744. 8. Examples
  2745.  
  2746. 8.1 Certificate
  2747.  
  2748.    This section contains an annotated hex dump of a 675 byte version 3
  2749.    certificate.  The certificate contains the following information:
  2750.    (a) the serial number is 2;
  2751.  
  2752.  
  2753.  
  2754. Housley, Ford, Polk, & Solo                                    [Page 46]
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760. INTERNET DRAFT                                             March 26 1996
  2761.  
  2762.  
  2763.    (b) the certificate is signed with RSA and the MD5 hash algorithm;
  2764.    (c) the issuer's distinguished name is OU=esCert-
  2765.    UPC;O=UPC;L=Barcelona;STREET=Catalunya;C=ES
  2766.    (d) and the subject's distinguished name is
  2767.    CN=escert.upc.es;OU=esCert-
  2768.    UPC;O=UPC;L=Barcelona;STREET=Catalunya;C=ES
  2769.    (e) the certificate was issued on May 21, 1996 and will expire on May
  2770.    21, 1997;
  2771.    (f) the certificate contains a 768 bit RSA public key which is
  2772.    intended for generation of digital signatures;
  2773.    (g) the certificate is an end entity certificate (not a CA
  2774.    certificate);
  2775.    (h) the certificate includes two alternative names - an RFC 822
  2776.    address, and a URL.
  2777.  
  2778.  sequence length 029f=671 bytes
  2779.  30 82 02 9f
  2780.     sequence length 0208h=520 bytes
  2781.     30 82 02 08
  2782.        explicit tag 00 "Version"
  2783.        a0 03
  2784.           integer length 1 value 2 [version is 3]
  2785.           02 01 02
  2786.        integer length 1 value 2 [serial number 2]
  2787.        02 01 02
  2788.        sequence length 13 [signature]
  2789.        30 0d
  2790.           object identifier length 9 {1 2 840 113549 1 1 4}
  2791.                                 {iso(1) member-body(2) us(840) etc.}
  2792.           06 09 2a 86 48 86 f7 0d 01 01 04
  2793.           null [null parameters]
  2794.           05 00
  2795.        sequence length 88 [issuer]
  2796.           30 58
  2797.              RDN length 11
  2798.              31 0b
  2799.                 sequence length 9
  2800.                 30 09
  2801.                    object identifier length 3  { 2 5 4 6 }
  2802.                    06 03 55 04 06
  2803.                    printable string length 2 "ES"
  2804.                    13 02 45 53
  2805.              RDN length 18
  2806.              31 12
  2807.                 sequence length 16
  2808.                 30 10
  2809.                    object identifier length 3 { 2 5 4 9 }
  2810.                    06 03 55 04 09
  2811.  
  2812.  
  2813.  
  2814. Housley, Ford, Polk, & Solo                                    [Page 47]
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820. INTERNET DRAFT                                             March 26 1996
  2821.  
  2822.  
  2823.                    printable string length 9 "Catalunya"
  2824.                    13 09 43 61 74 61 6c 75 6e 79 61
  2825.              RDN length 18
  2826.              31 12
  2827.                 sequence length 16
  2828.                 30 10
  2829.                    object identifier length 3 { 2 5 4 7 }
  2830.                    06 03 55 04 07
  2831.                    printable string length 9 "Barcelona"
  2832.                    13 09 42 61 72 63 65 6c 6f 6e 61
  2833.              RDN length 12
  2834.              31 0c
  2835.                 sequence length 10
  2836.                 30 0a
  2837.                    object identifier {2 5 4 10 }
  2838.                    06 03 55 04 0a
  2839.                    printable string length 3 "UPC"
  2840.                    13 03 55 50 43
  2841.              RDN length 19
  2842.              31 13
  2843.                 sequence length 17
  2844.                 30 11
  2845.                    object identifier {2 5 4 13 }
  2846.                    06 03 55 04 0b
  2847.                    printable string length 10 "esCERT-UPC"
  2848.                    13 0a 65 73 43 45 52 54 2d 55 50 43
  2849.        sequence length 0x1e= 30
  2850.           30 1e
  2851.              UTCTime "960521095826Z"
  2852.              17 0d 39 36 30 35 32 31 30 39 35 38 32 36 5a
  2853.              UTCTime "979521095826Z"
  2854.              17 0d 39 37 30 35 32 31 30 39 35 38 32 36 5a
  2855.        sequence length
  2856.        30 70
  2857.           31 0b
  2858.              30 09
  2859.                 { 2 5 4 6 }
  2860.                 06 03 55 04 06
  2861.                 "ES"
  2862.                 13 02 45 53
  2863.           RDN
  2864.           31 12
  2865.              30 10
  2866.                 { 2 5 4 9 }
  2867.                 06 03 55 04 09
  2868.                 "Catalunya"
  2869.                 13 09 43 61 74 61 6c 75 6e 7961
  2870.           RDN
  2871.  
  2872.  
  2873.  
  2874. Housley, Ford, Polk, & Solo                                    [Page 48]
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880. INTERNET DRAFT                                             March 26 1996
  2881.  
  2882.  
  2883.           31 12
  2884.              30 10
  2885.                 { 2 5 4 7 }
  2886.                 06 03 55 04 07
  2887.                 "Barcelona"
  2888.                 13 09 42 61 72 63 65 6c 6f 6e 61
  2889.           RDN
  2890.           31 0c
  2891.              30 0a
  2892.                 { 2 5 4 10 }
  2893.                 06 03 55 04 0a
  2894.                 "UPC"
  2895.                 13 03 55 50 43
  2896.           RDN
  2897.           31 13
  2898.              30 11
  2899.                 { 2 5 4 11 }
  2900.                 06 03 55 04 0b
  2901.                 "esCERT-UPC"
  2902.                 13 0a 65 73 43 45 52 54 2d 55 50 43
  2903.           RDN
  2904.           31 16
  2905.              30 14
  2906.                 { 2 5 4 3 }
  2907.                 06 03 55 04 03
  2908.                 "escert.upc.es"
  2909.                 13 0d 65 73 63 65 72 74 2e 75 70 63 2e 65 73
  2910.         subjectPublicKeyInfo
  2911.           30 7c
  2912.              algorithmIdentifier
  2913.              30 0d
  2914.                 { 1 2 840 113549 1 1 1}
  2915.                 06 09 2a 86 48 86 f7 0d 01 01 01
  2916.                 null parameters
  2917.                 05 00
  2918.              { subject's public key }
  2919.              03 6b  BIT STRING length 107 bytes (856 bits)
  2920.                                0030 6802 6100 beaa 8b77 54a3 afca 779f
  2921.                                2fb0 cf43 88ff a66d 7955 5b61 8c68 ec48
  2922.                                1e8a 8638 a4fe 19b8 6217 1d9d 0f47 2cff
  2923.                                638f 2991 04d1 52bc 7f67 b6b2 8f74 55c1
  2924.                                3321 6c8f ab01 9524 c8b2 7393 9d22 6150
  2925.                                a935 fb9d 5750 32ef 5652 5093 abb1 8894
  2926.                                7856 15c6 1c8b 0203 0100 01
  2927.          explicit tag 3 "extensions" length 0x84=132
  2928.          a3 81 84
  2929.             sequence 129 bytes
  2930.             30 81 81
  2931.  
  2932.  
  2933.  
  2934. Housley, Ford, Polk, & Solo                                    [Page 49]
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940. INTERNET DRAFT                                             March 26 1996
  2941.  
  2942.  
  2943.                sequence 12 bytes
  2944.                30 0b
  2945.                   id-ce-keyUsage = { 2 5 29 15 }
  2946.                   06 03 55 1d 0f
  2947.                   by default, critical = FALSE
  2948.                   octect string
  2949.                   04 04 03 02 07 80
  2950.                30 09
  2951.                   id-ce-basicConstraints = { 2 5 29 19 }
  2952.                   06 03 55 1d 13
  2953.                   by default, critical = FALSE
  2954.                   octect string
  2955.                   04 02
  2956.                      null sequence - by default, subject is end entity
  2957.                      30 00
  2958.                30 3d
  2959.                   id-ce-subjectAltName = { 2 5 29 17 }
  2960.                   06 03 55 1d 11
  2961.                   by default, critical = FALSE
  2962.                   octect string
  2963.                   04 36
  2964.                      30 34
  2965.                         rfc822name
  2966.                         a1 1a
  2967.                            IA5String "escert-upc@escert.upc.es"
  2968.                            16 18 65 73 63 65 72 74 2d 75 70 63 40 65 73 63
  2969.                            65 72 74 2e 75 70 63 2e 65 73
  2970.                         uniformResourceIdentifier
  2971.                         a6 16
  2972.                            IA5String "http://escert.upc.es"
  2973.                            16 14 68 74 74 70 3a 2f 2f 65 73 63 65 72 74 2e
  2974.                            75 70 63 2e 65 73
  2975.                30 28
  2976.                   id-ce-certificatePolicies = { 2 5 29 32 }
  2977.                   06 03 55 1d 20
  2978.                   by default, critical = FALSE
  2979.                   octect string
  2980.                   04 21
  2981.                      30 1f
  2982.                         30 1d
  2983.                            06 04 2a 84 80 00
  2984.                            { 2 2 32768 }
  2985.                      30 15
  2986.                         30 07
  2987.                            { 2 2 32768 1 }
  2988.                            06 05 2a 84 80 00 01
  2989.                          30 0a
  2990.                             { 2 2 32768 2 }
  2991.  
  2992.  
  2993.  
  2994. Housley, Ford, Polk, & Solo                                    [Page 50]
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000. INTERNET DRAFT                                             March 26 1996
  3001.  
  3002.  
  3003.                             06 05 2a 84 80 00 02
  3004.                             02 01 0a
  3005.    sequence
  3006.    30 0d
  3007.       { 1 2 840 113549 1 1 4 }
  3008.       06 09 2a 86 48 86 f7 0d 01 01 04
  3009.       null parameters
  3010.       05 00
  3011.    bit string length 129  (signature)
  3012.    03 81 81 005b fdc2 a704 d483 4e17 6da6 fa27 e7c6
  3013.             f8ab b95d 9fd0 a1df d797 9fe0 20a6 c57a
  3014.             64cd 522f e9ae dabe 9ce4 d597 edf1 84c0
  3015.             d0fe 9bef 54b1 80e5 bf3c c9ed 9320 2d52
  3016.             21e9 bcb9 e34f ac11 650e 8fa1 6899 6347
  3017.             e53d e442 7313 fac5 c834 8cc0 4118 89d5
  3018.             e6a0 185b 5d86 1c1e c670 d80e 8964 9483
  3019.             8e3b 407c 59cf 2b2f b7ce 9798 1215 ef13
  3020.             d4
  3021.  
  3022.  
  3023. 8.2 Certificate Revocation List
  3024.  
  3025.    This section contains an annotated hex dump of a version 2 CRL with
  3026.    one extension (cRLNumber). The CRL was issued by OU=ac;O=upc;C=es on
  3027.    July 7, 1996; the next scheduled issuance was August 7, 1996.  The
  3028.    CRL includes two revoked certificates: serial numbers 256 and 257.
  3029.    The CRL itself is number 3, and it was signed with RSA and MD5.
  3030.  
  3031.  
  3032.    TBSCertList
  3033.    30 82 01 07
  3034.     CertList
  3035.     30 81 b2
  3036.      version 2 CRL
  3037.      02 01 01
  3038.      signature
  3039.      30 0d
  3040.            object identifier RSAEncryptionwithMD5
  3041.            06 09 2a 8648 86f7 0d01 0104
  3042.            null (parameters)
  3043.            05 00
  3044.          sequence length 0x28
  3045.          30 28     issuer distinguished name
  3046.             RDN C=es
  3047.             31 0b
  3048.                30 09
  3049.                   object identifier { 2 5 4 6 }
  3050.                   06 03 55 04 06
  3051.  
  3052.  
  3053.  
  3054. Housley, Ford, Polk, & Solo                                    [Page 51]
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060. INTERNET DRAFT                                             March 26 1996
  3061.  
  3062.  
  3063.                   printable string "es"
  3064.                   13 02 65 73
  3065.             RDN O=upc
  3066.             31 0c
  3067.                sequence
  3068.                30 0a
  3069.                   object identifier { 2 5 4 10 }
  3070.                   06 03 55 04 0a
  3071.                   printable string "upc"
  3072.                   13 03 75 70 63
  3073.             RDN
  3074.             31 0b OU=ac
  3075.                sequence
  3076.                30 09
  3077.                   06 03 55 04 0b { 2 5 4 11 }
  3078.                   printable string "ac"
  3079.                   13 02 61 63
  3080.           this update July 7, 1996
  3081.           17 0d 39 36 30 37 30 37 31 37 31 38 31 35 5a
  3082.           next update August 7, 1996
  3083.           17 0d 39 36 30 38 30 37 31 37 31 38 31 35 5a
  3084.        30 46
  3085.           30 21
  3086.              serial number 256
  3087.              02 02 01 00
  3088.              revocation date "960630171815Z"
  3089.              17 0d 39 36 30 36 33 30 31 37 31 38 31 35 5a
  3090.              30 0c
  3091.                 30 0a
  3092.                    id-ce-reasonCode
  3093.                    { 2 5 77 21 }
  3094.                    06 03 55 1d 15
  3095.                    octet string 0x0a0140
  3096.                    04 03 0a 01 40
  3097.           30 21
  3098.              serial number 257
  3099.              02 02 01 01
  3100.              revocation date "960706171815Z"
  3101.              17 0d 39 36 30 37 30 36 31 37 31 38 31 35 5a
  3102.              30 0c
  3103.                 30 0a
  3104.                    id-ce-reasonCode
  3105.                    { 2 5 77 21 }
  3106.                    06 03 55 1d 15
  3107.                    octet string 0x0a0110
  3108.                    04 03 0a 01  00
  3109.       private tag 0 "extensions"
  3110.       a0 0e
  3111.  
  3112.  
  3113.  
  3114. Housley, Ford, Polk, & Solo                                    [Page 52]
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120. INTERNET DRAFT                                             March 26 1996
  3121.  
  3122.  
  3123.       sequence
  3124.       30 0c
  3125.          30 0a
  3126.             id-ce-cRLNumber = { 2 5 77 20 }
  3127.             06 03 55 1d 14
  3128.             by default, critical = FALSE
  3129.             octet string
  3130.             04 03
  3131.                integer = 3
  3132.                02 01 03
  3133.       30 0d
  3134.          { 1 2 840 113549 1 1 4 }
  3135.          06 09 2a 86 48 86 f7 0d 01 01 04
  3136.          null parameters
  3137.          05 00
  3138.       03 41 0029 23be 84e1 6cd6 ae52 9049 f1f1 bbe9
  3139.             ebb3 a6db 3c87 0c3e 9924 5e0d 1c06 b747
  3140.             deb3 124d c843 bb8b a61f 035a 7d09 3825
  3141.             1f5d d4cb fc96 f545 3b13 0d89 0a1c dbae
  3142.             32
  3143.  
  3144.  
  3145.  
  3146. 9. ASN.1 Structures and OIDs
  3147.  
  3148.  
  3149.    PKIX1 DEFINITIONS IMPLICIT TAGS::=
  3150.  
  3151.    BEGIN
  3152.  
  3153.  
  3154.    -- UNIVERSAL Types defined in '93 ASN.1
  3155.    -- but required by this specification
  3156.  
  3157.    UniversalString [UNIVERSAL 28] IMPLICIT OCTET STRING
  3158.            -- UniversalString is defined in ASN.1:1993
  3159.    BMPString ::= [UNIVERSAL 30] IMPLICIT OCTET STRING
  3160.            -- BMPString is the subtype of
  3161.            -- UniversalString and models the Basic Multilingual Plane
  3162.            -- of ISO/IEC 10646-1
  3163.  
  3164.    -- attribute data types --
  3165.  
  3166.    Attribute       ::=     SEQUENCE {
  3167.            type    AttributeValue,
  3168.            values  SET OF AttributeValue
  3169.                    -- at least one value is required -- }
  3170.  
  3171.  
  3172.  
  3173.  
  3174. Housley, Ford, Polk, & Solo                                    [Page 53]
  3175.  
  3176.  
  3177.  
  3178.  
  3179.  
  3180. INTERNET DRAFT                                             March 26 1996
  3181.  
  3182.  
  3183.    AttributeType           ::=     OBJECT IDENTIFIER
  3184.  
  3185.    AttributeValue          ::=     ANY
  3186.  
  3187.    AttributeTypeAndValue           ::=     SEQUENCE {
  3188.            type    AttributeType,
  3189.            value   AttributeValue }
  3190.  
  3191.    AttributeValueAssertion ::=     SEQUENCE {AttributeType, AttributeValue}
  3192.  
  3193.    -- naming data types --
  3194.  
  3195.    Name            ::=     CHOICE { -- only one possibility for now --
  3196.                                                    rdnSequence  RDNSequence }
  3197.  
  3198.    RDNSequence     ::=     SEQUENCE OF RelativeDistinguishedName
  3199.  
  3200.    DistinguishedName       ::=     RDNSequence
  3201.  
  3202.    RelativeDistinguishedName  ::=  SET SIZE (1 .. MAX) OF AttributeTypeAndValue
  3203.  
  3204.    -- Directory string type --
  3205.  
  3206.    DirectoryString ::= CHOICE {
  3207.            teletexString           TeletexString (SIZE (1..maxSize)),
  3208.            printableString         PrintableString (SIZE (1..maxSize)),
  3209.            universalString         UniversalString (SIZE (1..maxSize))
  3210.                                                 }
  3211.  
  3212.    -- certificate and CRL specific structures begin here
  3213.  
  3214.    Certificate  ::=  SEQUENCE  {
  3215.         tbsCertificate       TBSCertificate,
  3216.         signatureAlgorithm   AlgorithmIdentifier,
  3217.         signature            BIT STRING  }
  3218.  
  3219.    TBSCertificate  ::=  SEQUENCE  {
  3220.         version         [0]  EXPLICIT Version DEFAULT v1,
  3221.         serialNumber         CertificateSerialNumber,
  3222.         signature            AlgorithmIdentifier,
  3223.         issuer               Name,
  3224.         validity             Validity,
  3225.         subject              Name,
  3226.         subjectPublicKeyInfo SubjectPublicKeyInfo,
  3227.         issuerUniqueID  [1]  UniqueIdentifier OPTIONAL,
  3228.                              -- If present, version must be v2 or v3
  3229.         subjectUniqueID [2]  UniqueIdentifier OPTIONAL,
  3230.                              -- If present, version must be v2 or v3
  3231.  
  3232.  
  3233.  
  3234. Housley, Ford, Polk, & Solo                                    [Page 54]
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240. INTERNET DRAFT                                             March 26 1996
  3241.  
  3242.  
  3243.         extensions      [3]  EXPLICIT Extensions OPTIONAL
  3244.                              -- If present, version must be v3
  3245.         }
  3246.  
  3247.    Version  ::=  INTEGER  {  v1(0), v2(1), v3(2)  }
  3248.  
  3249.    CertificateSerialNumber  ::=  INTEGER
  3250.  
  3251.    Validity ::= SEQUENCE {
  3252.         notBefore      CertificateValidityDate,
  3253.         notAfter       CertificateValidityDate }
  3254.  
  3255.    CertificateValidityDate ::= CHOICE {
  3256.         utcTime        UTCTime,
  3257.         generalTime    GeneralizedTime }
  3258.  
  3259.    UniqueIdentifier  ::=  BIT STRING
  3260.  
  3261.    SubjectPublicKeyInfo  ::=  SEQUENCE  {
  3262.         algorithm            AlgorithmIdentifier,
  3263.         subjectPublicKey     BIT STRING  }
  3264.  
  3265.    Extensions  ::=  SEQUENCE OF Extension
  3266.  
  3267.    Extension  ::=  SEQUENCE  {
  3268.         extnID      OBJECT IDENTIFIER,
  3269.         critical    BOOLEAN DEFAULT FALSE,
  3270.         extnValue   OCTET STRING  }
  3271.  
  3272.    -- Extension ::= { {id-ce 15}, ... , keyUsage }
  3273.  
  3274.    ID                  ::=  OBJECT IDENTIFIER
  3275.    joint-iso-ccitt     ID   ::=  { 2 }
  3276.    ds             ID   ::=  {joint-iso-ccitt 5}
  3277.    certificateExtension  ID ::=  {ds 29}
  3278.    -- id-ce          ID   ::=  certificateExtension
  3279.    id-ce          ID   ::= {ds 29}
  3280.  
  3281.    AuthorityKeyIdentifier ::= SEQUENCE {
  3282.          keyIdentifier                   [0] KeyIdentifier               OPTIONAL,
  3283.          authorityCertIssuer             [1] GeneralNames                OPTIONAL,
  3284.          authorityCertSerialNumber       [2] CertificateSerialNumber     OPTIONAL
  3285.      }
  3286.           ( WITH COMPONENTS       {..., authorityCertIssuer PRESENT,
  3287.                                           authorityCertSerialNumber PRESENT} |
  3288.            WITH COMPONENTS        {..., authorityCertIssuer ABSENT,
  3289.                                           authorityCertSerialNumber ABSENT} )
  3290.  
  3291.  
  3292.  
  3293.  
  3294. Housley, Ford, Polk, & Solo                                    [Page 55]
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300. INTERNET DRAFT                                             March 26 1996
  3301.  
  3302.  
  3303.    -- authorityKeyIdentifier ::= AuthorityKeyIdentifier
  3304.  
  3305.    KeyIdentifier ::= OCTET STRING
  3306.  
  3307.    -- subjectKeyIdentifier ::= KeyIdentifier
  3308.  
  3309.    KeyUsage ::= BIT STRING {
  3310.         digitalSignature        (0),
  3311.         nonRepudiation          (1),
  3312.         keyEncipherment         (2),
  3313.         dataEncipherment        (3),
  3314.         keyAgreement            (4),
  3315.         keyCertSign             (5),
  3316.         cRLSign                 (6) }
  3317.  
  3318.    id-ce-privateKeyUsagePeriod OBJECT IDENTIFIER ::=  { id-ce 16 }
  3319.  
  3320.    PrivateKeyUsagePeriod ::= SEQUENCE {
  3321.         notBefore       [0]     GeneralizedTime OPTIONAL,
  3322.         notAfter        [1]     GeneralizedTime OPTIONAL }
  3323.         ( WITH COMPONENTS       {..., notBefore PRESENT} |
  3324.         WITH COMPONENTS         {..., notAfter PRESENT} )
  3325.  
  3326.    id-ce-certificatePolicies OBJECT IDENTIFIER ::=  { id-ce 32 }
  3327.  
  3328.    CertificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
  3329.  
  3330.    PolicyInformation ::= SEQUENCE {
  3331.         policyIdentifier   CertPolicyId,
  3332.         policyQualifiers   SEQUENCE SIZE (1..MAX) OF
  3333.                 PolicyQualifierInfo OPTIONAL }
  3334.  
  3335.    CertPolicyId ::= OBJECT IDENTIFIER
  3336.  
  3337.    -- PolicyQualifierInfo ::= SEQUENCE {
  3338.    --       policyQualifierId  CERT-POLICY-QUALIFIER.&id
  3339.    --                                ({SupportedPolicyQualifiers}),
  3340.    --       qualifier          CERT-POLICY-QUALIFIER.&Qualifier
  3341.    --
  3342.    -- ({SupportedPolicyQualifiers}{@policyQualifierId})
  3343.    --                                         OPTIONAL }
  3344.  
  3345.    -- SupportedPolicyQualifiers CERT-POLICY-QUALIFIER ::= { ... }
  3346.  
  3347.    PolicyQualifierInfo ::= SEQUENCE {
  3348.           policyQualifierId  PolicyQualifierId,
  3349.           qualifier        ANY DEFINED BY policyQualifierId }
  3350.  
  3351.  
  3352.  
  3353.  
  3354. Housley, Ford, Polk, & Solo                                    [Page 56]
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360. INTERNET DRAFT                                             March 26 1996
  3361.  
  3362.  
  3363.    PolicyQualifierId ::= ENUMERATED {
  3364.            qualId1 (1), qualId2 (2), qualId3 (3), qualId4 (4), qualId5 ( 5 ) }
  3365.  
  3366.    id-ce-policyMappings OBJECT IDENTIFIER ::=  { id-ce 33 }
  3367.  
  3368.    PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
  3369.         issuerDomainPolicy      CertPolicyId,
  3370.         subjectDomainPolicy     CertPolicyId }
  3371.  
  3372.    id-ce-subjectAltName OBJECT IDENTIFIER ::=  { id-ce 17 }
  3373.  
  3374.    SubjectAltName ::= GeneralNames
  3375.  
  3376.    GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
  3377.  
  3378.    GeneralName ::= CHOICE {
  3379.    -- OTHER-NAME ::= TYPE-IDENTIFIER  note: not supported in '88 ASN.1
  3380.         otherName                       [0]     anotherName,
  3381.         rfc822Name                      [1]     IA5String,
  3382.         dNSName                         [2]     IA5String,
  3383.         x400Address                     [3]     ORAddress,
  3384.         directoryName                   [4]     Name,
  3385.         ediPartyName                    [5]     EDIPartyName,
  3386.         uniformResourceIdentifier       [6]     IA5String,
  3387.         iPAddress                       [7]     OCTET STRING,
  3388.         registeredID                    [8]     OBJECT IDENTIFIER }
  3389.  
  3390.    anotherName ::= SEQUENCE {
  3391.         type-id    OBJECT IDENTIFER,
  3392.         value      [0] EXPLICIT ANY DEFINED BY type-id
  3393.         }
  3394.  
  3395.    EDIPartyName ::= SEQUENCE {
  3396.         nameAssigner            [0]     DirectoryString OPTIONAL,
  3397.         partyName               [1]     DirectoryString }
  3398.  
  3399.    id-ce-issuerAltName OBJECT IDENTIFIER ::=  { id-ce 18 }
  3400.  
  3401.    IssuerAltName ::= GeneralNames
  3402.  
  3403.    id-ce-subjectDirectoryAttributes OBJECT IDENTIFIER ::=  { id-ce 9 }
  3404.  
  3405.    SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
  3406.  
  3407.    id-ce-basicConstraints OBJECT IDENTIFIER ::=  { id-ce 19 }
  3408.  
  3409.    BasicConstraints ::= SEQUENCE {
  3410.         cA                      BOOLEAN DEFAULT FALSE,
  3411.  
  3412.  
  3413.  
  3414. Housley, Ford, Polk, & Solo                                    [Page 57]
  3415.  
  3416.  
  3417.  
  3418.  
  3419.  
  3420. INTERNET DRAFT                                             March 26 1996
  3421.  
  3422.  
  3423.         pathLenConstraint       INTEGER (0..MAX) OPTIONAL }
  3424.  
  3425.    id-ce-nameConstraints OBJECT IDENTIFIER ::=  { id-ce 30 }
  3426.  
  3427.    NameConstraints ::= SEQUENCE {
  3428.         permittedSubtrees       [0]     GeneralSubtrees OPTIONAL,
  3429.         excludedSubtrees        [1]     GeneralSubtrees OPTIONAL }
  3430.  
  3431.    GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
  3432.  
  3433.    GeneralSubtree ::= SEQUENCE {
  3434.         base                    GeneralName,
  3435.         minimum         [0]     BaseDistance DEFAULT 0,
  3436.         maximum         [1]     BaseDistance OPTIONAL }
  3437.  
  3438.    BaseDistance ::= INTEGER (0..MAX)
  3439.  
  3440.    id-ce-policyConstraints OBJECT IDENTIFIER ::=  { id-ce 34 }
  3441.  
  3442.    PolicyConstraints ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE {
  3443.         policySet                       [0] CertPolicySet OPTIONAL,
  3444.         requireExplicitPolicy           [1] SkipCerts OPTIONAL,
  3445.         inhibitPolicyMapping            [2] SkipCerts OPTIONAL }
  3446.  
  3447.    SkipCerts ::= INTEGER (0..MAX)
  3448.  
  3449.    CertPolicySet ::= SEQUENCE SIZE (1..MAX) OF CertPolicyId
  3450.  
  3451.    -- cRLDistributionPoints CRLDistPointsSyntax ::=
  3452.    --              SEQUENCE SIZE (1..MAX) OF DistributionPoint
  3453.  
  3454.    CRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
  3455.  
  3456.    DistributionPoint ::= SEQUENCE {
  3457.         distributionPoint       [0]     DistributionPointName OPTIONAL,
  3458.         reasons                 [1]     ReasonFlags OPTIONAL,
  3459.         cRLIssuer               [2]     GeneralNames OPTIONAL }
  3460.  
  3461.    DistributionPointName ::= CHOICE {
  3462.         fullName                [0]     GeneralNames,
  3463.         nameRelativeToCRLIssuer [1]     RelativeDistinguishedName }
  3464.  
  3465.    ReasonFlags ::= BIT STRING {
  3466.         unused                  (0),
  3467.         keyCompromise           (1),
  3468.         cACompromise            (2),
  3469.         affiliationChanged      (3),
  3470.         superseded              (4),
  3471.  
  3472.  
  3473.  
  3474. Housley, Ford, Polk, & Solo                                    [Page 58]
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480. INTERNET DRAFT                                             March 26 1996
  3481.  
  3482.  
  3483.         cessationOfOperation    (5),
  3484.         certificateHold         (6) }
  3485.  
  3486.    -- private extensions
  3487.  
  3488.    pkix  OBJECT IDENTIFIER ::= { 1 3 6 1 5 5 7 }
  3489.  
  3490.    id-pkix-subjectInfoAccess OBJECT-IDENTIFIER ::= { pkix 1}
  3491.  
  3492.    -- subjectInfoAccess ::=  { SubjectInfoAccessSyntax }
  3493.  
  3494.    SubjectInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
  3495.  
  3496.    AccessDescription  ::=  SEQUENCE  {
  3497.         subjectInfo        GeneralName  }
  3498.  
  3499.    id-pkix-authorityInfoAccess OBJECT-IDENTIFIER ::= { pkix 2 }
  3500.  
  3501.    -- authorityInfoAccess ::=  { AuthorityInfoAccessSyntax  }
  3502.  
  3503.    AuthorityInfoAccessSyntax  ::=  SEQUENCE  {
  3504.         authorityInfo     [0] SEQUENCE OF GeneralName OPTIONAL,
  3505.         certStatus        [1] SEQUENCE OF GeneralName OPTIONAL }
  3506.  
  3507.    -- CRL structures
  3508.  
  3509.    CertificateList  ::=  SEQUENCE  {
  3510.         tbsCertList          TBSCertList,
  3511.         signatureAlgorithm   AlgorithmIdentifier,
  3512.         signature            BIT STRING  }
  3513.  
  3514.    TBSCertList  ::=  SEQUENCE  {
  3515.         version                 Version OPTIONAL,
  3516.                                      -- if present, must be v2
  3517.         signature               AlgorithmIdentifier,
  3518.         issuer                  Name,
  3519.         thisUpdate              ChoiceOfTime,
  3520.         nextUpdate              ChoiceOfTime,
  3521.         revokedCertificates     SEQUENCE OF SEQUENCE  {
  3522.              userCertificate         CertificateSerialNumber,
  3523.              revocationDate          ChoiceOfTime,
  3524.              crlEntryExtensions      Extensions OPTIONAL
  3525.                                                  -- if present, must be v2
  3526.                                   }  OPTIONAL,
  3527.         crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
  3528.                                                  -- if present, must be v2
  3529.                                   }
  3530.  
  3531.  
  3532.  
  3533.  
  3534. Housley, Ford, Polk, & Solo                                    [Page 59]
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540. INTERNET DRAFT                                             March 26 1996
  3541.  
  3542.  
  3543.    Version  ::= INTEGER  {  v1(0), v2(1), v3(2)  }
  3544.  
  3545.    AlgorithmIdentifier  ::=  SEQUENCE  {
  3546.         algorithm               OBJECT IDENTIFIER,
  3547.         parameters              ANY DEFINED BY algorithm OPTIONAL  }
  3548.                                      -- contains a value of the type
  3549.                                      -- registered for use with the
  3550.                                      -- algorithm object identifier value
  3551.  
  3552.    ChoiceOfTime ::= CHOICE {
  3553.         utcTime        UTCTime,
  3554.         generalTime    GeneralizedTime }
  3555.  
  3556.    CertificateSerialNumber  ::=  INTEGER
  3557.  
  3558.    Extensions  ::=  SEQUENCE OF Extension
  3559.  
  3560.    Extension  ::=  SEQUENCE  {
  3561.         extnId                  OBJECT IDENTIFIER,
  3562.         critical                BOOLEAN DEFAULT FALSE,
  3563.         extnValue               OCTET STRING  }
  3564.                                      -- contains a DER encoding of a value
  3565.                                      -- of the type registered for use with
  3566.                                      -- the extnId object identifier value
  3567.  
  3568.    id-ce-cRLNumber OBJECT IDENTIFIER ::= { id-ce 20 }
  3569.  
  3570.    CRLNumber ::= INTEGER (0..MAX)
  3571.  
  3572.    id-ce-issuingDistributionPoint OBJECT IDENTIFIER ::= { id-ce 28 }
  3573.  
  3574.    IssuingDistributionPoint ::= SEQUENCE {
  3575.         distributionPoint       [0] DistributionPointName OPTIONAL,
  3576.         onlyContainsUserCerts   [1] BOOLEAN DEFAULT FALSE,
  3577.         onlyContainsCACerts     [2] BOOLEAN DEFAULT FALSE,
  3578.         onlySomeReasons         [3] ReasonFlags OPTIONAL,
  3579.         indirectCRL             [4] BOOLEAN DEFAULT FALSE }
  3580.  
  3581.  
  3582.    id-ce-deltaCRLIndicator OBJECT IDENTIFIER ::= { id-ce 27 }
  3583.  
  3584.    -- deltaCRLIndicator ::= BaseCRLNumber
  3585.  
  3586.    BaseCRLNumber ::= CRLNumber
  3587.  
  3588.    id-ce-cRLNumber OBJECT IDENTIFIER ::= { id-ce 20 }
  3589.  
  3590.    -- reasonCode EXTENSION ::= {
  3591.  
  3592.  
  3593.  
  3594. Housley, Ford, Polk, & Solo                                    [Page 60]
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600. INTERNET DRAFT                                             March 26 1996
  3601.  
  3602.  
  3603.    --      SYNTAX  CRLReason
  3604.    --      IDENTIFIED BY { id-ce 21 } }
  3605.  
  3606.    CRLReason ::= ENUMERATED {
  3607.         unspecified             (0),
  3608.         keyCompromise           (1),
  3609.         cACompromise            (2),
  3610.         affiliationChanged      (3),
  3611.         superseded              (4),
  3612.         cessationOfOperation    (5),
  3613.         certificateHold         (6),
  3614.         removeFromCRL           (8) }
  3615.  
  3616.    id-ce-holdInstructionCode OBJECT IDENTIFIER ::= { id-ce 23 }
  3617.  
  3618.    HoldInstructionCode ::= OBJECT IDENTIFIER
  3619.  
  3620.    member-body ID ::= { iso 2 }
  3621.    us ID ::= { member-body 840 }
  3622.    x9cm ID ::= { us 10040 }
  3623.    holdInstruction ID ::= {x9cm 2}
  3624.  
  3625.    id-holdinstruction-none ID ::= {holdInstruction 1}
  3626.    id-holdinstruction-callissuer ID ::= {holdInstruction 2}
  3627.    id-holdinstruction-reject ID ::= {holdInstruction 3}
  3628.  
  3629.    id-ce-invalidityDate OBJECT IDENTIFIER ::= { id-ce 24 }
  3630.  
  3631.    InvalidityDate ::=  GeneralizedTime
  3632.  
  3633.    -- Algorithm structures
  3634.  
  3635.         md2WithRSAEncryption OBJECT IDENTIFIER  ::=  {
  3636.             iso(1) member-body(2) US(840) rsadsi(113549) pkcs(1)
  3637.             pkcs-1(1) 2  }
  3638.  
  3639.  
  3640.         sha-1WithRSAEncryption OBJECT IDENTIFIER  ::=  {
  3641.             iso(1) identified-organization(3) oiw(14) secsig(3)
  3642.             algorithm(2) 29  }
  3643.  
  3644.         id-dsa-with-sha1 ID  ::=  {
  3645.                    iso(1) member-body(2) us(840) x9-57 (10040)
  3646.                    x9algorithm(4) 3 }
  3647.  
  3648.         Dss-Sig-Value  ::=  SEQUENCE  {
  3649.                    r       INTEGER,
  3650.                    s       INTEGER  }
  3651.  
  3652.  
  3653.  
  3654. Housley, Ford, Polk, & Solo                                    [Page 61]
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660. INTERNET DRAFT                                             March 26 1996
  3661.  
  3662.  
  3663.         pkcs-1 OBJECT IDENTIFIER ::= { iso(1) member-body(2) US(840)
  3664.                        rsadsi(113549) pkcs(1) 1 }
  3665.  
  3666.         rsaEncryption OBJECT IDENTIFIER ::=  { pkcs-1 1}
  3667.  
  3668.         dhpublicnumber OBJECT IDENTIFIER ::= { iso(1) member-body(2)
  3669.                   US(840) ansi-x942(10046) 1 }
  3670.  
  3671.         DHParameter ::= SEQUENCE {
  3672.              prime INTEGER, -- p
  3673.              base INTEGER -- g
  3674.                    }
  3675.  
  3676.         id-dsa ID ::= { iso(1) member-body(2) us(840) x9-57(10040)
  3677.                    x9algorithm(4) 1 }
  3678.  
  3679.         Dss-Parms  ::=  SEQUENCE  {
  3680.             p             INTEGER,
  3681.             q             INTEGER,
  3682.             g             INTEGER  }
  3683.  
  3684.         Dss-Sig-Value  ::=  SEQUENCE  {
  3685.             r             INTEGER,
  3686.             s             INTEGER  }
  3687.  
  3688.         id-keyEncryptionAlgorithm  OBJECT IDENTIFIER   ::=
  3689.              { 2 16 840 1 101 2 1 1 22 }
  3690.  
  3691.         KEA-Parms-Id     ::= OCTET STRING
  3692.  
  3693.    id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 14 }
  3694.    id-ce-keyUsage OBJECT IDENTIFIER ::=  { id-ce 15 }
  3695.    id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::=  { id-ce 35 }
  3696.    id-pkix-policy-CPS OBJECT IDENTIFIER ::= { pkix 4 }
  3697.  
  3698.    CPSuri ::= IA5String
  3699.  
  3700.    id-pkix-policy-userNotice OBJECT IDENTIFIER ::= { pkix 5 }
  3701.  
  3702.    UserNotice ::= CHOICE {
  3703.      visibleString     VisibleString,
  3704.      bmpString         BMPString
  3705.                          }
  3706.  
  3707.    -- x400 address syntax starts here
  3708.    --      OR Names
  3709.  
  3710.    ORAddressAndOrDirectoryName ::= ORName
  3711.  
  3712.  
  3713.  
  3714. Housley, Ford, Polk, & Solo                                    [Page 62]
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720. INTERNET DRAFT                                             March 26 1996
  3721.  
  3722.  
  3723.    ORAddressAndOptionalDirectoryName ::= ORName
  3724.  
  3725.    ORName ::= [APPLICATION 0] SEQUENCE {
  3726.       -- address -- COMPONENTS OF ORAddress,
  3727.       directory-name [0] Name OPTIONAL }
  3728.  
  3729.    ORAddress ::= SEQUENCE {
  3730.       built-in-standard-attributes BuiltInStandardAttributes,
  3731.       built-in-domain-defined-attributes
  3732.                            BuiltInDomainDefinedAttributes OPTIONAL,
  3733.       -- see also teletex-domain-defined-attributes
  3734.       extension-attributes ExtensionAttributes OPTIONAL }
  3735.    --      The OR-address is semantically absent from the OR-name if the
  3736.    --      built-in-standard-attribute sequence is empty and the
  3737.    --      built-in-domain-defined-attributes and extension-attributes are
  3738.    --      both omitted.
  3739.  
  3740.    --      Built-in Standard Attributes
  3741.    BuiltInStandardAttributes ::= SEQUENCE {
  3742.       country-name CountryName OPTIONAL,
  3743.       administration-domain-name AdministrationDomainName OPTIONAL,
  3744.       network-address      [0] NetworkAddress OPTIONAL,
  3745.       -- see also extended-network-address
  3746.       terminal-identifier  [1] TerminalIdentifier OPTIONAL,
  3747.       private-domain-name  [2] PrivateDomainName OPTIONAL,
  3748.       organization-name    [3] OrganizationName OPTIONAL,
  3749.       -- see also teletex-organization-name
  3750.       numeric-user-identifier      [4] NumericUserIdentifier OPTIONAL,
  3751.       personal-name        [5] PersonalName OPTIONAL,
  3752.       -- see also teletex-personal-name
  3753.       organizational-unit-names    [6] OrganizationalUnitNames OPTIONAL
  3754.       -- see also teletex-organizational-unit-names -- }
  3755.  
  3756.    CountryName ::= [APPLICATION 1] CHOICE {
  3757.       x121-dcc-code NumericString
  3758.                    (SIZE (ub-country-name-numeric-length)),
  3759.       iso-3166-alpha2-code PrintableString
  3760.                    (SIZE (ub-country-name-alpha-length)) }
  3761.  
  3762.    AdministrationDomainName ::= [APPLICATION 2] CHOICE {
  3763.       numeric NumericString (SIZE (0..ub-domain-name-length)),
  3764.       printable PrintableString (SIZE (0..ub-domain-name-length)) }
  3765.  
  3766.    NetworkAddress ::= X121Address
  3767.    -- see also extended-network-address
  3768.  
  3769.    X121Address ::= NumericString (SIZE (1..ub-x121-address-length))
  3770.  
  3771.  
  3772.  
  3773.  
  3774. Housley, Ford, Polk, & Solo                                    [Page 63]
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780. INTERNET DRAFT                                             March 26 1996
  3781.  
  3782.  
  3783.    TerminalIdentifier ::= PrintableString (SIZE (1..ub-terminal-id-length))
  3784.  
  3785.    PrivateDomainName ::= CHOICE {
  3786.       numeric NumericString (SIZE (1..ub-domain-name-length)),
  3787.       printable PrintableString (SIZE (1..ub-domain-name-length)) }
  3788.  
  3789.    OrganizationName ::= PrintableString (SIZE (1..ub-organization-name-length))
  3790.    -- see also teletex-organization-name
  3791.  
  3792.    NumericUserIdentifier ::= NumericString (SIZE (1..ub-numeric-user-id-length))
  3793.  
  3794.    PersonalName ::= SET {
  3795.       surname [0] PrintableString (SIZE (1..ub-surname-length)),
  3796.       given-name [1] PrintableString
  3797.                            (SIZE (1..ub-given-name-length)) OPTIONAL,
  3798.       initials [2] PrintableString (SIZE (1..ub-initials-length)) OPTIONAL,
  3799.       generation-qualifier [3] PrintableString
  3800.                    (SIZE (1..ub-generation-qualifier-length)) OPTIONAL}
  3801.    -- see also teletex-personal-name
  3802.  
  3803.    OrganizationalUnitNames ::= SEQUENCE SIZE (1..ub-organizational-units)
  3804.                                            OF OrganizationalUnitName
  3805.    -- see also teletex-organizational-unit-names
  3806.  
  3807.    OrganizationalUnitName ::= PrintableString (SIZE
  3808.                            (1..ub-organizational-unit-name-length))
  3809.  
  3810.    --      Built-in Domain-defined Attributes
  3811.    BuiltInDomainDefinedAttributes ::= SEQUENCE SIZE
  3812.                                    (1..ub-domain-defined-attributes) OF
  3813.                                    BuiltInDomainDefinedAttribute
  3814.  
  3815.    BuiltInDomainDefinedAttribute ::= SEQUENCE {
  3816.       type PrintableString (SIZE
  3817.                            (1..ub-domain-defined-attribute-type-length)),
  3818.       value PrintableString (SIZE
  3819.                            (1..ub-domain-defined-attribute-value-length)) }
  3820.    --      Extension Attributes
  3821.    ExtensionAttributes ::= SET SIZE (1..ub-extension-attributes) OF
  3822.                            ExtensionAttribute
  3823.    ExtensionAttribute ::= EXTENSION-ATTRIBUTE
  3824.  
  3825.    EXTENSION-ATTRIBUTE ::= SEQUENCE {
  3826.       extension-attribute-type [0] INTEGER (0..ub-extension-attributes) UNIQUE,
  3827.       extension-attribute-value [1] ANY DEFINED BY extension-attribute-type
  3828.                                    }
  3829.  
  3830.    ExtensionAttributeTable EXTENSION-ATTRIBUTE ::= {
  3831.  
  3832.  
  3833.  
  3834. Housley, Ford, Polk, & Solo                                    [Page 64]
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840. INTERNET DRAFT                                             March 26 1996
  3841.  
  3842.  
  3843.       common-name |
  3844.       teletex-common-name |
  3845.       teletex-organization-name |
  3846.       teletex-personal-name |
  3847.       teletex-organizational-unit-names |
  3848.       teletex-domain-defined-attributes |
  3849.       pds-name |
  3850.       physical-delivery-country-name |
  3851.       postal-code |
  3852.       physical-delivery-office-name |
  3853.       physical-delivery-office-number |
  3854.       extension-OR-address-components |
  3855.       physical-delivery-personal-name |
  3856.       physical-delivery-organization-name |
  3857.       extension-physical-delivery-address-components |
  3858.       unformatted-postal-address |
  3859.       street-address |
  3860.       post-office-box-address |
  3861.       poste-restante-address |
  3862.       unique-postal-name |
  3863.       local-postal-attributes |
  3864.       extended-network-address |
  3865.       terminal-type }
  3866.  
  3867.    --      Extension Standard Attributes
  3868.  
  3869.    common-name EXTENSION-ATTRIBUTE ::= {CommonName IDENTIFIED BY 1}
  3870.  
  3871.    CommonName ::= PrintableString (SIZE (1..ub-common-name-length))
  3872.  
  3873.    teletex-common-name EXTENSION-ATTRIBUTE ::=
  3874.                            {TeletexCommonName IDENTIFIED BY 2}
  3875.  
  3876.    TeletexCommonName ::= TeletexString (SIZE (1..ub-common-name-length))
  3877.  
  3878.    teletex-organization-name EXTENSION-ATTRIBUTE ::=
  3879.                            {TeletexOrganizationName IDENTIFIED BY 3}
  3880.  
  3881.    TeletexOrganizationName ::= TeletexString (SIZE (1..ub-organization-name-length))
  3882.  
  3883.    teletex-personal-name EXTENSION-ATTRIBUTE ::=
  3884.                            {TeletexPersonalName IDENTIFIED BY 4}
  3885.  
  3886.    TeletexPersonalName ::= SET {
  3887.       surname [0] TeletexString (SIZE (1..ub-surname-length)),
  3888.       given-name [1] TeletexString (SIZE (1..ub-given-name-length)) OPTIONAL,
  3889.       initials [2] TeletexString (SIZE (1..ub-initials-length)) OPTIONAL,
  3890.       generation-qualifier [3] TeletexString (SIZE
  3891.  
  3892.  
  3893.  
  3894. Housley, Ford, Polk, & Solo                                    [Page 65]
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900. INTERNET DRAFT                                             March 26 1996
  3901.  
  3902.  
  3903.                             (1..ub-generation-qualifier-length)) OPTIONAL }
  3904.  
  3905.    teletex-organizational-unit-names EXTENSION-ATTRIBUTE ::=
  3906.       {TeletexOrganizationalUnitNames IDENTIFIED BY 5}
  3907.  
  3908.    TeletexOrganizationalUnitNames ::= SEQUENCE SIZE
  3909.            (1..ub-organizational-units) OF TeletexOrganizationalUnitName
  3910.  
  3911.    TeletexOrganizationalUnitName ::= TeletexString
  3912.                            (SIZE (1..ub-organizational-unit-name-length))
  3913.  
  3914.    pds-name EXTENSION-ATTRIBUTE ::= {PDSName IDENTIFIED BY 7}
  3915.  
  3916.    PDSName ::= PrintableString (SIZE (1..ub-pds-name-length))
  3917.  
  3918.    physical-delivery-country-name EXTENSION-ATTRIBUTE ::=
  3919.       {PhysicalDeliveryCountryName IDENTIFIED BY 8}
  3920.  
  3921.    PhysicalDeliveryCountryName ::= CHOICE {
  3922.       x121-dcc-code NumericString (SIZE (ub-country-name-numeric-length)),
  3923.       iso-3166-alpha2-code PrintableString
  3924.                            (SIZE (ub-country-name-alpha-length)) }
  3925.  
  3926.    postal-code EXTENSION-ATTRIBUTE ::= {PostalCode IDENTIFIED BY 9}
  3927.  
  3928.    PostalCode ::= CHOICE {
  3929.       numeric-code NumericString (SIZE (1..ub-postal-code-length)),
  3930.       printable-code PrintableString (SIZE (1..ub-postal-code-length)) }
  3931.  
  3932.    physical-delivery-office-name EXTENSION-ATTRIBUTE ::=
  3933.                            {PhysicalDeliveryOfficeName IDENTIFIED BY 10}
  3934.  
  3935.    PhysicalDeliveryOfficeName ::= PDSParameter
  3936.  
  3937.    physical-delivery-office-number EXTENSION-ATTRIBUTE ::=
  3938.       {PhysicalDeliveryOfficeNumber IDENTIFIED BY 11}
  3939.  
  3940.    PhysicalDeliveryOfficeNumber ::= PDSParameter
  3941.  
  3942.    extension-OR-address-components EXTENSION-ATTRIBUTE ::=
  3943.       {ExtensionORAddressComponents IDENTIFIED BY 12}
  3944.  
  3945.    ExtensionORAddressComponents ::= PDSParameter
  3946.  
  3947.    physical-delivery-personal-name EXTENSION-ATTRIBUTE ::=
  3948.       {PhysicalDeliveryPersonalName IDENTIFIED BY 13}
  3949.  
  3950.    PhysicalDeliveryPersonalName ::= PDSParameter
  3951.  
  3952.  
  3953.  
  3954. Housley, Ford, Polk, & Solo                                    [Page 66]
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960. INTERNET DRAFT                                             March 26 1996
  3961.  
  3962.  
  3963.    physical-delivery-organization-name EXTENSION-ATTRIBUTE ::=
  3964.       {PhysicalDeliveryOrganizationName IDENTIFIED BY 14}
  3965.  
  3966.    PhysicalDeliveryOrganizationName ::= PDSParameter
  3967.  
  3968.    extension-physical-delivery-address-components EXTENSION-ATTRIBUTE ::=
  3969.       {ExtensionPhysicalDeliveryAddressComponents IDENTIFIED BY 15}
  3970.  
  3971.    ExtensionPhysicalDeliveryAddressComponents ::= PDSParameter
  3972.  
  3973.    unformatted-postal-address EXTENSION-ATTRIBUTE ::=
  3974.                            {UnformattedPostalAddress IDENTIFIED BY 16}
  3975.  
  3976.    UnformattedPostalAddress ::= SET {
  3977.       printable-address SEQUENCE SIZE (1..ub-pds-physical-address-lines) OF
  3978.               PrintableString (SIZE (1..ub-pds-parameter-length)) OPTIONAL,
  3979.       teletex-string TeletexString (SIZE
  3980.                             (1..ub-unformatted-address-length)) OPTIONAL }
  3981.  
  3982.    street-address EXTENSION-ATTRIBUTE ::=
  3983.                    {StreetAddress IDENTIFIED BY 17}
  3984.  
  3985.    StreetAddress ::= PDSParameter
  3986.  
  3987.    post-office-box-address EXTENSION-ATTRIBUTE ::=
  3988.                    {PostOfficeBoxAddress IDENTIFIED BY 18}
  3989.  
  3990.    PostOfficeBoxAddress ::= PDSParameter
  3991.  
  3992.    poste-restante-address EXTENSION-ATTRIBUTE ::=
  3993.                    {PosteRestanteAddress IDENTIFIED BY 19}
  3994.  
  3995.    PosteRestanteAddress ::= PDSParameter
  3996.  
  3997.    unique-postal-name EXTENSION-ATTRIBUTE ::=
  3998.                    {UniquePostalName IDENTIFIED BY 20}
  3999.  
  4000.    UniquePostalName ::= PDSParameter
  4001.  
  4002.    local-postal-attributes EXTENSION-ATTRIBUTE ::=
  4003.                    {LocalPostalAttributes IDENTIFIED BY 21}
  4004.  
  4005.    LocalPostalAttributes ::= PDSParameter
  4006.  
  4007.    PDSParameter ::= SET {
  4008.       printable-string PrintableString (SIZE(1..ub-pds-parameter-length)) OPTIONAL,
  4009.       teletex-string TeletexString (SIZE(1..ub-pds-parameter-length)) OPTIONAL }
  4010.  
  4011.  
  4012.  
  4013.  
  4014. Housley, Ford, Polk, & Solo                                    [Page 67]
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020. INTERNET DRAFT                                             March 26 1996
  4021.  
  4022.  
  4023.    extended-network-address EXTENSION-ATTRIBUTE ::=
  4024.                            {ExtendedNetworkAddress IDENTIFIED BY 22}
  4025.  
  4026.    ExtendedNetworkAddress ::= CHOICE {
  4027.  
  4028.       e163-4-address SEQUENCE {
  4029.            number [0] NumericString (SIZE (1..ub-e163-4-number-length)),
  4030.            sub-address [1] NumericString
  4031.                            (SIZE (1..ub-e163-4-sub-address-length)) OPTIONAL },
  4032.            psap-address [0] PresentationAddress }
  4033.  
  4034.    terminal-type EXTENSION-ATTRIBUTE ::= {TerminalType IDENTIFIED BY 23}
  4035.  
  4036.    TerminalType ::= INTEGER {
  4037.       telex (3),
  4038.       teletex (4),
  4039.       g3-facsimile (5),
  4040.       g4-facsimile (6),
  4041.       ia5-terminal (7),
  4042.       videotex (8) } (0..ub-integer-options)
  4043.  
  4044.    --      Extension Domain-defined Attributes
  4045.  
  4046.    teletex-domain-defined-attributes EXTENSION-ATTRIBUTE ::=
  4047.       {TeletexDomainDefinedAttributes IDENTIFIED BY 6}
  4048.  
  4049.    TeletexDomainDefinedAttributes ::= SEQUENCE SIZE
  4050.       (1..ub-domain-defined-attributes) OF TeletexDomainDefinedAttribute
  4051.  
  4052.    TeletexDomainDefinedAttribute ::= SEQUENCE {
  4053.        type TeletexString (SIZE (1..ub-domain-defined-attribute-type-length)),
  4054.        value TeletexString (SIZE (1..ub-domain-defined-attribute-value-length)) }
  4055.  
  4056.    --  specifications of Upper Bounds
  4057.    --  must be regarded as mandatory
  4058.    --  from Annex B of ITU-T X.411
  4059.    --  Reference Definition of MTS Parameter Upper Bounds
  4060.  
  4061.    --      Upper Bounds
  4062.    ub-additional-info INTEGER ::= 1024
  4063.    ub-bilateral-info INTEGER ::= 1024
  4064.    ub-bit-options INTEGER ::= 16
  4065.    ub-built-in-content-type INTEGER ::= 32767
  4066.    ub-built-in-encoded-information-types INTEGER ::= 32
  4067.    ub-common-name-length INTEGER ::= 64
  4068.    ub-content-correlator-length INTEGER ::= 512
  4069.    ub-content-id-length INTEGER ::= 16
  4070.    ub-content-length INTEGER ::= 2147483647   -- the largest integer in 32 bits
  4071.  
  4072.  
  4073.  
  4074. Housley, Ford, Polk, & Solo                                    [Page 68]
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080. INTERNET DRAFT                                             March 26 1996
  4081.  
  4082.  
  4083.    ub-content-types INTEGER ::= 1024
  4084.    ub-country-name-alpha-length INTEGER ::= 2
  4085.    ub-country-name-numeric-length INTEGER ::= 3
  4086.    ub-diagnostic-codes INTEGER ::= 32767
  4087.    ub-deliverable-class INTEGER ::= 256
  4088.    ub-dl-expansions INTEGER ::= 512
  4089.    ub-domain-defined-attributes INTEGER ::= 4
  4090.    ub-domain-defined-attribute-type-length INTEGER ::= 8
  4091.    ub-domain-defined-attribute-value-length INTEGER ::= 128
  4092.    ub-domain-name-length INTEGER ::= 16
  4093.    ub-encoded-information-types INTEGER ::= 1024
  4094.    ub-extension-attributes INTEGER ::= 256
  4095.    ub-extension-types INTEGER ::= 256
  4096.    ub-e163-4-number-length INTEGER ::= 15
  4097.    ub-e163-4-sub-address-length INTEGER ::= 40
  4098.    ub-generation-qualifier-length INTEGER ::= 3
  4099.    ub-given-name-length INTEGER ::= 16
  4100.    ub-initials-length INTEGER ::= 5
  4101.    ub-integer-options INTEGER ::= 256
  4102.    ub-labels-and-redirections INTEGER ::= 256
  4103.    ub-local-id-length INTEGER ::= 32
  4104.    ub-mta-name-length INTEGER ::= 32
  4105.    ub-mts-user-types INTEGER ::= 256
  4106.    ub-numeric-user-id-length INTEGER ::= 32
  4107.    ub-organization-name-length INTEGER ::= 64
  4108.    ub-organizational-unit-name-length INTEGER ::= 32
  4109.    ub-organizational-units INTEGER ::= 4
  4110.    ub-orig-and-dl-expansions INTEGER ::= 513   -- ub-dl-expansions plus one
  4111.    ub-password-length INTEGER ::= 62
  4112.    ub-pds-name-length INTEGER ::= 16
  4113.    ub-pds-parameter-length INTEGER ::= 30
  4114.    ub-pds-physical-address-lines INTEGER ::= 6
  4115.    ub-postal-code-length INTEGER ::= 16
  4116.    ub-privacy-mark-length INTEGER ::= 128
  4117.    ub-queue-size INTEGER ::= 2147483647    -- the largest integer in 32 bits
  4118.    ub-reason-codes INTEGER ::= 32767
  4119.    ub-recipient-number-for-advice-length INTEGER ::= 32
  4120.    ub-recipients INTEGER ::= 32767
  4121.    ub-redirection-classes INTEGER ::= 256
  4122.    ub-redirections INTEGER ::= 512
  4123.    ub-restrictions INTEGER ::= 1024
  4124.    ub-security-categories INTEGER ::= 64
  4125.    ub-security-labels INTEGER ::= 256
  4126.    ub-security-problems INTEGER ::= 256
  4127.    ub-supplementary-info-length INTEGER ::= 256
  4128.    ub-surname-length INTEGER ::= 40
  4129.    ub-teletex-private-use-length INTEGER ::= 128
  4130.    ub-terminal-id-length INTEGER ::= 24
  4131.  
  4132.  
  4133.  
  4134. Housley, Ford, Polk, & Solo                                    [Page 69]
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140. INTERNET DRAFT                                             March 26 1996
  4141.  
  4142.  
  4143.    ub-transfers INTEGER ::= 512
  4144.    ub-tsap-id-length INTEGER ::= 16
  4145.    ub-unformatted-address-length INTEGER ::= 180
  4146.    ub-x121-address-length INTEGER ::= 16
  4147.  
  4148.    -- Note - upper bounds on TeletexString are measured in characters.
  4149.    -- A significantly greater number of octets will be required to hold
  4150.    -- such a value.  As a minimum, 16 octets, or twice the specified upper
  4151.    -- bound, whichever is the larger, should be allowed.
  4152.  
  4153.    END
  4154.  
  4155.    References
  4156.  
  4157.    [COR95]    ISO/IEC JTC 1/SC 21, Technical Corrigendum 2 to ISO/IEC
  4158.    9594-8:             1990 & 1993 (1995:E), July 1995.
  4159.  
  4160.    [FIPS 180-1]  Federal Information Processing Standards Publication
  4161.               (FIPS PUB) 180-1, Secure Hash Standard, 17 April 1995.
  4162.               [Supersedes FIPS PUB 180 dated 11 May 1993.]
  4163.  
  4164.    [FIPS 186] Federal Information Processing Standards Publication
  4165.               (FIPS PUB) 186, Digital Signature Standard, 18 May 1994.
  4166.  
  4167.    [PKCS#1]   PKCS #1: RSA Encryption Standard, Version 1.4, RSA Data
  4168.               Security, Inc., 3 June 1991.
  4169.  
  4170.    [RC95]     Rogier, N. and Chauvaud, P., "The compression function of
  4171.               MD2 is not collision free," Presented at Selected Areas in
  4172.               Cryptography '95, Carleton University, Ottawa, Canada,
  4173.               18-19 May 1995.
  4174.  
  4175.    [RFC 1319] Kaliski, B., "The MD2 Message-Digest Algorithm," RFC 1319,
  4176.               RSA Laboratories, April 1992.
  4177.  
  4178.    [RFC 1422] Kent, S.,  "Privacy Enhancement for Internet Electronic
  4179.               Mail: Part II: Certificate-Based Key Management," RFC
  4180.               1422, BBN Communications, February 1993.
  4181.  
  4182.    [RFC 1423] Balenson, D., "Privacy Enhancement for Internet Electronic
  4183.               Mail: Part III: Algorithms, Modes, and Identifiers,"
  4184.               RFC 1423, Trusted Information Systems, February 1993.
  4185.  
  4186.    [RFC 1738] T. Berners-Lee, L. Masinter & M. McCahill, "Uniform
  4187.    Resource            Locators (URL)," December 1994.
  4188.  
  4189.    [RFC 1777] W. Yeong, T. Howes & S. Kille, "Lightweight Directory
  4190.               Access Protocol," March 1995.
  4191.  
  4192.  
  4193.  
  4194. Housley, Ford, Polk, & Solo                                    [Page 70]
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200. INTERNET DRAFT                                             March 26 1996
  4201.  
  4202.  
  4203.    [RFC 1959] T. Howes, M. Smith, "An LDAP URL Format", RFC 1959,
  4204.               June 1996.
  4205.  
  4206.    [SDN.701R] SDN.701, "Message Security Protocol", Revision 4.0
  4207.               1996-06-07 with "Corrections to Message Security Protocol,
  4208.               SDN.701, Rev 4.0, 96-06-07." August 30, 1996.
  4209.  
  4210.    [X.208]    CCITT Recommendation X.208: Specification of Abstract
  4211.               Syntax Notation One (ASN.1), 1988.
  4212.  
  4213.    [X.509-AM] ISO/IEC JTC1/SC 21, Draft Amendments DAM 4 to ISO/IEC
  4214.               9594-2, DAM 2 to ISO/IEC 9594-6, DAM 1 to ISO/IEC 9594-7,
  4215.               and DAM 1 to ISO/IEC 9594-8 on Certificate Extensions,
  4216.               1 December, 1996.
  4217.  
  4218.    [X9.55]    ANSI X9.55-1995, Public Key Cryptography For The Financial
  4219.               Services Industry: Extensions To Public Key Certificates
  4220.               And Certificate Revocation Lists, 8 December, 1995.
  4221.  
  4222.    [X9.57]    ANSI X9.57-199x, Public Key Cryptography For The Financial
  4223.               Services Industry: Certificate Management (Working Draft),
  4224.               21 June, 1996.
  4225.  
  4226. Patent Statements
  4227.  
  4228.    The Internet PKI relies on the use of patented public key technology.
  4229.    The Internet Standards Process as defined in RFC 1310 requires a
  4230.    written statement from the Patent holder that a license will be made
  4231.    available to applicants under reasonable terms and conditions prior
  4232.    to approving a specification as a Proposed, Draft or Internet
  4233.    Standard.
  4234.  
  4235.    Patent statements for DSA, RSA, and Diffie-Hellman follow.  These
  4236.    statements have been supplied by the patent holders, not the authors
  4237.    of this profile.
  4238.  
  4239.    This specification relies on the use of patented public key
  4240.    encryption technology and secure hash technology for digital
  4241.    signature services.  This specification also references public key
  4242.    encryption technology for provisioning key exchange services.
  4243.  
  4244.    The Internet Standards Process as defined in RFC 1310 requires a
  4245.    written statement from the Patent holder that a license will be made
  4246.    available to applicants under reasonable terms and conditions prior
  4247.    to approving a specification as a Proposed, Draft or Internet
  4248.    Standard.
  4249.  
  4250.    The Internet Society, Internet Architecture Board, Internet
  4251.  
  4252.  
  4253.  
  4254. Housley, Ford, Polk, & Solo                                    [Page 71]
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260. INTERNET DRAFT                                             March 26 1996
  4261.  
  4262.  
  4263.    Engineering Steering Group and the Corporation for National Research
  4264.    Initiatives take no position on the validity or scope of the
  4265.    following patents and patent applications, nor on the appropriateness
  4266.    of the terms of the assurance. The Internet Society and other groups
  4267.    mentioned above have not made any determination as to any other
  4268.    intellectual property rights which may apply to the practice of this
  4269.    standard.  Any further consideration of these matters is the user's
  4270.    own responsibility.
  4271.  
  4272.    Digital Signature Algorithm (DSA)
  4273.  
  4274.       The U.S. Government holds patent 5,231,668 on the Digital
  4275.       Signature Algorithm (DSA), which has been incorporated into
  4276.       Federal Information Processing Standard (FIPS) 186.  The patent
  4277.       was issued on July 27, 1993.
  4278.  
  4279.       The National Institute of Standards and Technology (NIST) has a
  4280.       long tradition of supplying U.S. Government-developed techniques
  4281.       to committees and working groups for inclusion into standards on a
  4282.       royalty-free basis.  NIST has made the DSA patent available
  4283.       royalty-free to users worldwide.
  4284.  
  4285.       Regarding patent infringement, FIPS 186 summarizes our position;
  4286.       the Department of Commerce is not aware of any patents that would
  4287.       be infringed by the DSA.  Questions regarding this matter may be
  4288.       directed to the Deputy Chief Counsel for NIST.
  4289.  
  4290.    RSA Signature and Encryption
  4291.  
  4292.       <<A revised patent statement for RSA from RSADSI is needed. >>
  4293.  
  4294.       The Massachusetts Institute of Technology has granted RSA Data
  4295.       Security, Inc., exclusive sub-licensing rights to the following
  4296.       patent issued in the United States:
  4297.  
  4298.       Cryptographic Communications System and Method ("RSA"), No.
  4299.       4,405,829
  4300.  
  4301.  
  4302.    Diffie-Hellman Key Agreement and Hellman-Merkle Public Key
  4303.    Cryptography
  4304.  
  4305.       I.      Patents Relevant To Public Key Standards
  4306.  
  4307.       On September 6, 1995, Cylink Corporation obtained an order of
  4308.       dissolution for Public Key Partners.  Cylink, through its wholly
  4309.       owned subsidiary Caro-Kann Corporation, now holds exclusive
  4310.       sublicensing rights to certain patents owned by Stanford
  4311.  
  4312.  
  4313.  
  4314. Housley, Ford, Polk, & Solo                                    [Page 72]
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320. INTERNET DRAFT                                             March 26 1996
  4321.  
  4322.  
  4323.       University, including the following:
  4324.  
  4325.          Cryptographic Apparatus and Method
  4326.          ("Diffie-Hellman")......................... No. 4,200,770
  4327.  
  4328.          Public Key Cryptographic Apparatus
  4329.          and Method ("Hellman-Merkle").............. No. 4,218,582
  4330.  
  4331.       These patents cover all known methods of practicing the art of
  4332.       Public Key, including the signature techniques known as DSS and
  4333.       RSA.
  4334.  
  4335.       II.     Cylink's Licensing Policy
  4336.  
  4337.       It is Cylink's policy to license the foregoing patents in
  4338.       accordance with the guidelines of the American National Standards
  4339.       Institute, the IEEE, and the IETF to any party interested in
  4340.       practicing Public Key Technology. A copy of Cylink's standard
  4341.       terms and conditions is enclosed.
  4342.  
  4343.       III.    Licensing Fees
  4344.  
  4345.       The standard terms require the payment of a single License Fee at
  4346.       the time of execution.  No royalties or annual payments are
  4347.       required. The current fee schedule is available on request from
  4348.       Cylink, c/o Robert B. Fougner, Esq. (e-mail fougner@cylink.com).
  4349.       In addition, in order to promote royalty free public key
  4350.       standards, Cylink authorizes any of its existing or future
  4351.       licensees to provide a royalty free reference implementation for
  4352.       commercial use of any accredited standard in accordance with the
  4353.       attached statement.
  4354.  
  4355.       Cylink Statement on Royalty Free Reference Implementations
  4356.  
  4357.       CYLINK'S SUPPORT FOR OPEN PUBLIC KEY STANDARDS EXISTING AND
  4358.       PROSPECTIVE CYLINK LICENSEES OF THE STANFORD PUBLIC KEY PATENTS
  4359.       MAY SUPPLEMENT THEIR LICENSES IN ACCORDANCE WITH THE FOLLOWING
  4360.       STATEMENT:
  4361.  
  4362.       STATEMENT OF PATENT POSITION
  4363.       Cylink Corporation, through its wholly owned subsidiary Caro-Kann
  4364.       Corporation, holds exclusive sublicensing rights to the following
  4365.       U.S. patents owned by the Leland Stanford Junior University:
  4366.  
  4367.          Cryptographic Apparatus and Method
  4368.          ("Diffie-Hellman")......................... No. 4,200,770
  4369.  
  4370.          Public Key Cryptographic Apparatus
  4371.  
  4372.  
  4373.  
  4374. Housley, Ford, Polk, & Solo                                    [Page 73]
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380. INTERNET DRAFT                                             March 26 1996
  4381.  
  4382.  
  4383.          and Method ("Hellman-Merkle").............. No. 4,218,582
  4384.  
  4385.       In order to promote the widespread use of these inventions from
  4386.       Stanford University and adoption of the [Name Standard] reference,
  4387.       [Name of Licensee] has acquired the right under its sublicense
  4388.       from Cylink to offer the [Name Standard]reference implementation
  4389.       to all third parties on a royalty free basis.  This royalty free
  4390.       privilege is limited to use of the [Name Standard] reference
  4391.       implementation in accordance with proposed, pending or approved
  4392.       [Name of Accredited Standards Body]standards, and applies only
  4393.       when used with Diffie-Hellman key exchange, the Digital Signature
  4394.       Standard, or any other public key techniques which are publicly
  4395.       available for commercial use on a royalty free basis.  Any use of
  4396.       the [Name Standard] reference implementation which does not
  4397.       satisfy these conditions and incorporates the practice of public
  4398.       key may require a separate patent license to the Stanford Patents
  4399.       which must be negotiated with Cylink's subsidiary, Caro-Kann
  4400.       Corporation.
  4401.  
  4402. Security Considerations
  4403.  
  4404.    This entire memo is about security mechanisms.
  4405.  
  4406. Author Addresses:
  4407.  
  4408.    Russell Housley
  4409.    SPYRUS
  4410.    PO Box 1198
  4411.    Herndon, VA 20172
  4412.    USA
  4413.    housley@spyrus.com
  4414.  
  4415.    Warwick Ford
  4416.    VeriSign, Inc.
  4417.    One Alewife Center
  4418.    Cambridge, MA 02140
  4419.    USA
  4420.    wford@verisign.com
  4421.  
  4422.    Tim Polk
  4423.    NIST
  4424.    Building 820, Room 426
  4425.    Gaithersburg, MD 20899
  4426.    USA
  4427.    wpolk@nist.gov
  4428.  
  4429.    David Solo
  4430.    BBN
  4431.  
  4432.  
  4433.  
  4434. Housley, Ford, Polk, & Solo                                    [Page 74]
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440. INTERNET DRAFT                                             March 26 1996
  4441.  
  4442.  
  4443.    150 CambridgePark Drive
  4444.    Cambridge, MA 02140
  4445.    USA
  4446.    solo@bbn.com
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494. Housley, Ford, Polk, & Solo                                    [Page 75]
  4495.  
  4496.  
  4497.