SYSTEM AND METHOD FOR FACILITATING ACCESS BY SELLERS TO CERTIFICATE-RELATED AND OTHER SERVICES

Abstract: A system and method are disclosed for facilitating access to a plurality of certificate-related and other services including certificate validation. A seller is provided with digital signature messaging software for accessing these services. Two preferred implementations are disclosed for integrating a seller's existing Web server and applications with this software. The first preferred implementation is referred to as "passive integration" because it requires little or no modification to a seller's existing e-commerce Web application. In this first implementation, the seller's Web site is preferably provided with five additional components: a Web filter (302) for redirecting HTTP requests, a second Web server (220) for parsing the redirected HTTP requests, a servlet that runs applications (310) based on the requested URL, a filter engine (306) that identifies pages from a buyer that require the buyer's signature as well as pages that require access to system services, and a bank interface (222) that receives requests to access system services from the filter engine, and processes those requests. The second preferred implementation is referred to as "active integration" because it requires the seller to rewrite code of its Web applications to provide the functionality necessary to access system services. In active integration, the seller's Web site is preferably provided with the bank interface described above but the functionality provided by the other digital signature messaging software components is instead provided by modifying directly the seller's Web application.

Description: SYSTEM AND METHOD FOR FACILITATING ACCESS BY SELLERS TO CERTIFICATE-RELATED AND OTHER SERVICES This application claims priority to United States provisional patent application serial No. 60/153,302, filed September 10, 1999, entitled System and Process for Certification in Electronic Commerce, United States provisional patent application serial No. 60/153,328, filed September 10, 1999, entitled System and Process for Certification in Electronic Commerce, and United States provisional patent application serial No. 60/153,723, filed September 13, 1999, entitled Pilot Web Application and Software Development Kit Architecture, all three of which are hereby incorporated by reference. COPYRIGHT NOTICE A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. FIELD OF THE INVENTION This invention relates generally to the field of facilitating electronic commerce by providing services via a public key infrastructure. BACKGROUND OF THE INVENTION The world of electronic commerce has created new challenges to establishing relationships between contracting parties. One of those challenges springs from the fact that the parties to the transaction cannot see or hear each other, and cannot otherwise easily confirm each other's identity and authority to act. One remedy for this problem is to provide each contracting party with a private key for signing transmitted messages. The signing party makes available an associated public key that decrypts messages signed with the party's private key, and thus enables a receiving party to confirm the identity of the sender. But the sender's public key may not be known a priori to the recipient. In that event, the sender may transmit with its signed message a digital certificate issued by a certificate authority. The certificate is itself a signed electronic document (signed with the private key of the certificate authority) certifying that a particular public key is the public key of the sender. In some cases, the recipient may be unfamiliar with the public key of the certificate authority or may not know whether the certificate is still valid. In that event, the recipient 5 may wish to check the authenticity and validity of the certificate with an entity that it trusts. One known protocol for checking certificate status is the on-line certificate status protocol (OCSP). SUMMARY OF THE INVENTION ι Q A system and method are disclosed for facilitating access to a plurality of certificate-related and other services including certificate validation. In a preferred embodiment, these services are provided within the context of a four-corner trust model. The four-corner model comprises a buyer, also referred to as the subscribing customer, and a seller, also referred to as the relying customer, who engage in an on-line transaction. ι c The buyer is a customer of a first financial institution, referred to as an issuing participant. The issuing participant acts as a certificate authority for the buyer and issues the buyer a hardware token including a private key and a digital certificate signed by the issuing participant. The seller is a customer of a second financial institution, referred to as the relying participant. The relying participant acts as a certificate authority for the seller Q and issues the seller a hardware token including a private key and a digital certificate signed by the relying participant. The system also includes a root certificate authority that issues digital certificates to the issuing and relying participants. At the time of a transaction, the buyer creates a hash of the transaction data, signs the hash, and transmits the transaction data, the signature, and its digital certificate to the 5 seller. The seller may then request system services such as certificate validation from its financial institution, the relying participant. The present system and method provide the seller with digital signature messaging software for accessing these system services. Two preferred implementations are disclosed for integrating a seller's existing Web server and applications with this software and, more 3 Q generally, with the public key infrastructure described below. The first preferred implementation is referred to as "passive integration" because it requires no modification to a seller's existing e-commerce Web application. This implementation is designed for organizations seeking the least complex and least intrusive method of integrating their existing Web server with the computer systems of other entities 5 in the four-corner model. In this first implementation, the seller's Web site is preferably provided with five additional components: a Web filter, a second Web server, a servlet, a filter engine, and a bank interface. The Web filter redirects all requests received by the seller's Web site from the seller's existing Web application to the second Web server. The second Web server parses the request and forwards it to the servlet. The servlet accepts connections, runs applications based on the requested URL, and parses the connections to the filter engine. The filter engine identifies pages from the buyer that require the buyer's signature, formats the data from such pages for signature, and returns the data to the servlet with instructions to have the data signed by the buyer. The servlet generates a response to the buyer's ι Q browser that requests signature of the formatted data. The buyer signs the formatted data and returns it to the seller. The signed data is forwarded to the seller's bank interface which generates a signed request for service, and transmits the request to the seller's relying participant. When, for example, the requested service is certificate validation, the bank interface generates"an 1 OCSP request for transmission to the seller's relying participant. The relying participant processes the request and returns a response to the seller's bank interface. Passive integration may be preferred by sellers having small computer staffs because it is less time consuming to implement, although less efficient. Minimal knowledge of a seller's existing e-commerce applications and core technologies is required 20 to successfully integrate the seller's Web site with other system components. Little or no modification of e-commerce application source code is required. The second preferred embodiment is referred to as "active integration" because it requires the seller to rewrite code of its Web applications to provide the functionality necessary to access system services. In active integration, the seller's Web site is 25 preferably provided with the bank interface described above but the functionality provided by the other digital signature messaging software components is instead provided by modifying directly the seller's Web application. Active integration may be preferred by advanced organizations looking for complete integration with existing applications. Access to the seller's e-commerce Q application source code and a computer staff with a strong technical background are typically required for active integration. BRIEF DESCRIPTION OF THE DRAWINGS The above summary of the invention will be better understood when taken in -5 conjunction with the following detailed description and accompanying drawings, in which: Fig. 1 is a block diagram of a preferred embodiment of the four-corner model employed by the present system; Fig. 2 is a block diagram depicting components preferably provided at entities in the four-corner model; 5 Fig. 3 is a block diagram of a preferred embodiment for passively integrating digital signature messaging software with a seller's existing Web application; Fig. 4 shows sample code suitable for implementing filter 302 of Fig. 3; Fig. 5 is an example of servlet 304 process flow in a preferred embodiment; Fig. 6 is an exemplary format of a rules file for filter engine 306 in a preferred i n embodiment; Fig. 7 illustrates sample code that may be used in a preferred embodiment to invoke the filter engine RMI server; Fig. 8 illustrates a preferred embodiment of the steps invoked when filter engine 306's RMI server is started; 1 Fig. 9 illustrates a preferred embodiment of the steps invoked when servlet 304 sends a request to filter engine 306; Fig. 10 illustrates a preferred embodiment for implementing bank interface 222; Fig. 11 illustrates a preferred embodiment of the steps invoked when the RMI server of bank interface 222 is started; ø Fig. 12 illustrates the steps invoked when filter engine 306 sends a request to bank interface 222 in a preferred embodiment; Fig. 13 illustrates an example of system operation using passive integration; Fig. 14 is a block diagram of a preferred architecture for actively integrating digital signature messaging software with a seller's existing Web application; 2 Fig. 15 illustrates an example of system operation using active integration. Fig. 16 illustrates an exemplary set of properties for servlet 304; Fig. 17 illustrates an exemplary set of properties for filter engine 306; and Fig. 18 illustrates an exemplary set of properties for bank interface 222. 30 DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present disclosure relates to a system and method that permit customers of financial institutions to securely obtain online certificate validation and other services. In a preferred embodiment, these services are provided within the context of a four-comer trust model. A preferred embodiment of this four-corner model is shown in Fig. 1. 35 As shown in Fig. 1 , the four-corner model preferably comprises a first institution 102 and a second institution 104. First institution 102 is referred to as the "issuing participant" because it is a participant in the present system and issues smart cards to its customers, as described below. Second institution 104 is referred to as the "relying participant" because it is a participant in the present system and its customers rely on representations made by issuing participant 102 and issuing participant 102's customers, as described below. Participants 102, 104 are typically banks or other financial institutions. Also shown in Fig. 1 are a first customer 106 and a second customer 108. First customer 106 and second customer 108 are preferably customers of issuing participant 102 ι Q and relying participant 104, respectively. First customer 106 is referred to as the "subscribing customer" because this customer subscribes to services provided by issuing participant 102. First customer 106 is also referred to as the "buyer" because it typically fills that role in transactions with second customer 108, as described below. Second customer 108 is referred to as the "relying customer" because it relies on representations 1 made by both issuing participant 102 and subscribing customer 106. Second customer 108 is also referred to as the "seller" because it typically fills that role in transactions with first customer 106, as described below. It should be recognized, however, that although the description below speaks largely in terms of a buyer 106 and a seller 108, first customer 106 and second customer 108 may instead have different roles in a given transaction. For 2ø example, first customer 106 may be a borrower repaying a loan to second customer 108. Also shown in Fig. 1 is a root entity 110. Root entity 110 is typically an organization that establishes and enforces a common set of operating rules for facilitating electronic commerce and electronic communications. Root entity 110 may be owned jointly by a plurality of banks and/or other financial institutions that have agreed to adhere 25 to these operating rules. One exemplary embodiment of such a root entity is described in copending application serial No. 09/502,450, filed February 11, 2000, entitled System and Method for Providing Certification Related and Other Services, which is hereby incorporated by reference. Fig. 2 is a block diagram depicting components preferably provided at each entity in o Q the four corner model. As shown in Fig. 2, participants 102, 104, and root entity 110 are each preferably provided with a transaction coordinator 202 that serves as a gateway for transmitting and receiving all inter-entity messages related to services provided by the present system. Each transaction coordinator 202 is preferably provided with an associated hardware security module (HSM) 218 for signing and verifying messages. Transaction -15 coordinators 202 provide a single interface to issuing participant 102's and relying participant 104's on-line services and implement safeguards necessary to ensure secure electronic communications between transaction coordinators 202 and other entities in the four-corner model, as described in copending United States patent application serial No. , filed on even date herewith, entitled System and Method for Providing 5 Certificate Validation and Other Services , which is hereby incorporated by reference. Participants 102, 104, and root entity 110 are each further preferably provided with an Online Certificate Status Protocol (OCSP) responder 204 and associated HSM 206 for signing and verifying signatures on messages. As further shown in Fig. 2, relying customer 108 is preferably provided with a Web ιø server 220 adapted to receive and transmit information via the Internet. Relying customer 108 is further preferably provided with a bank interface 222 for accessing system services, as described in more detail below. Relying customer 108 is preferably further provided with a hardware security module 230 for signing and verifying signatures on messages. Other components shown in Fig. 2 as well as exemplary services and message flows 15 for such services are described in copending United States patent application serial No. , filed on even date herewith, entitled System and Method for Providing Certificate Validation and Other Services and United States patent application serial No. , filed on even date herewith, entitled System and Method for Providing Payment Services in Electronic Commerce. 2 Q In a preferred embodiment, each system entity is provided with two digital certificates (and corresponding private keys) to facilitate authentication: An identity certificate (also referred to, in some cases, as a warranty certificate) and a utility certificate. The identity private key is used to produce digital signatures that are required by 5 root entity 110 as evidence of an entity's contractual commitment to the contents of an electronic transaction. A certificate chain is typically required to support operations using this key. The status of the identity certificate may be obtained by requesting certificate validation. The utility private key is used to produce digital signatures that allow additional 2 Q transactional security. Typically, utility certificates are used to support secure socket layer sessions, to sign S/MIME messages, and for other utility applications. A certificate chain is also needed to support operations using the utility key. The status of the utility certificate, however, may not be available to a requester. Throughout this document, the term "certificate" refers to an identity certificate unless otherwise stated. 35 In a preferred embodiment, subscribing customer 106's digital certificates and associated private keys are provided to it by issuing participant 102. Issuing participant 102 preferably issues smart cards or other suitable instruments to subscribing customer 106 that include at least the private key associated with the subscribing customer's identity 5 certificate. If desired, the smart card may also include the subscribing customer's identity certificate. Preferred specifications for the smart card, its manufacture, and contents are described in copending United States provisional patent application serial No. , filed August 14, 2000, entitled Signing Interface Requirements, Smart Card Compliance Requirements, Warranty Service ι Q Functional Requirements, and Additional Disclosure, which is hereby incorporated by reference. As noted above in the Summary of the Invention, the seller is preferably provided with digital signature messaging software for accessing system services. This software is preferably integrated with the seller's computer system. Two preferred implementations 1 for achieving this integration are described below. The first preferred implementation is referred to as passive integration because it requires no modification of a seller's existing e-commerce Web application. A preferred architecture for implementing passive integration at a seller's Web site is shown in Fig. 3. As shown in Fig. 3, seller 108 is preferably provided with several additional digital Q signature messaging software components that supplement the seller's existing e-commerce Web server 312 and Web application 310. In particular, seller 108 is preferably provided with a filter 302, an SDK Web server 312, a servlet 304, a filter engine 306, and a bank interface 222. Before describing the architecture and operation of each software component in 5 detail, a brief overview of overall operation of the digital signature messaging software is provided. In general terms, filter 302 intercepts HTTP requests from buyer 106 arid redirects the requests to SDK Web server 312. SDK Web server 312 parses the request and forwards the parsed request to servlet 304. Servlet 304 builds a hash table based on the information received from browser 224 and sends the hash table to filter engine 306. Filter Q engine 306 analyzes the hash table to determine if it contains data that requires signing and/or a request for a service provided by system 200 (e.g., certificate validation). Assume, for example, that data requiring signature is included in an intercepted HTTP request. In that event, filter engine 306 formats the data for signing and passes an object to servlet 304 indicating that signature is required. Servlet 304 builds a response to 5 browser 224 that invokes a signing interface to cause the buyer's smart card 226 to sign the formatted data. Preferred embodiments for implementing this signing interface are described in copending United States provisional patent application serial No. , filed August 14, 2000, entitled Signing Interface Requirements, Smart Card Compliance Requirements, Warranty Service Functional Requirements, and Additional Disclosure, which is hereby incorporated by reference. As disclosed therein, in one preferred embodiment this signing interface may be implemented using a Java applet downloaded from the customer seller's Web server to the buyer's Web browser. , Q Using a Java applet to implement the client interface is advantageous for several reasons. First, the applet can be automatically downloaded from the server each time it is used; therefore, no additional software is required on the signer's machine to support PKI integration (except for the drivers necessary for smart card access) and the applet can be updated without client distribution requirements. Second, Java is a cross-platform 1 technology and therefore use of a Java applet allows the system to support all Java- compliant browsers. Third, the OpenCard API provides smart card access from Java. In a second preferred embodiment, data signing may be handled by a series of browser plug-ins. For example, General Network Solutions (http://www.gns.ca ) provides a set of browser plug-ins called FormSign that may be used to sign a form's posted data. In ø this preferred embodiment, one or more plug-ins are installed on the client's machine before signing occurs. A plug-in may, for example, be downloaded over the Internet to the client's computer the first time the user receives a page referencing it. Plug-ins provide a good solution for active integration where the HTML page to be signed can be modified to explicitly reference the plug-in. 5 The signed data and buyer's certificate are passed back to filter engine 306 which then determines whether a system service is required. For example, the seller may wish to validate the buyer's certificate. In that event, filter engine 306 transmits a message to bank interface 222 which formulates a formal OCSP request and transmits it to transaction coordinator 202 RP of relying participant 104. An OCSP response is generated as described ø in more detail in copending United States patent application serial No. , filed on even date herewith, entitled System and Method for Providing Certificate Validation and Other Services, which is hereby incorporated by reference, and returned to bank interface 222, which forwards the response to filter engine 306. Filter engine 306 then passes an object to servlet 304 indicating the result of the 5 certificate status check. Assuming the certificate validates properly, servlet 304 then instructs filter engine 306 to pass the original HTTP request to existing Web application 310 and retrieve the next page to be transmitted to buyer 106. Thus, an important attribute of passive integration is that SDK Web server 312 receives all incoming connections previously destined for Web server 220. Few changes to original Web server 312 are needed, except that it is no longer accessible from the Internet. Additionally, existing certificates used for SSL encryption may need to be reconfigured to use SDK Web server 312. It should be noted that although existing Web server 220 and SDK Web server 312 are shown as distinct components in Fig. 3, SDK Web server 312 may be implemented as a ι ø new virtual domain on existing application Web server 220 if it has sufficient processing resources. Otherwise a separate Web server may be provided. A computer platform for implementing Web server 312 preferably contains a minimum of 128 Mb of random access memory and a 10 Mb hard disk. In a preferred embodiment, the system may be implemented on the Microsoft Windows NT platform, 1 with the following recommended configuration. 0 5 30 35 In a preferred embodiment, Java is used as a language/platform and is compiled to an intermediate format called byte codes. These byte codes are then executed by a virtual machine. If a Java Virtual Machine (JVM) is available for the target platform, the Java code can be executed on that platform. Each component of the digital signature messaging software will now be described in more detail. Filter 302 provides a high level event-handling mechanism that redirects - j Q HTTP requests from the seller's application Web server 220 to SDK Web server 312. In a preferred embodiment, filter 302 may be implemented using Microsoft IS API (Internet Server Application Programming Interface). It should be noted that ISAPI is a Microsoft technology that can be used only with Microsoft IIS (Internet Information server). However, filters providing similar functionality can also be designed for Netscape's -. Enterprise Server. Filter 302 may comprise libraries that when run intercept specific server events and redirect all HTTP requests to SDK Web server 312. In a preferred embodiment, filter 302 is adapted to provide enhanced logging capabilities by tracking more information than that provided by basic Web server log files. In addition, it may employ custom authentication techniques by interposing a unique filter Q with its own user ID and password method on access requests for a particular type of resource. Sample code for implementing a filter 302 is shown in Fig. 4. In a preferred embodiment, distribution of this component may include a compiled DLL (fϊlter.dl 1) library and source files (filter.c) used to create the DLL. In addition, the ISAPI extension wizard included with Microsoft Visual C++ 6.0 may be used to modify and subsequently compile the files. The compiled library must then be added to the Web server's filter list with highest priority. In a preferred embodiment, servlet 304 transfers all requests redirected by filter 302 from Web server 312 to filter engine 306, as described in more detail below. Servlets are a ø type of Internet server application (ISA). ISAs cause special software applications to run when a user requests redirected by filter 302 certain URLs from a Web server. The ISA is responsible for accepting incoming connections and passing them to filter engine 306 according to filter engine 306's interface. In addition, the ISA is adapted to generate HTTP responses based on data received from filter engine 306. 5 A number of ISA technologies exist; some are specific to one Web server and others are industry-standards supported by most major Web servers. Because the present system preferably supports many Web server and platform combinations, a Java implementation is preferred for implementing this ISA. Servlet technology is based on Java and is supported by several commercially available Web servers through third-party servlet engines. In a preferred embodiment, servlet 304 may be implemented using Live Software's Jrun 2.2 product (http://www.irun.com/), a servlet engine that provides integration with several commercially available Web servers, including Microsoft Internet Information Server ("IIS"), Netscape Enterprise Server ("NES"), and Apache. ø Performance issues with servlets, however, may drive a decision to implement other ISA technologies. For example, in an alternative preferred embodiment, the functionality of servlet 304 may instead be provided by an Internet Server Application Programming Interface (ISAPI). ISAPI is a C-based ISA developed for Microsoft Internet Information Server (US). A port of ISAPI has been done for the Apache Web server as well. The corresponding, but different, ISA technology for Netscape Enterprise Server (NES) is Netscape Server Application Programming Interface (NSAPI). These two interfaces provide close, C-based support for their respective Web servers and therefore provide maximum performance. The problem with using these C-based technologies is the number of platform and Web server combinations that must be written to cover the same breadth as ø a servlet. Thus, although servlets are typically preferred, ISAPI and NSAPI extensions may be written as necessary for select platforms to improve performance. In a preferred embodiment, servlet 304 is adapted to maintain the state of filter engine 306. When an HTTP request is received from a browser 224, servlet 304 passes a hash table to filter engine 306 containing: (1) the headers from the HTTP request; (2) the 5 method of the request; (3) the content-type of the request; (4) the client IP address; (5) the actual data in the request; and (6) a unique session ID. Filter engine 306 processes the hash table and returns a return object to servlet 304 with an integer value indicating one of four conditions: (1) a signature is required on data in the HTTP request; (2) a response has been received from relying participant 104 ø concerning a service request that had been made; (3) the HTTP request has been passed through to Web application 310; or (4) an error occurred. Servlet 304 finishes processing the received HTTP request based on this integer value, as described below in the description of servlet 304 process flow. In a preferred embodiment, servlet 304 may be constructed as a public class object 5 that extends javax.servlet.http.HttpServlet. Illustrative methods for this object are shown and described in the table below. Methods inherited from the parent classes javax.servlet.http.HttpServlet, javax.servlet.GenericServlet, and java.lang are not shown in the table. In a preferred embodiment, RetumObiect may take the following form: ReturnObject{ Int ={ Constants.WEBAPP | CertStatus.GOOD | CertStatus.REVOKED | CertStatus.UNKNOWN | Constants.SUCCESS | Constants.EXCEPTION | } String = {Business Determined} Hashtable = { {Constants.PAGE} {Constants.HEADERS} {Constants.SERVICE} {Constants.MODE} } } An example of servlet 304 process flow is now described in connection with Fig. 5. As shown in Fig. 5, in step 502, servlet properties are loaded from a properties file. In step 504, servlet 304 reads data from a received HTTP request. In step 506, servlet 304 creates a hash table (comprising name and value pairs) with parameters for filter engine 306 including HTTP headers, client IP address, HTTP method (GET and SET), content type, and the actual data in the request. In step 508, servlet 304 determines if data in the HTTP request has been signed. If it has not been signed, in step 510, servlet 304 calls filter engine 306 with the hash table. Otherwise, in step 512, servlet 304 URL decodes the PKCS#7 message received from browser 224, inserts it into the hash table, and calls filter engine 306 ι ø with the hash table. In step 514, servlet 304 receives a return object with an integer value indicating one of the four conditions described above. Based on this value servlet 304 finishes processing the original request In particular, if the return value from filter engine 306 indicates that Web application 310 has been called, then in step 516, servlet 304 causes the nexf Web 15 page to be transmitted to Web browser 224. If the return value from filter engine 306 indicates that the page needs to be signed, then, in step 518, servlet 304 stores the state of filter engine 306 in a cookie and causes the page with the signing interface plug-in to be transmitted to Web browser 224. If the return value from filter engine 306 indicates that the client certificate is good then, in step 520, servlet 304 changes the state and sends a ø request to filter engine 306 to retrieve the next page to be displayed to buyer 106. For all other values or exceptions, servlet 304 displays an error page to the client, as shown in step 522. Filter engine 306 receives HTTP requests from servlet 304 and applies filtering rules to distinguish pages that need to be signed or that require a system service from pages 5 that should be passed to existing Web application 310. The rules may be loaded when filter engine 306 is first instantiated. The contents of the rules files may be a function of the seller's existing Web application 310 and business process. HTTP requests that include data to be signed may be recognized by filter engine 306 in a variety of ways. In one preferred embodiment, filter 306 may be programmed to Q recognize each HTTP request that includes data to be signed on the basis of data included in the posted HTTP request data. Rules may be defined that identify data requiring signature. This variation requires application knowledge and advanced knowledge of the Web application's architecture. An understanding of the data being posted and how each posting differs in the application must be gained. 5 Alternatively, HTTP requests transmitted by Web browser 224 may be modified to include a special tag that indicates whether the request needs to be signed. For example, a hidden field identifying the request as requiring signature may be added to a form or an additional HTTP header line may be added to the request. Alternatively, HTTP requests requiring signature may be recognized by changing the suffix for the ISA file to handle the request (e.g., submit.dll to submit.sdll) for forms posting. If the requests are modified to include a special tag, the rules defined for filter engine 306 may be simplified and generalized for all posts requiring signatures. This alternative embodiment requires code modification to some degree, but should improve performance. Q Fig. 6 illustrates an exemplary format of a rules file for filter engine 306 in a preferred embodiment. In the example shown in Fig. 6, the rules have been built to analyze a Web based collaboration tool known as AltaVista Forums. There are four rules in the example. A rule definition consists of: a mode (synchronous/asynchronous), a service (e.g., certificate validation), and a sequence of parameter names and values (location, name, and value; cookie, AltaVistaForum_AuthToken, and dsmith in the example). The first two parameters are the mode and service followed by one to n transaction specific parameters. Each parameter is separated with a semicolon and within parameters by a comma. New services may be added by installing a new plug-in module and modifying the rules file to utilize the new capability. ø In a preferred embodiment, filter engine 306 provides an abstracted front-end interface via Java Remote Method Invocation (RMI). In a preferred embodiment, filter engine 306 may be implemented as a public class object that extends java.lang. Object. This class implements one of the public services provided by filter engine 306's RMI server. Illustrative methods for this object are 5 shown and described in the table below. Methods inherited from the parent class java.lang.object are not shown in the table. Filter Engine Method Summary RetumObiect callWebApp(java.util.Hashtable theHash) 0 Creates an HTTP or HTTPS connection to a Web Application according to the parameters in a Hashtable. long getSessionlDO A thread safe method for generating signed transaction IDs. 5 When the RMI server is started, it creates an instance of the filter engine class which loads and validates the rules file as part of its constructor. Fig. 7 illustrates sample code that may be used in a preferred embodiment to invoke the filter engine RMI server. "The rules class may be a public class object that extends java.lang. Object used by filter engine 306 to process the rules. A preferred embodiment of the construction of rules process methods is shown in the table below. Fig. 8 illustrates a preferred embodiment of the steps invoked when filter engine 306's RMI server is started. As shown in Fig. 8, in step 802, filter engine 306 loads filter engine properties from a properties file. In step 804, filter engine 306 opens log files. In step 806, filter engine 306 loads utility certificates. In step 808, filter engine 306 loads the RMI server policy file. In step 810, filter engine 306 loads the rules file into memory. In step 812, filter engine 306 validates the rales to verify correct formatting. Filter engine 306 is then ready to receive requests. 5 Fig. 9 illustrates a preferred embodiment of the steps invoked when servlet 304 sends a request to filter engine 306. As shown in Fig. 9, in step 902, filter engine 306 receives an HTTP request and filter engine 306's state from servlet 304. If the state is FE_NEW_REQUEST, filter engine 306 invokes the state handler newRequestHandler which compares the request against signing rales, determines whether the request has to be ι signed, and builds a return object to be sent back to servlet 304 (step 904). If the state is FE_SIGNED_DATA, filter engine 306 executes the state handler signedRequestHandler, calling bank interface 222 to check the status of the certificate. Bank interface 222 returns the status of the certificate and filter engine 306 passes this status back in a return object to servlet 304 (step 906). If the state is FE_REQUEST_CHECKED, indicating the final stage 15 of a signed transaction, filter engine 306 executes the state handler oldRequestHandler, thus calling Web application 310. The original page is retrieved from Web application 310 and its content is returned to servlet 304 in a return object (step 908). A preferred embodiment for implementing bank interface 222 is shown in Fig. 10. As shown in Fig. 10, bank interface 222 is preferably designed with a plug-in based architecture that allows new service modules (e.g., certificate status check module 1010, warranty 1020, etc.) to be added as they are created. Relying customer 108 initiates a service request by accessing one of these modules, which ensures proper message formatting and protocol handling. For example, certificate status check module 1010 creates a proper OCSP request and submits it to relying 5 participant 104. In a preferred embodiment, bank interface 222 supports an abstract front-end interface to allow communication via several different middleware technologies used to access it from other code modules. A number of technologies may be used to access bank interface 222 including Common Object Request Broker Architecture ("CORBA"), Q Component Object Model ("COM"), Remote Method Invocation ("RMI"), and TCP/IP Sockets. In a preferred embodiment, an RMI binding implementation may be used to expand the abstract interface to include CORBA and COM versions. Fig. 11 illustrates the steps invoked when the RMI server of bank interface 222 is started in a preferred embodiment. As shown in Fig. 11, in step 1102, bank interface 222 5 loads bank interface properties from a bank interface file. In step 1104, bank interface 222 loads log files. In step 1106, bank interface 222 loads utility certificates. In step 1108, bank interface 222 loads the RMI server policy file. In step 1110, bank interface 222 loads cryptographic modules, either software or hardware as specified in the properties file. At this point, bank interface 222 is ready to receive service requests from filter engine 306 and 5 to call the bank interface service manager with a service request that contains the name of the service, mode of the service, and a message. Fig 12 illustrates the steps invoked when filter engine 306 sends a request to bank interface 222 in a preferred embodiment. As shown in Fig. 12, in step 1202, bank interface 222 retrieves relying customer 108's and root entity 110's certificates from memory. In step ι ø 1204, bank interface 222 retrieves subscribing customer 106's and issuing participant 102's certificates from a CMS (Cryptographic Message Syntax) also referred to as PKCS#7 received from buyer 106. In step 1206, bank interface 222 verifies the signature on the CMS message and checks the integrity of the signed data. In step 1208, bank interface 222 verifies the signature on subscribing customer 106's certificate using issuing participant 15 102's certificate. In step 1210, bank interface 222 verifies the signature on issuing participant 102's certificate using root entity 110's certificate. In step 1212, bank interface 222 checks the validity period on those two certificates against the current date. In a preferred embodiment, bank interface 222 does basic path validation as specified in RFC 2459 Section 6.1 on the certificate chain extracted from the PKCS#7 message. ø In step 1214, bank interface 222 retrieves the URL for OCSP responder 204 RP from relying customer 108's certificate. In step 1216, bank interface 222 creates an OCSP request for subscribing customer 106's certificate signed by relying customer 108. All OCSP requests preferably contain a Service Locator Extension used to locate the relying participant which is set by an Authority Information Access (AIA) extension defined in the 5 seller's certificate. Alternatively, bank interface 222 may employ a different mechanism to configure the location of relying participant 104 which may override the location information in the AIA extension. In a preferred embodiment, bank interface 222 supports both raw OCSP and OCSP wrapped in XML. Preferred aspects of both a raw OCSP embodiment and an OCSP wrapped in XML embodiment are described below. 30 In step 1218, bank interface 222 logs the OCSP request in a transaction log. In step 1220, bank interface 222 creates an HTTP(S) connection to OCSP responder 204^ and transmits the OCSP request to it. In a preferred embodiment, bank interface 222 may be adapted to transmit all OCSP requests to relying participant 104, even when bank interface 222 can tell that relying participant 104 is not the participant that issued the certificate that 5 is the subject of the request. In step 1222, bank interface 222 receives an OCSP response from OCSP responder 204^ and verifies the signature on the response using OCSP Responder 204 RP 'S certificate. In step 1224, bank interface 222 extracts the status of subscribing customer 106's certificate from the response. Steps 1216 to 1224 are repeated for issuing participant 102's certificate and relying participant 104's OCSP Responder's 5 certificate as shown in step 1226. In step 1228, bank interface 222 logs the OCSP response for each of these requests to the transaction log. If the status of all the responses is "good" then, in step 1230, bank interface 222 returns a message to that effect to filter engine 306. Otherwise, bank interface 222 returns the status of the checked certificate to filter engine 306. In step 1232, bank interface 222 ι ø logs all signed requests to an event log and all errors to an error log. All exceptions are returned to the client as a part of the return object. A preferred embodiment of the methods that may be incorporated in a certificate status check module of bank interface 222 are shown in the table below. These methods are used to perform the basic steps described above for certificate status checking. Bank 15 interface certificate status checking method is preferably a public class object that extends java.lang.Object. The methods inherited from the parent class java.lang.Object are not shown in the table. 5 An example of system operation using the passive integration implementation described above is shown in Fig. 13. As shown in Fig. 13, in step 1301, a buyer 106 clicks the 'Submit' button on an HTML form displayed to buyer 106 by Web browser 224. In step 1302, Web browser 224 posts form data to seller 108's Web site. In step 1303, filterJ02 redirects the received HTTP request to servlet 304. In step 1304, servlet 304 passes the HTTP request to filter engine 306. In step 1305, filter engine 306 determines if the HTTP request requires signature by buyer 106 and, if so, creates a Return-to-Browser URL (as a GET with parameters for data) representing the data of the original POST or GET form posting and returns it along with instructions to get the data signed to servlet 304. In step 1306, servlet 304 builds a response with either an applet tag pointing to the signing interface applet or a call to a browser plug-in, the arguments Return-to-Browser URL, and the data to sign. In step 1307, SDK Web server 312 returns servlet 304's response to Web browser 224. In step 1308, Web browser 224 displays the HTML page and, if necessary, requests the appropriate signing interface applet or plug-in. In step 1309, Web browser 224 displays the client interface applet or activates the plug-in. Arguments may include the data to be signed and possibly a URL. In step 1310, buyer 106 clicks a button to approve signing of the form data. In step 1311, the client interface (applet or plug-in) calls a smart card API to request that smart card 226 sign an SHA-1 hash of the form data. In step 1312, buyer 106 enters its PIN when the driver asks for it. In step 1313, the smart card API returns the signed form data to the signing interface. In step 1314, the signing interface makes an HTTP connection to SDK Web server 312 and submits the signed form data. In step 1315, SDK Web server 312 passes the request to servlet 304. In step 1316, servlet 304 passes the request to filter engine 306. In step 1317, filter engine 306 calls bank interface 222 with the signed data. In step 1318, bank interface 222 creates an OCSP request and calls the open card API to request that seller 108's HSM sign an SHA-1 hash of the request. 5 In step 1319, open card API calls seller 108's HSM OS Driver. In step 1320, HSM OS Driver calls seller 108's HSM to sign the request. In step 1321, the HSM OS Driver returns the signed request to open card API. In step 1322, open card API returns the signed request to bank interface 222. In step 2028, bank interface 222 transmits the request to relying participant 104. In step 2029, ι Q relying participant 104 forwards the request to issuing participant 102. In step 1330, issuing participant 102 returns a signed response to relying participant 104. In step 1331, relying participant 104 requests validation of issuing participant 102's certificate from root entity 110. In step 1332, root entity 110 returns a signed OCSP response to relying participant 104. 1 In step 1333, relying participant 104 returns a signed OCSP response to bank interface 222. In step 1334, bank interface 222 validates the signed data and records the transaction in the log. In step 1335, bank interface 222 validates the signed data and stores the signed data and the signed response from relying participant 104 in SDK Web server 312's database. Q In step 1336, bank interface 222 returns an OK or failure result to filter engine 306. In step 1337, filter engine 306 returns failure result to servlet 304 or passes initial request to Web application server 220. In step 1338, if the request for system service resulted in a failure (e.g., if the result of a certificate status check was that the certificate is not valid), servlet 304 builds a response indicating that a failure occurred. In step 1339, SDK Web Server 312 retums servlet 304's failure response to browser 224. As noted, the second preferred implementation for integrating digital signature messaging software with a seller's existing Web application is referred to as active integration because it requires modification of the seller's existing Web application. A preferred architecture for implementing active integration at a seller's Web site is shown in ø Fig. 14. As shown in Fig. 14, the seller's Web site is preferably provided with a bank interface 222 in addition to its existing Web server 220 and Web application 310. The functionality of the other digital signature messaging software components described above is preferably incorporated directly into Web application 310. If the seller's Web application 310 exposes an Application Programming Interface 5 (API) for enhancements, it may be used to integrate the application with the disclosed pubic key infrastructure. If Web application 310 is implemented using a tool with a set of APIs and well-documented techniques extending the application, developers with less knowledge of Web application 310 and its technologies may be able to implement the active integration solution. If no API exists, the actual source code of Web application 310 or the tool used to build it may be modified. In either case, the integration code is preferably adapted to call bank interface 222, effectively bypassing the need for filter engine 306. Active integration requires advanced knowledge of the technologies used to implement Web application 310. One important attribute of active integration in comparison to passive integration is that all incoming requests are processed in their traditional manner, as opposed to being filtered. This results in a positive performance gain compared to passive integration. An example of system operation using the active integration implementation described above is shown in Fig. 15. As shown in Fig. 15, in step 1501, buyer 106 requests a form that will require signing when submitted. In step 1502, Web 1 browser 224 submits an HTTP request to seller 108's Web site. In step 1503, Web server 220 forwards the HTTP request to Web application 310. In step 1504, Web application 310 returns an HTML page that references the client signing interface. In step 1505, Web server 220 returns the HTML page to Web browser 224. In step 1506, Web browser 224 requests the client signing interface from Web server 20 22 °- In step 1507, Web server 220 retrieves the client signing interface. In step 1508, Web server 220 returns the client signing interface to Web browser 224. In step 1509, buyer 106 clicks the submit and sign button on the displayed Web page. In step 1510, Web browser 224 calls the client signing interface. In step 1511, the 2 client signing interface calls Windows PC/SC to have the buyer's smart card 226 sign the data. In step 1512, buyer 106 enters its PIN. In step 1513, Windows PC/SC calls buyer 106's smart card 226 to sign the data. In step 1514, Windows PC/SC returns the signed data to the signing interface. In step 1515, the signing interface returns the signed data to Web browser 224. 2 In step 1516, Web browser 224 posts the signed data to Web server 220. In a preferred embodiment, the posted data is a PKCS#7 message. In step 1517, Web server 220 passes the signed posting to Web application 310. In step 1518, integration code added to Web application 310 calls bank interface 222 to verify the signature on the form. In step 1519, bank interface 222, generates an OCSP request and calls HSM OS 2 Driver to sign it. As noted above, bank interface 222 may retrieve subscribing customer 106's and issuing participant 102's certificates from a CMS (Cryptographic Message Syntax) also referred to as PKCS#7 received from buyer 106 and preferably verifies the signatures on the CMS message and buyer's certificate, and checks the integrity of the signed data. 5 In step 1520, HSM OS Driver calls HSM 230 to sign the OCSP request. In step 1521, HSM OS Driver returns the signed request to bank interface 222. In step 1522, bank interface 222 transmits the request to relying participant 104. In step 1523, relying participant 104 forwards the request to issuing participant 102. In step 1524, issuing participant 102 returns a signed OCSP response to relying participant 104. In step 1525, ι ø relying participant 104 calls root entity 110 to validate the certificates of issuing participant 102. In step 1526, root entity 110 returns a signed response to relying participant 104. In step 1527, relying participant 104 returns the signed response to interface 222. In step 1528, bank interface 222 stores the signed data and the signed response from relying participant 104 in a signed documents repository. In step 1529, bank interface 222 writes a 15 transaction log message. In step 1530, bank interface 222 returns the result of the request to Web application 310. In step 1531 ,Web application 310 interprets the form post and returns the next page (or an error) to Web server 220. In step 1532, Web server 220 returns the page to Web browser 224. In a preferred embodiment, the system supports flat (text) files and Microsoft Access. Logging with MS-Access may be achieved using ODBC drivers, commonly distributed for all Windows platforms. Also provided in a preferred embodiment is a transaction monitoring tool. The tool helps relying customer 108 query the transaction log. The following information is preferably stored as a log: subscribing customer 106's IP address, subscribing customer 106's name extracted from the certificate, the date and time of the transaction, the name of the service, the mode of the service (synchronous or asynchronous), and the message logged. As indicated above, properties are used to configure various components of the present system by supplying user defined parameter values contained in a file. Fig. 16 illustrates an exemplary set of properties for servlet 304. Fig. 17 illustrates an exemplary ø set of properties for filter engine 306. Fig. 18 illustrates an exemplary set of properties for bank interface 222. As noted above, in a preferred embodiment, bank interface 222 supports both raw OCSP and OCSP wrapped in XML. In a preferred embodiment, bank interface 222 is adapted to provide the following features in supporting raw OCSP: 5 1. Establish an SSL connection for all OCSP requests and responses. Client authentication is preferably not provided for this SSL session. 2. Verify the revocation status of each certificate in the chain except that of root entity 110. 3. Not verify the revocation status of root entity 110's certificate. 4. Cause all OCSP requests to be signed with relying customer 108's private signing key. 5. Authenticate all OCSP responses. 6. Include a nonce in the OCSP request in cases where a fresh response (rather than ι ø a cached response) is being transmitted. The OCSP response preferably includes the nonce submitted in the initial request. 7. If desired, the "Freshness Proof of relying participant 104's certificate may be ignored. In that case, a new OCSP request is preferably made for the revocation status of relying participant 104's signing certificate. In a preferred embodiment, bank interface 222 is adapted to provide the following features in supporting OCSP wrapped in XML: 1. Conform XML requests to a messaging set defined by root entity 110. An exemplary messaging set is described in copending United States provisional patent application serial No. , filed on even date herewith, entitled Transaction 2 Q Coordinator Certificate Status Check (CSC) Protocol Definition, Transaction Coordinator Messaging Protocol Definition, and Transaction Coordinator Requirements, which is hereby incorporated by reference. 2. Generate and use a unique transaction ID. 3. Cause the XML request to be signed by relying customer 108's private key. If 25 desired, the embedded OCSP request may also be signed by the Relying Customer's signing key. 4. A nonce may be included in the embedded OCSP request to indicate that a fresh response is required rather than a cached response. 5. If desired, the "Freshness Proof of relying participant 104's certificate may be Q ignored. In that case, revocation information regarding relying participant 104's signing certificate is preferably verified in a separate request. In a preferred embodiment, the digital signature messaging software described above is adapted to process a signed PKCS#7 request from subscribing customer 106 and post a Certificate Status Check request to relying participant 108 in one second or less. 35 Certificate status check responses from relying participant 104 are preferably processed in one second or less. In a preferred embodiment, the digital signature messaging software described above is adapted to reliably handle 350 concurrent requests without any performance degradation in a single minute at peak load. In a preferred embodiment, the digital signature messaging software described above is available 90 % of the time during interoperability testing and 95% of the time during pre-production testing. During production, availability preferably meets requirements specified by root entity 110. In an alternative preferred embodiment, rather than supporting both raw OCSP and ι ø OCSP wrapped in XML, the system may employ a pure XML implementation. Standards based protocols for certification validation may also be considered rather than devising a new proprietary protocol. One such protocol is the "Simple Certificate Validation Protocol (SCVP)" which is in an Internet-draft form at the current time. This protocol would enable a relying customer 108 to offload path validation responsibilities to a remote path 15 processing server (RPPS). More information about this protocol may be found at the IETF web site http://www.ietf.org/intemet-drafts/draft-ietf-pkix-scvp-02.txt. While the invention has been described in conjunction with specific embodiments, it is evident that numerous alternatives, modification, and variations will be apparent to those skilled in the art in light of the foregoing description. 20 25 30 35

