<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc='yes'?>
<?rfc compact='yes'?>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt"?>
<rfc ipr="full3978" docName="draft-ietf-ltans-notareqs-02.txt" category="info">
  <front>
    <title abbrev="Data Certification Requirements">Requirements for Data Validation and Certification 
      Services</title>
    <author initials="A.U." surname="Schmidt" fullname="Andreas U. Schmidt">
      <organization>Fraunhofer SIT</organization>
      <address>
        <postal>
          <street>Dolivostrasse 15</street>
          <city>Darmstadt</city>
          <code>64293</code>
          <country>Germany</country>
        </postal>
        <phone>+49 (6151) 869 60 227</phone>
        <facsimile>+49 (6151) 869 704</facsimile>
        <email>Andreas.U.Schmidt@sit.fraunhofer.de</email>
        <uri>http://www.math.uni-frankfurt.de/~aschmidt</uri>
      </address>
    </author>
    <author initials="T." surname="Gondrom" fullname="Tobias Gondrom">
      <organization>Open Text Corporation</organization>
      <address>
        <postal>
          <street>Technopark 2</street>
          <street>Werner-von-Siemens-Ring 20</street>
          <city>Grasbrunn</city>
          <region>Munich</region>
          <code>D-85630</code>
          <country>Germany</country>
        </postal>
	<phone>+49 (0) 89 4629-1816</phone>
        <facsimile>+49 (0) 89 4629-33-1816</facsimile>
        <email>tobias.gondrom@opentext.com</email>
      </address>
    </author>
    <author initials="L." surname="Masinter" fullname="Larry Masinter">
      <organization>Adobe Systems</organization>
      <address>
        <postal>
          <street>345 Park Ave</street>
          <city>San Jose</city>
          <region>CA</region>
          <code>95110</code>
          <country>US</country>
        </postal>
        <phone>+1 408 536 3024</phone>
        <email>LMM@acm.org</email>
        <uri>http://larry.masinter.net</uri>
      </address>
    </author>
    <date day="20" month="June" year="2005" />
    <area>Security</area>
    <abstract>
      <t>This document establishes the goals and requirements for protocols and 
        data structures for use with services that provide additional means for 
        users to ensure and prove the validity of data, especially digitally 
        signed data, in a common and reproducible way. The data being validated
        may correspond to assertions about real-world facts or events.
        This document establishes the need 
        for components to be used in addition to or in conjunction with
        long-term archive services. It 
        provides some use cases and scenarios, and establishes technical 
        requirements for protocols and data structures to support them.</t>
    </abstract>
  </front>
  <middle>
    <section title="Introduction">
      <t> In many scenarios, users need to be able to ensure and prove the 
        existance and validity of documents and data, including digitally 
        signed data, in a common and reproducible way, over a long period of 
        time. A long-term archive service<xref target="I-D.ietf-ltans-reqs" /> may provide 
        assurances about the integrity of data and past validity of digital 
        signatures. However, additional mechanisms are required, in real 
        workflows, to provide the technical means to satisfy user 
        requirements. In many circumstances, the documents or data being validated or
        signed corresponds to assertions about real-world facts or events;
        for example, a contract or a business record. </t>
      <t>Usually, the scenarios for long-term validation involve a trusted third
        party who is willing, over a period of time, to accept data and validate it,
        or to witness events; the trusted third party offers to subsequently
        make assertions about those events or 
        data. In many legal jurisdictions, a 'notary' is a person with 
        credentials recognized by that jurisdiction to perform these services, 
        in a way that gives their certification a special legal standing. 
        Indeed, some types of transactions may require an official 
        certification by someone with specific notary credentials.</t>
      <t> This document establishes the goals and requirements for protocols 
        and data structures for use with services that provide additional means 
        for users to ensure and prove the validity of data, especially 
        digitally signed data, in a common and reproducible way. It provides 
        some use cases and scenarios, and establishes technical requirements 
        for protocols and data structures to support them. </t>
    </section>
    <section title="General Requirements">
      <t>It is desirable that the protocols and data structures established be 
        usable by an official notary to provide appropriate assertions for 
        electronic documents. Of course, nothing in a technical document can 
        provide for legal standing of any such assertions. </t>
      <t> Requirements for data certification services may vary widely across 
        different processes and jurisdictions. For this reason, the technical 
        standards for data certification should provide a common base of 
        mechanisms, useful across jurisdictions and work processes, and the 
        means for extending these to support particular additional workflows. 
        </t>
    </section>
    <section title="Use cases">
      <t> This section gives some examples workflows where data certification 
        services and assertions by trusted third parties might be used, as a 
        way of motivating the subsequent requirements.
        
      <list style="hanging"> 
        <t hangText="record transactions: "> In the case of an agreement 
        between two (or more) parties, a trusted third party records the 
        transaction, and the fact that all of the parties agreed to the final 
        documents and that all of the necessary information has been provided 
        to all of the involved parties. The trusted third party acts as a 
        witness to the agreement at the time it is made, and, at a later date, 
        may be called upon to attest to the validity of the agreement. This 
        kind of service might be used for a contract between individuals, e.g., 
        a private transfer of ownership of private property, or a public 
        transfer of ownership of land.</t>
      <t hangText="negotiation support: "> 
        In some cases, a trusted third party is used during the negotiation of 
        a complex agreement in order to support the mechanisms of coming to the 
        agreement. For example, a trusted third party might gather and store 
        the documents during the course of a negotiation, making it impossible 
        for any party to delete the document or repudiate a partial agreement; 
        there might be time deadlines established for submitting information or 
        approvals, or information may be held back from release until a 
        particular time. For example, this kind of service might be used for 
        the awarding of public contracts based on private bids. </t>
      <t hangText="certification of copies and conversions: "> In many cases, a 
        trusted third party or service is used to certify the validity of a 
        transformation or translation of a document from one form to another. 
        Classically, a notary might attest to the validity of a paper copy of a 
        document. The ability to attest to the validity of a wide variety of 
        transformations are important, including the transformation of 
        documents from one electronic format to another, or possibly the 
        validity of conversion between paper and electronic forms. The third 
        party should be able to attest that one document contains the same 
        information as another and the validity of all contained digital 
        signatures and the identity of the signers. </t>
      <t hangText="record events: "> In this case, a trusted third party or 
        service is used to document and later provide proof that a certain 
        event has happened. Initially, the service identifies the involved 
        entities and verifies that all necessary preconditions are met. After 
        this, an event or ceremony is held; during the event, the service 
        ensures that all entities understood and received all appropriate 
        information about the event and its consequences. After the event, a 
        record of the event is issued to all of the entities; additional copies 
        are retained for later documentation. </t>
       <t hangText="administering of oaths: "> In some cases, the event being 
        recorded is the performance, by an individual, of a particular 
        agreement or 'oath'. The trusted third party is used to document and 
        later provide proof that an individual has made a particular statement 
        or agreement, in a specified ceremony or event. </t> 
       <t hangText="evidence management: "> Transactions between parties
        over the Internet may have records of those transactions. In general,
        it is desirable to have services which accept, verify, record, and
        later provide evidence of those records. In many cases, this may
        involve creating a certified archive of detailed and signed logs.
        </t>
      </list>
     </t>
    </section>
        <section title="Specific workflows">
      <t> This sections describes some concrete scenarios based on the use 
        cases introduced in the previous section.</t>
      <section title="Record transactions">
        <t> The following example will show the additional benefits of a certification 
          service in the case of private transactions. We start with a basic 
          protocol that achieves, upon completion, a state of mutual 
          non-repudiation between two parties, A and B. Suppose, A wants to 
          offer an electronic contract (contract_A) to B, where "contract_A" 
          means that A has digitally signed the contract with her private key. 
          This is sent as an offer to B:  </t>
            <figure><artwork>contract_A -> B</artwork></figure>
        <t> B, after receiving and accepting contract_A, counter-signs the 
          contract and sends it back to A as an acceptance of A's offer: </t>
          <figure><artwork>(contract_A)_B -> A</artwork></figure> 
        <t> Now, A has to confirm reception of the acceptance. He signs 
          (contract_A)_B and sends it back to B: </t>
          <figure><artwork>((contract_A)_B)_A -> B</artwork></figure> 
        <t> After that, both parties have a document with at least two 
          signatures, and neither party can succeed in repudiating the validity 
          of the contract. </t>
        <t> Now let's see what happens when we put a certification service N as a 
          trusted third party between A and B. When B gets the contract from A 
          and accepts it, he signs the contract and sends it to N: </t>
          <figure><artwork>(contract_A)_B -> N</artwork></figure> 
        <t> The certification service confirms receipt of the contract with a signature and 
          sends it to both A and B:</t>
          <figure><artwork>((contract_A)_B)_N -> A, B</artwork></figure> 
        <t> After that, both parties have a document signed by A, B, and N. 
          Since N is trusted, A and B can be sure that the other party has a 
          contract which is signed by both. We have the same level of trust as 
          in the scenario without the certification service. However, an additional 
          benefit of using a certification service in this case can be the archiving
          of the contract, as may be required by the law for certain types of 
          contracts. </t>
        <t> In order to allow for N to provide documentation that all necessary 
          information has been provided to both parties, the scenario can be 
          extended as follows: </t>
        <t> When A and B get the confirmation ((contract_A)_B)_N from N, both A 
          and B send an acknowledgement to N:</t>
          
         <figure><artwork>ack_A -> N ack_B -> N</artwork></figure> 
        <t> After N received the two acknowledgements he sends a notification 
          to both A and B that confirms that the transaction is completed: </t>
          <figure><artwork>not_N -> A, B</artwork></figure> 
        <t> For both ack_A/B and not_N it suffices to contain (sufficiently 
          secure) hash values of the pertaining original documents, and the 
          same is true for the third message sent from N in the 
          protocol above, but not for the second one, if the contract is to be 
          archived by N. </t>
        <t> The utility of certification services in these generic scenarios is 
          twofold: They can accomplish the fulfillment of technical 
          requirements, e.g., archiving of transaction records, which may in 
          turn be entailed by legal requirements. And they can be instrumental 
          in the fulfillment of genuine legal requirements, like documentation 
          that all necessary information has been provided to all involved 
          parties. </t>
      </section>
      <section title="Archiving signed document">
        <t>
