The following relates generally to the generation of certificates in cryptographic systems.
A cryptographic system is a computer system that uses cryptography, typically to secure or authenticate data communication between a pair of computing devices connected to one another through a data communication link in the system. Each computing device has a cryptographic unit with the processing capacity to implement one or more cryptographic protocols used to secure or authenticate the data communication. The cryptographic protocols typically perform arithmetic operations on the bit strings representing parameters, messages, or data in the protocols to produce a bit string representing the output from the protocol.
In cryptographic systems, Certification Authorities (CAs) are trusted 3rd parties responsible for vouching for the authenticity of public keys. For example, if correspondent A wishes to distribute its public key QA, correspondent A may request that a CA issue a certificate for public key QA. The certificate issued by the CA comprises a data portion and a signature portion. The data portion typically contains the identity of correspondent A, IDA, as well as the public key of correspondent A, QA. The signature portion is created by signing the data portion using the CA's private key kCA. The issued certificate therefore binds the identity information IDA of correspondent A to its public key QA through the signature of the CA.
When another correspondent, say correspondent B, receives the certificate, it can verify the signature using the public key of the CA, QCA. Successful verification confirms that the data portion of the certificate has not been compromised and that therefore correspondent B has a valid and authentic copy of the public key QA of correspondent A.
This type of certificate is referred to as a conventional or “explicit” certificate since correspondent B explicitly verifies the CA's signature on the certificate to authenticate QA. Assuming the CA has verified that correspondent A does indeed possess the private key kA associated with QA then upon verification of the signature by correspondent B, correspondent B is also assured that correspondent A must possess the private key kA associated with QA.
In order for the scheme described above to operate securely, correspondent B must be sure that he possesses a valid and authentic copy of the public key QCA of the CA. One way to achieve this is to have another CA in a higher security domain issue a certificate on public key QCA. For example, upon registration with the system, correspondent B may obtain the public key of a root CA, QCA
Since QCA
Certain types of implicit certificates are also known in the art as an alternative way of distributing public keys. These implicit certificates require no explicit verification of the CA's signature, and therefore have the advantage that they are smaller in size and therefore offer bandwidth savings over conventional explicit certificates. A public key distributed via such an implicit certificate is implicitly authenticated by successfully using the public key in an operation that requires the use of the corresponding private key.
A well-known implicit certificate scheme is Elliptic Curve Qu-Vanstone (ECQV). This scheme is used to provide implicit authentication when the certificate is used in conjunction with an operation requiring the sender to use the corresponding private key, such as in ECDH, ECMQV, or ECDSA operations. A summary of ECQV is as follows.
A correspondent, A, wishing to establish a private/public key pair (kA, QA) and distribute public key QA via an implicit certificate, first uses its random number generator to generate a random bit string to be used as an ephemeral private key dA. The cryptographic unit then generates a corresponding ephemeral public key GA=dAG, where G is the base point on the underlying elliptic curve and a generator of the subgroup of the elliptic curve group. Correspondent A then sends GA, as well as any identity information, to the CA. The CA receives GA and the identity information and performs the following steps:
Upon receiving ICA and s, correspondent A performs the following steps to calculate its key pair (kA, QA):
The CA distributes the implicit certificate ICA to the other correspondents. A particular correspondent, say correspondent B, receives ICA and derives the public key QA of correspondent A as follows:
Correspondent B is therefore able to use the public key QCA of the CA to derive QA from the implicit certificate ICA. However, correspondent B has no way of knowing whether correspondent A possesses the corresponding private key kA. Therefore, authentication of correspondent A and its public key QA is not complete until an operation involving both QA and kA is successfully performed. For example, correspondent A and correspondent B may subsequently engage in an ECMQV key agreement or ECDSA signature protocol, both of which require the use of QA and kA. If the key agreement or signature operations fail, then QA is not considered to be authentic or valid. On the other hand, if the key agreement or signature operations are successful, then correspondent A must possess kA, and the authenticity and validity of QA is implicitly verified.
Even though the CAs in such a system issue implicit certificates as above, the root CA must still distribute its root public key QCA
Representative embodiments will now be described by way of example only with reference to the accompanying drawings, in which:
In general terms, the following provides methods for generating and operating upon a self-signed implicit certificate. In one embodiment, the self-signed implicit certificate is generated by a root CA and is operated upon using transformations of a nature similar to the transformations used in the ECQV protocol. In this way, a root CA avoids having to generate an explicit self-signed certificate by instead generating a self-signed implicit certificate.
Systems are also disclosed for performing the methods, as well as a computer readable medium having stored thereon instructions for performing the methods.
Embodiments will now be described with reference to the figures. It will be appreciated that for simplicity and clarity of illustration, where considered appropriate, reference numerals may be repeated among the figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein may be practiced without these specific details. In other instances, well-known methods, procedures and components have not been described in detail so as not to obscure the embodiments described herein. Also, the description is not to be considered as limiting the scope of the embodiments described herein.
It will also be appreciated that that any module, component, or device exemplified herein that executes instructions may include or otherwise have access to computer readable media such as storage media, computer storage media, or data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by an application, module, or both. Any such computer storage media may be part of the device or accessible or connectable thereto. Any application or module herein described may be implemented using computer readable/executable instructions that may be stored or otherwise held by such computer readable media.
Turning therefore to
The embodiment shown in
In the embodiment shown in
Correspondents 108a and 108b, as well as CA 104, are shown in greater detail in
Similarly, CA 104 comprises: communication ports 224 for communicating with each of the correspondents 108a-m over channels 110a-m; a communication port 228 for communicating with root CA 102 over channel 112a, which may or may not be secure; a cryptographic processing unit 230 for performing operations operating on the elliptic curve group E defined over a chosen field; memory 232 for storing the results of such cryptographic operations and for storing information received via ports 224 and 228; and internal buses 234 for communicating information internally. As above, the cryptographic processing unit 230 may be hardware, computer readable software instructions embodied in fixed form on a data carrier or in a memory, or a combination of both that is configured to perform cryptographic operations such as those described in detail below.
Although not shown in detail in the figures, the internal structure of CA 106 and root CA 102 is similar to CA 104, and the internal structure of correspondents 108c-t is similar to correspondents 108a and 108b.
Upon registering with the system, each correspondent 108a-t receives a self-signed implicit certificate from root CA 102, which each correspondent 108a-t operates on to compute QCA
The public key QCA
It is clear that correspondent 108t must begin with a valid and authentic copy of QCA
In step 302, the cryptographic unit 230 of root CA 102 first generates a private/public key pair (dCA, BCA). dCA is an ephemeral bit string representing an integer, typically generated using a random number generating module within cryptographic unit 230, and BCA, a public-key reconstruction value, is calculated by unit 230 by performing a dCA-fold operation on a bit string representing the generator G to obtain BCA=dCAG. BCA is itself a public key. It is utilized in generating the self-signed implicit certificate and computing the public key QCA
In step 304, root CA 102 next obtains or creates certificate data ICA for its self-signed certificate. The certificate data ICA includes information specific to the certificate. For example, the certificate information can include information such as: identification information, the validity period of the certificate, and/or the intended use of the public key.
Next, in step 306, root CA 102 operates on BCA and ICA to generate a self-signed implicit certificate ICCA
In step 308, cryptographic unit 230 of root CA 102 then calculates intermediate integer value e=Hash(ICCA
Finally, in step 310, cryptographic unit 230 uses integers dCA and e to compute its private key kCA
As will be shown in
Root CA 102 then sends its self-signed implicit certificate ICCA
Upon receiving self-signed implicit certificate ICCA
In step 402, the cryptographic unit 210 of correspondent 108t operates on ICCA
In step 404, correspondent 108t then verifies the contents of ICA according to application rules. For example, correspondent 108t may verify the identity and validity period. In some embodiments, the correspondent 108t also verifies that BCA is a valid point on the underlying curve.
Next, in step 406, cryptographic unit 210 of correspondent 108t then calculates intermediate value e=Hash(ICCA
Finally, in step 408, cryptographic unit 210 uses e and BCA to compute public key QCA
Thus, by performing steps 402 to 408, correspondent 108t obtains the public key QCA
Upon the completion of step 408, correspondent 108t may then use QCA
As discussed above, the transformations shown in
In an alternative embodiment, it is contemplated that the self-signed implicit signature scheme described in
In a further embodiment, it is contemplated that the root CA 102 runs multiple security domains using a single long-term private key rCA
In the embodiments described with reference to
The embodiments described above can be considered special cases of a more general protocol that advantageously follows many of the transformations used in the ECQV protocol. This general protocol is described with reference to
Assume root CA 102 wishes to establish a private/public pair (kCA
In step 502, the cryptographic unit 230 of root CA 102 first generates a private/public key pair (dCA, BCA). dCA is an ephemeral bit string representing an integer, typically generated using a random number generating module within cryptographic unit 230, and BCA, a public-key reconstruction value, is calculated by unit 230 as BCA=dCAG.
In step 504, root CA 102 next obtains or creates certificate data ICA for its self-signed certificate. The certificate data ICA includes information specific to the certificate. For example, the certificate information can include information such as: identification information, the validity period of the certificate, and/or the intended use of the public key.
Next, in step 506, root CA 102 operates on BCA and ICA to generate a self-signed implicit certificate ICCA
In step 508, cryptographic unit 230 of root CA 102 then calculates intermediate integer value e=Hash(ICCA
Next, in step 510, cryptographic unit 230 computes private key contribution data s as s=αdCA+r (mod n), where α is a publicly computable integer, and r is an integer parameter, possibly private to the root CA 102.
Finally, in step 512, cryptographic unit 230 compute its private key kCA
A correspondent in the cryptographic system, say correspondent 108t, can operate upon the self-signed implicit certificate ICCA
In step 602, the cryptographic unit 210 of correspondent 108t operates on ICCA
In step 604, correspondent 108t then verifies the contents of ICA according to application rules.
Next, in step 606, cryptographic unit 210 of correspondent 108t then calculates intermediate value e=Hash(ICCA
Finally, in step 608, cryptographic unit 210 obtains α and rG, and uses these values along with e and BCA to compute public key QCA
Thus, by performing steps 602 to 608, correspondent 108t obtains the public key QCA
It will be observed that the protocol described with reference to
Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention as outlined in the claims appended hereto.
For example, it will be appreciated that the self-signed implicit certificate schemes described above can be implemented in any trust model or topology, not just hierarchical trust models such as that shown in
More generally, it will be appreciated that the self-signed implicit certificates described above are not limited to self-signed implicit certificates issued by Certification Authorities per se. Instead, self-signed implicit certificate generation can be implemented in any computing device wishing to issue a self-signed public key bound to associated information or data. The associated information will most likely be, but is not limited to, information relating to the identity and/or validity of the public key. For example, in Pretty Good Privacy (PGP) systems, a correspondent may issue a self-signed implicit certificate for its public key. This correspondent is not Certification Authority per se, but is rather a correspondent wishing to distribute its public key using a self-signing technique.
Therefore, it will be appreciated that any of the methods described above with reference to
It will also be appreciated that the techniques described above are not limited to elliptic curve systems, but may be extended to non-elliptic curve discrete logarithmic systems (e.g. systems based on an underlying multiplicative group) using straight-forward modifications apparent to a person skilled in the art having the benefit of the present disclosure.
Therefore, in view of the above embodiments,
The computing device in
This application is a continuation of U.S. patent application Ser. No. 12/774,568, filed on May 5, 2010, which claims priority from U.S. Provisional Application No. 61/213,082, filed on May 5, 2009, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
7290133 | Montgomery | Oct 2007 | B1 |
7391868 | Qu et al. | Jun 2008 | B2 |
7512974 | Callaghan et al. | Mar 2009 | B2 |
7822974 | Kinser et al. | Oct 2010 | B2 |
20060253702 | Lowell et al. | Nov 2006 | A1 |
20120036364 | Yoneda et al. | Feb 2012 | A1 |
Entry |
---|
Mirzadeh et al; CPFP: “An Efficient Key Management Scheme for Large Scale Personal Networks”; pp. 744-748—IEEE published 2008. |
Gunther, C.G.: “An Identity-Based Key-Exchange Protocol”; Advances in Cryptology—Eurocrypt '89; LNCS 434; pp. 29 to 37; Springer-Verlag, Germany; published 1990. |
Girault, M.; “Self-Certified Public Keys”, Advances in Cryptology—Eurocrypt '91; LNCS 547; pp. 490 to 497; Springer-Verlag, Germany; published 1991. |
Struik, et al.; “Sec 4: Elliptic Curve Qu-Vanstone Implicit Certificate Scheme (ECQV), v0.91”; Nov. 18, 2008; p. 22; XP007914511; retrieved from http://www.secg.org/download/aid-775/sec4-ECQV-v091.pdf; retrieved Aug. 18, 2010; sections 1.1, 2.4, 2.5. |
“Information Technology—Open Systems Interconnection—The Directory: Public-Key and attribute certificate frameworks; X.509 (Aug. 2005)”; ITU-T Standard in force (I), International Telecommunication Union, Geneva, CH. No. X.509 (Aug. 2005), Aug. 29, 2005, XP017405086, p. 6. |
Qiang Huang and Johnas Cukier and Hisashi Kobayashi and Bede Liu and Jinyun Zhang Ed—Association for Computing Machinery: “Fast authenticated key establishment protocols for self-organizaing sensor networks”, ACM WSNA 2003; Proceedings of the 2nd ACM Int'l workshop on wireless sensor networks and applications; New York; Jan. 1, 2003; pp. 141-150; XP009137731; ISBN: 978-1-58113-764-4, section 3. |
International Search report and Written Opinion of the ISA mailed Sep. 1, 2010, in corresponding PCT patent application No. PCT/US2010/033754. |
International Preliminary Report on Patentability mailed Nov. 17, 2011, in corresponding PCT patent application No. PCT/US2010/033754. |
Corrected Version of the International Search report and Written Opinion mailed Sep. 29, 2010, in corresponding PCT patent application No. PCT/US2010/033754. |
Number | Date | Country | |
---|---|---|---|
20130227277 A1 | Aug 2013 | US |
Number | Date | Country | |
---|---|---|---|
61213082 | May 2009 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12774568 | May 2010 | US |
Child | 13856915 | US |