Claims: CLAIMS 1. A system for integrating a seller's Web site with a public key infrastructure, the Web site comprising a Web server and a Web application, the public key infrastructure comprising a buyer computer comprising a Web browser adapted to invoke a signing interface to digitally sign electronic messages, the public key infrastructure further comprising a seller's bank computer system adapted to receive service requests from the seller and respond to those requests with digitally signed service responses; the system ι ø comprising: a filter adapted to redirect HTTP requests received from the Web browser; an Internet server application adapted to receive a redirected HTTP request from the filter and process the redirected HTTP request; a filter engine adapted to receive the processed HTTP request and identify an HTTP 1 request that contains data requiring signature by the buyer. 2. The system of claim 1 , wherein the filter engine is further adapted to identify an HTTP request that requires accessing a service offered by the seller's bank and to formulate a request for the service, and wherein the system further comprises: ø a bank interface adapted to receive the request from the filter engine, reformat the request, and transmit the request to the seller's bank. 3. The system of claim 2, wherein the bank interface is further adapted to receive a service response to the request from the seller's bank and forward the response to the filter 5 engine. 4. The system of claim 2, wherein the service is certificate validation. 5. The system of claim 1 , further comprising a second Web server adapted to parse ø requests redirected by the filter. 6. The system of claim 1 , wherein services provided by the seller's bank are provided within the context of a four-comer model. 5 7. The system of claim 6, wherein the four-comer model comprises the buyer, the seller, the seller's bank, and a buyer's bank. 8. The system of claim 1, wherein the filter is implemented using ISAPI. 5 9. The system of claim 1, wherein the Internet service application is adapted to generate HTTP responses based on data received from the filter engine. 10. The system of claim 1 , wherein the Internet server application is adapted to pass a hash table to the filter engine. 11. The system of claim 10, wherein the hash table comprises the headers from the redirected HTTP request. 12. The system of claim 10, wherein the hash table comprises the method of the redirected HTTP request. 13. The system of claim 10, wherein the hash table comprises the content-type of the redirected HTTP request. 0 14. The system of claim 10, wherein the hash table comprises the buyer computer's IP address. 15. The system of claim 10, wherein the hash table comprises the actual data in the redirected HTTP request. 16. The system of claim 10, wherein the hash table comprises a unique session ID. 17. The system of claim 1, wherein the Internet service application is a servlet. 0 18. The system of claim 20, wherein the servlet is constructed as a public class object that extends javax.servlet.http.HttpServlet. 19. The system of claim 21, wherein the public class object comprises a callFilterEngine method, a doGet method, a doPost method, a getRequestHeaders method, a handleRequest method, and init method, a printErrorResponse method, a printPluginPage method, a readMessage method, a readRequestData method, and a setServletHeaders method. 5 20. The system of claim 1 , wherein the filter engine is adapted to return an object to the servlet. 21. The system of claim 20, wherein the object comprises an integer value indicating one of four conditions: that a signature is required on data in the HTTP request, that a ι ø response has been received from the seller's bank concerning a service request, that the HTTP request has been passed through to the Web application, or that an error occurred. 22. The system of claim 1 , wherein if the integer value indicates that a signature is required on data in the HTTP request then the Internet server application stores a state of 15 the filter engine in a cookie and causes a Web page containing the cookie and an instruction to sign the data to be transmitted to the Web browser. 23. The system of claim 1, wherein the filter engine determines whether an HTTP request contains data requiring signature by applying filtering rales. 0 24. The system of claim 1 , wherein the filter engine is programmed to recognize each HTTP request that includes data requiring signature. 25. The system of claim 1, wherein the filter engine is programmed to recognize HTTP requests transmitted by the Web browser that have been modified to include a special tag that indicates whether the request includes data that requires signature. 26. The system of claim 1 , wherein the filter engine is implemented as a public class object that extends java.lang.object. 0 27. The system of claim 26, wherein the public class object comprises the following methods: a callWebApp method, a getSessionlD method, a newRequestHandler method, an oldRequestHandler method, a service method, and a signedRequestHandler method. 5 28. The system of claim 1 , wherein the filter engine provides an abstracted front end interface via Java remote method invocation. 29. The system of claim 1 , wherein the filter engine employs a rales class. 5 30. The system of claim 1 , wherein the rules class comprises the following methods: a getMode method, a getService method, a readRules method, a ralesMatch method, and a validateRules method. ι ø 31. The system of claim 1 , wherein the bank interface is designed with a plug-in based architecture. 32. The system of claim 1 , wherein the bank interface supports an abstract front-end interface to allow communication via a plurality of middleware technologies. 15 33. The system of claim 1 , wherein the bank interface is adapted to create and transmit OCSP requests. 34. The system of claim 1, wherein the bank interface comprises a certificate status 2ø check module. 35. The system of claim 1, wherein the bank interface comprises a public class object that extends java.lang.object. 2 36. The system of claim 1 , wherein the public class object comprises a createOCSPRequest method, a getCertificatelD method, a getCertStatus method, a getCertsVerifyMessage method, a getURL method , an isResponseSuccessful method, a logAndBuildReturnObject method, a processOCSP method, a sendAndReceiveMessage method, a serviceRequest method, and a verifyResponseSignature method. 30 37. A system for integrating a seller's Web site with a public key infrastructure, comprising: a Web server; a Web application connected to the Web server, the Web application adapted to 25 identify HTTP requests that include data requiring signature and to create a Web page for transmission to a browser that will cause the browser to invoke a signing interface to sign the data; the Web application further adapted to identify HTTP requests that require a service provided by an entity other than the seller; and a bank interface adapted to receive a request for service from the Web application, format and transmit the request, receive a response to the request, and forward the response to the Web application.

Inventors: BRANDENBURG JACKSON, DULIN CHARLES, KRISHNAMACHARII NARASIMHAN, BRANDENBURG, JACKSON, DULIN, CHARLES, KRISHNAMACHARII, NARASIMHAN
Applicants: BRANDENBURG JACKSON, DULIN CHARLES, KRISHNAMACHARII NARASIMHAN, BRANDENBURG, JACKSON, DULIN, CHARLES, KRISHNAMACHARII, NARASIMHAN
Application year: 2000
Main classification: G06F17
IPC codes: G06Q30