A signed document enters an archive. Initially, the 
signature is  validated (there is not much
point to archive a document with invalid signatures, although such scenarios are also
possible). We need is a fixation in time that signature (and document) existed at
some point in time (the archiving time). Providing evidence for a document is
not a problem;  a signature there are some sequence issues.
</t><t>
Preserving signatures is based on reference information and evidence record.
Let's start with T1, when a CRL has been issued and the next time the CRL is
issued is marked with T5. Now we need to collect some reference information
(certificates, CRLs, etc.), validate the signature and pack everything
together before creating the evidence record (timestamp). At time T2 a
timestamp is requested for collected data following by timestamp issued at
T3. Until T5 we have enough time to revoke the certificate related to
digital signature archived, which happens at T4 and we can end up with
archived invalid signature, although it was submitted to the archive before
revocation happened.
</t><t>
The problem with CRLs is that they might not be synchronized with revocation
mechanisms and there is no real information whether a signature is valid or
not at specific point in time. In theory CRLs should be issued immediately
after a certificate is revoked, but in practice things are not the same,
since the procedure itself already has some timeframe (the ideal solution is
to stop the time during the validation process).
</t><t>
Now, there are options to use more than one evidence record for a single
data (signature) but such procedures might get overall concept
very complicated and bulky, especially when performing procedures over
groups of data. 
</t><t>

