1. Field of the Invention
The present invention relates to a technique for permitting X.509 certificates to utilize more than a single encryption algorithm. More particularly, the present invention relates to a technique by which a certificate may be extended to support a second encryption algorithm while not requiring a new certificate hierarchy and while maintaining backward compatibility.
2. Description of the Related Art
Security for transactions and documents transmitted over networks such as the Internet have been a stumbling block to having true end-to-end e-commerce. Security flaws in existing systems are well documented, and security which is transparent to the public has been difficult to implement. Thus, many people feel less than secure about sending credit card numbers and the like to merchants via the Internet.
More recently, to address this problem, the companies which produce the VISA and MasterCard credit cards jointly came up with an end-to-end specification for securely transmitting credit card numbers and information as part of electronic transactions over the Internet. This specification, known as SET (Secure Electronic Transactions), was first introduced in 1997 (SET is a trademark of SET Secure Electronic Transaction LLC).
The SET specification relies on the concept of certificates, which are issued to merchants, credit card holders, credit card issuers, etc. Certificates are subject to verification based on their ‘signature’, and are encrypted. The standard certificate type which is used in known as the X.509 certificate.
One drawback to X.509 certificates is that they support only a single encryption algorithm at a time. Also, some encryption algorithms perform better in some environments. Recent highly publicized events have shown that some encryption algorithms can be broken if enough resources are thrown at them. This is not well received by the public. However, it has been demonstrated that most unscrupulous parties have only limited resources. And if the effort to decrypt a certificate outweighs the potential reward, no attempt will be made to break the encryption. In this regard, SET certificates are somewhat vulnerable. The certificates support only a single encryption algorithm, and most certificates use only a single, known standard algorithm. So, while it is not easy, a party bent on decrypting a certificate can intercept a certificate on the Internet and have a pretty good idea of which algorithm is employed. By employing the extensive resources required to decrypt the certificate, the party can then succeed in decrypting the certificate. Accordingly, a need exists for making X.509 certificates support additional cryptographic algorithms.
An object of the present invention is to provide a technique for utilizing more than one encryption algorithm in an X.509 certificate.
Other objects and advantages of the present invention will be set forth in part in the description and the drawings which follow, and, in part, will be obvious from the description or may be learned by practice of the invention.
To achieve the forgoing objects, and in accordance with the purpose of the invention as broadly described herein, the present invention provides an X.509 certificate capable of supporting more than one cryptographic algorithm, comprising a signature algorithm and signature for all authenticated attributes using a first cryptographic algorithm; an alternative public key extension for identifying at least one alternative cryptographic algorithm and providing its associated public key; and an alternative signature extension for containing a signature for the alternative cryptographic algorithm. Preferably, the first cryptographic algorithm is RSA and the alternative cryptographic algorithm is elliptic curve. Also, the certificate can be verified by either the signature for the first cryptographic algorithm or the signature for the alternative signature algorithm.
The present invention will now be described with reference to the following drawings, in which like reference numbers denote the same element throughout.
The workstation 10 communicates via a communications channel 32 with other computers or networks of computers. The workstation 10 may be associated with such other computers in a local area network (LAN) or a wide area network, or the workstation 10 can be client in a client/server arrangement with another computer, etc. All of these configurations, as well as the appropriate communications hardware and software, are known in the art.
Still referring to
The mainframe computer 46 may also be coupled to a storage device 50, which may serve as remote storage for the LAN 44. Similarly, the LAN 44 may be coupled to a communications link 52 through a subsystem control unit/communication controller 54 and a communications link 56 to a gateway server 58. The gateway server 58 is preferably an individual computer or intelligent workstation which serves to link the LAN 42 to the LAN 44.
Those skilled in the art will appreciate that the mainframe computer 46 may be located a great geographic distance from the LAN 44, and similarly, the LAN 44 may be located a substantial distance from the LAN 42. For example, the LAN 42 may be located in California, while the LAN 44 may be located in Texas, and the mainframe computer 46 may be located in New York.
Software programming code which embodies the present invention is typically stored in permanent storage of some type, such as the permanent storage 30 of the workstation 10. In a client/server environment, such software programming code may be stored with storage associated with a server. The software programming code may be embodied on any of a variety of known media for use with a data processing system, such as a diskette, or hard drive, or CD-ROM. The code may be distributed on such media, or may be distributed to users from the memory or storage of one computer system over a network of some type to other computer systems for use by users of such other systems. The techniques and methods for embodying software program code on physical media and/or distributing software code via networks are well known and will not be further discussed herein.
The preferred embodiment of the present invention will now be discussed with reference to
The architecture and features of X.509 certificates are well known and will not be described in detail herein. Basically, the current SET specification utilized RSA public key cryptography as the encryption technique for the X.509 certificates it has defined for use therewith. And standard X.509 only supports having one public key being certified in a certificate. Likewise, a certificate issuer can only sign with one key type. In this scenario, only one algorithm can be supported. If support is desired for a second algorithm, a distinct certificate hierarchy would be required. Maintaining a second hierarchy would be very expensive.
Further, if the current X.509 public key and signature elements were to be changed from a single item to a multiple item format, the new certificates would be incompatible with the old ones.
All extensions in an X.509 certificate are included in the portion of the X.509 certificate referred to as “data to be signed”. Elements in the “data to be signed” portion are not encrypted; thus they may be obtained for validation and are protected from modification by the signature.
Referring now to
Preferably, the alternate signatures extension will be a list of items, with each item containing the signature item algorithm (including key type) and the signature. The public keys of the entity being certified are contained in a list where each item contains the key algorithm type and the key.
To sign the certificates, the certificate authority will start by signing with the alternate algorithm. First, the certificate authority signs the unsigned certificate without the alternate signature extension using all of the desired certificate authority's alternative signature private keys.
Each of the corresponding certificate authority alternative signature public keys must be present in the Certificate authority's issuing certificate in its own alternate signature extension. Each signature is added to the alternate signatures extension. Finally, the entire unsigned certificate (including the alternate signatures extension) is signed using the certificate authority's private key that corresponds to the public key contained in the existing signature portion of the certificate authority's X.509 certificate. Thus, any ‘old’ entity should be able to use the previous public key cryptographic algorithm in the certificate hierarchy with no modifications.
Using this technique, an first entity which supports only one algorithm, such as RSA cryptography, can validate a message (containing a certificate) from a second entity which supports both RSA and a second algorithm, such as elliptic curve, in its extension. (The certificate authority that signed the second entity's certificate would also support both algorithms.) The first entity would, upon reviewing the certificate from the second entity, find that the certificate contains an RSA public key that is signed by a certificate authority that the first entity trusts. The first entity would also notice that there is an extension that the first entity does not understand, but that extension is considered non-critical, and can be ignored without repercussion.
A third entity which only supports elliptic curve may also validate a message from the second entity. The third entity would review the certificate from the second entity and understand that the primary algorithm is RSA and that the certificate is signed with RSA. The third entity would review the extensions and determine that the certificate also has an elliptic curve public key and an extension that contains an elliptic curve alternative signature. If the third entity validates the alternative signature and the third entity trusts the issuing certificate authority, the third entity can trust that the elliptic curve key in the certificate is legitimate.
Since the extension is marked as non-critical, entities that do not support the multiple algorithm enhancement could continue to function under the original public key algorithm, without needing to be aware of or modified for the extension. Also, when new root certificates are issued for a protocol or implementation, the new root can add the extensions and the root trust mechanisms (via key or certificate hashes) do not have to be changed. For example, future SET roots can add elliptic curve support by adding these extensions and both the SubjectPublicKeyInfo hash validation and the root horizontal chaining continue to work exactly as before.
If it is determined in Step 102 that the primary signature is not supported by the receiving entity, the alternative signature in the extension is checked for a match (Step 106). If no match occurs here, processing ends, as the certificate cannot be verified. If a match does occur, processing proceeds to Step 108, in which the alternative signature extension is removed from the attributes. The attributes are then re-encoded in accordance with known techniques, and hashed. Verification of the alternative signatures is then performed in accordance with known techniques. Processing then ends.
Although the present invention has been described with respect to a specific preferred embodiment thereof, various changes and modifications may be suggested to one skilled in the art and it is intended that the present invention encompass such changes and modifications as fall within the scope of the appended claims.
This application is a Continuation of U.S. application Ser. No. 09/240,265, now U.S. Pat. No. 7,404,077, filed on Jan. 29, 1999, which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5923756 | Shambroom | Jul 1999 | A |
Number | Date | Country |
---|---|---|
2321741 | Aug 1998 | GB |
Number | Date | Country | |
---|---|---|---|
20080270788 A1 | Oct 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09240265 | Jan 1999 | US |
Child | 12137621 | US |