The archive package should contain the CRL used to verify the transaction.
That coupled with other times will show when the transaction was received
and processed.
</t><t>
When speed is of not essence, the relying party can always wait for a CRL
issued after the transaction was received to verify.  This will ensure that
the certificate was not revoked in the interim.  Relying party can use the
later CRL for archiving the transaction.
</t><t>
An evidence record is
relative to a single time T1, e.g. the time of submission to the archive.
Retroactive revocation would need to be considered before committing the
data to an archive and initiating an evidence record. Even if a CRL were issued immediately
when a cert was revoked, it's revocation time might be before T1.  It
is unlikely that retroactive revocation applied after several periodic
refresh operations (which should be relatively infrequent) at time T4 should
invalidate a signature generated at, or before, time T1.  

</t>
    </section>
    </section>
    <section title="Technical Requirements">
      <t> This section describes some of technical requirements associated with 
        certification services

 </t>
    <section title="Representations for Assertions">
     <t> The primary technical requirement is for a data structure
       that can represent the assertion, by the certification service,
      that a particular service has been performed. The data structure
      should include the identity (as known) of the participants,
      the credentials of the certification service and its operator,
      the date and time that the service was performed, and other
      information relevant to the acknowledgement of the service.
      The data structure should be signed by the certification service. </t>
      </section>
      <section title="Protocols for interaction">
     <t> Secondarily, there should be protocols for requesting services,
      monitoring the progress of the service, participating in
      services that require contemporaneous participation, cancelling
      ongoing services.</t>
      </section>
      <section title="Long-term archives of records">
     <t> Some services also require the certification service to
      maintain a long-term archive of records of events that it has
      certified; the users of a certification service may request
      operations that cause archived certificates to be accessed,
      forwarded, or possibly even deleted. </t>
      </section>
    <section title="Validation of Digital Signatures and X.509 certificates">
      <t>One way in which participants
      in a transaction, negotation, or event conducted over the Internet
      signal their intentions is through the use of digital signatures.
      Digital signatures may use X.509 certificates to assert the validity
      of the public key of a named participant in the transaction. 
      A validation service should be able to represent the fact of its
      testing the validity of digital signatures, including the non-revocation
      of X.509 certificates used within those signatures, as part of validating
      a transaction. This way it might provide proof that the signatures
      attached to a given document had been verified at a given date 
      (different from the signature date.)</t>
      </section>
    </section>

   <section title="Operational Considerations">
      <t>Data validation and certification services may have strong
        performance and scalability requirements. 
        A certification service must be able to work efficiently even for large 
        amounts of data objects and requests. </t>
      <t> In order to limit expenses and to achieve high performance, the 
        involvement of other trusted third parties should be minimized. </t>
    </section>
    <section title="Security Considerations">
      <t>
         
        Trust is the principal asset of a certification service. The 
        implementation of such a service must be very careful so that no data 
        integrity can be lost or manipulation of the system can be done. </t>
        
      <t>The protocols and data structures described in this document
        are primarily intended to be useful to increase the trustworthiness
        of networked transactions. As such, their primary value is in
        resistance to any imaginable security threats.</t><t>
          The nature of the threats for long-term services are signficantly
          greater and more difficult to protect against. In particular,
          it is necessary to design protocols and data structures so that
          even if currently acceptable secure one-way hash algorithms
          and encryption algorithms are compromised, either through
          advancements in analysis of their algorithms or through
          increased computational power and novel computing architectures,
          that the overall security of the application can be protected.
          </t>
    </section>
    <section title="Acknowledgements">
      <t> Thanks to members of the LTANS mailing list for review of earlier 
        drafts and many suggestions. </t>
    </section>
  </middle>
  <back>
<!--    <references title="Normative References">
    </references>-->
    <references title="Informative References">
<reference anchor='RFC3029'>

<front>
<title>Internet X.509 Public Key Infrastructure Data Validation and Certification Server Protocols</title>
<author initials='C.' surname='Adams' fullname='C. Adams'>
<organization /></author>
<author initials='P.' surname='Sylvester' fullname='P. Sylvester'>
<organization /></author>
<author initials='M.' surname='Zolotarev' fullname='M. Zolotarev'>
<organization /></author>
<author initials='R.' surname='Zuccherato' fullname='R. Zuccherato'>
<organization /></author>
<date year='2001' month='February' /></front>

<seriesInfo name='RFC' value='3029' />
<format type='TXT' octets='107347' target='http://www.ietf.org/rfc/rfc3029.txt' />
</reference>

<reference anchor='RFC3161'>

<front>
<title>Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)</title>
<author initials='C.' surname='Adams' fullname='C. Adams'>
<organization /></author>
<author initials='P.' surname='Cain' fullname='P. Cain'>
<organization /></author>
<author initials='D.' surname='Pinkas' fullname='D. Pinkas'>
<organization /></author>
<author initials='R.' surname='Zuccherato' fullname='R. Zuccherato'>
<organization /></author>
<date year='2001' month='August' /></front>

<seriesInfo name='RFC' value='3161' />
<format type='TXT' octets='54585' target='http://www.ietf.org/rfc/rfc3161.txt' />
</reference>

<reference anchor='I-D.ietf-ltans-reqs'>
<front>
<title>Long-Term Archive Service Requirements</title>

<author initials='C' surname='Wallace' fullname='Carl Wallace'>
    <organization />
</author>

<date month='October' day='25' year='2004' />

</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-ltans-reqs-03' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-ltans-reqs-03.txt' />
</reference>

<reference anchor='I-D.ietf-ltans-ers'>
<front>
<title>Evidence Record Syntax (ERS)</title>

<author initials='R' surname='Brandner' fullname='Ralf Brandner'>
    <organization />
</author>

<date month='April' day='8' year='2005' />


</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-ltans-ers-02' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-ltans-ers-02.txt' />
</reference>

    </references>
  </back>
</rfc>