Cooperation service providing system and server apparatus
09813386 · 2017-11-07
Assignee
Inventors
- Yoshihiro Fujii (Tokyo, JP)
- Koji Okada (Tokyo, JP)
- Hiroyuki Mayuzumi (Yashio, JP)
- Masahisa Tajiri (Fukuoka, JP)
Cpc classification
H04L63/0428
ELECTRICITY
G09C1/00
PHYSICS
H04L63/0471
ELECTRICITY
G06F21/62
PHYSICS
International classification
H01L29/06
ELECTRICITY
G09C1/00
PHYSICS
G06F21/62
PHYSICS
Abstract
Upon receiving ciphertext data transmitted by each service apparatus, a cooperation apparatus according to an embodiment generates re encrypted data by performing re encryption processing for the ciphertext data using are encryption key. Each of the service apparatuses transmits, to the cooperation apparatus, a request to acquire user information of a user specified by an identification (ID) indicated by the ciphertext data and stored in the other service apparatus, together with the ciphertext data. Upon receiving the re encrypted data transmitted by the cooperation apparatus, the service apparatus acquires an ID by decrypting the re encrypted data using a private key, reads out user information, and transmits the user information to the other service apparatus.
Claims
1. A cooperation service providing system comprising: a re-encryption key issuing apparatus; a plurality of service apparatuses for providing various services to a user by using an identification (ID) issued for the user; and a cooperation apparatus communicably connected to the plurality of service apparatuses and the re-encryption key issuing apparatus, wherein the cooperation apparatus comprises: a first memory configured to store public keys of the re-encryption key issuing apparatus and the service apparatuses, a second memory configured to store a re-encryption key for implementing re-encryption processing of enabling ciphertext data transmitted by a first service apparatus to be decrypted using a private key of a second service apparatus, first generation circuitry configured to generate, upon receiving the ciphertext data transmitted by the first service apparatus, re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key, first transmission circuitry configured to transmit the generated re-encrypted data to the second service apparatus, and second transmission circuitry configured to transmit the stored public keys to the service apparatuses, and the first service apparatus of the plurality of service apparatuses comprises: a third memory configured to store the issued ID in association with user information unique to the service apparatus, a fourth memory configured to store a private key of the service apparatus, third transmission circuitry configured to transmit, to the cooperation apparatus, ciphertext data in which the ID of the user encrypted using a public key of the re-encryption key issuing apparatus stored in the first memory, and a request to acquire user information specified by the ID and stored in the second service apparatus, in response to an operation of the user, acquisition circuitry configured to acquire, upon receiving the re-encrypted data transmitted by the cooperation apparatus, the encrypted ID by decrypting the re-encrypted data using the stored private key, readout circuitry configured to read out the user information corresponding to the acquired ID from the third memory, and fourth transmission circuitry configured to transmit the readout user information to the second service apparatus via the cooperation apparatus.
2. A cooperation service providing system comprising: a re-encryption key issuing apparatus: a plurality of service apparatuses for providing various services to a user by using an identification (ID) issued for the user; and a cooperation apparatus communicably connected to the plurality of service apparatuses, and the re-encryption key issuing apparatus, wherein the cooperation apparatus comprises: a first memory configured to store public keys of the re-encryption key issuing apparatus and the service apparatuses, a second memory configured to store a re-encryption key for implementing re-encryption processing of enabling ciphertext data transmitted by a first service apparatus to be decrypted using a private key of a second service apparatus, first generation circuitry configured to generate, upon receiving the ciphertext data transmitted by the first service apparatus, re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key, first transmission circuitry configured to transmit the generated re-encrypted data to the second service apparatus, and second transmission circuitry configured to transmit the stored public keys to the service apparatuses, and the first service apparatus of the plurality of service apparatuses comprises: a third memory configured to store the issued ID linked with a first code unique to the service apparatus in association with user information unique to the service apparatus, a fourth memory configured to store a private key of the service apparatus, third transmission circuitry configured to transmit, to the cooperation apparatus, ciphertext data in which the ID of the user generated by using a public key of the re-encryption key issuing apparatus stored in the first memory and the first code linked with the ID are encrypted, and a request to acquire user information specified by the ID and stored in the second service apparatus, in response to an operation of the user, acquisition circuitry configured to acquire, upon receiving the re-encrypted data transmitted by the cooperation apparatus, the encrypted ID by decrypting the re-encrypted data using the stored private key, encryption circuitry configured to encrypt the decrypted ID to generate a second code, readout circuitry configured to read out the user information corresponding to the first code from the third memory, specifying circuitry configured to specify the user information by comparing the first code with the second code, and fourth transmission circuitry configured to transmit the readout user information to the second service apparatus via the cooperation apparatus.
3. A server apparatus of a cooperation service providing system, the cooperation service providing system including: a re-encryption key issuing apparatus, a plurality of service apparatuses for providing various services to a user by using an identification (ID) issued for the user, and a cooperation apparatus communicably connected to the plurality of service apparatuses a first service apparatus of the plurality of service apparatuses includes: a first memory which stores the issued ID in association with user information unique to the service apparatus, a second memory which stores a private key of the service apparatus, first generation circuitry which generates, in response to an operation of the user, ciphertext data by encrypting using a public key of the re-encryption key issuing apparatus received from the cooperation apparatus for the ID of the user, first transmission circuitry which transmits, to the cooperation apparatus, the generated ciphertext data and a request to acquire user information specified by the ID and stored in a second service apparatus, acquisition circuitry which acquires, upon receiving re-encrypted data transmitted by the cooperation apparatus, the encrypted ID by decrypting the re-encrypted data using the stored private key, readout circuitry which reads out the user information corresponding to the acquired ID from the first memory, and second transmission circuitry which transmits the readout user information to the second service apparatus via the cooperation apparatus, the server apparatus comprising: a third memory configured to store public keys of the re-encryption key issuing apparatus and the service apparatuses; a fourth memory configured to store a re-encryption key for implementing re-encryption processing of enabling ciphertext data transmitted by the first service apparatus to be decrypted using a private key of the second service apparatus; second generation circuitry configured to generate, upon receiving the ciphertext data transmitted by the first service apparatus, re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key; third transmission circuitry configured to transmit the generated re-encrypted data to the second service apparatus; and fourth transmission circuitry configured to transmit a stored public key of the stored public keys to the service apparatuses.
4. A cooperation service providing system comprising: a re-encryption key issuing apparatus; a plurality of service apparatuses for providing various services to a user; and a cooperation apparatus communicably connected to the plurality of service apparatuses and the re-encryption key issuing apparatus, wherein the cooperation apparatus comprises: a first memory configured to store public keys of the re-encryption key issuing apparatus and the service apparatuses, a second memory configured to store a re-encryption key for implementing re-encryption processing of enabling ciphertext data transmitted by a first service apparatus to be decrypted using a private key of a second service apparatus, first generation circuitry configured to generate, upon receiving the ciphertext data transmitted by the first service apparatus, re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key, first transmission circuitry configured to transmit the generated re-encrypted data to the other second service apparatus, and second transmission circuitry configured to transmit stored public keys to the service apparatuses, and the first service apparatus of the plurality of service apparatuses comprises: a third memory configured to store cooperation information or between the service apparatuses in association with the user, a fourth memory configured to store a private key of the service apparatus, second generation circuitry configured to generate, in response to an operation of the user, ciphertext data by encrypting the cooperation information associated with the user by using a public key of the re-encryption key issuing apparatus transmitted by the cooperation apparatus, third transmission circuitry configured to transmit the generated ciphertext data to the cooperation apparatus, and acquisition circuitry configured to acquire, upon receiving the re-encrypted data transmitted by the cooperation apparatus, the encrypted cooperation information by decrypting the re-encrypted data using the private key.
5. A server apparatus of a cooperation service providing system, the cooperation service providing system including: a re-encryption key issuing apparatus, a plurality of service apparatuses for providing various services to a user, and a cooperation apparatus communicably connected to the plurality of service apparatuses, a first service apparatus of the plurality of service apparatuses includes: a first memory which stores cooperation information between the service apparatuses in association with the user, a second memory which stores a private key of the service apparatus, first generation circuitry which generates, in response to an operation of the user, ciphertext data by encrypting the cooperation information associated with the user by using a public key of the re-encryption key issuing apparatus transmitted by the cooperation apparatus, first transmission circuitry which transmits the generated ciphertext data to the cooperation apparatus, and acquisition circuitry which acquires, upon receiving re-encrypted data transmitted by the cooperation apparatus, the encrypted cooperation information by decrypting the re-encrypted data using the private key, the server apparatus comprising: a third memory configured to store public keys of the re-encryption key issuing apparatus and the service apparatuses; a fourth memory configured to store a re-encryption key for implementing re-encryption processing of enabling ciphertext data transmitted by the first service apparatus to be decrypted using a private key of a second service apparatus; second generation circuitry configured to generate, upon receiving the ciphertext data transmitted by the first service apparatus, re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key; third transmission circuitry configured to transmit the generated re-encrypted data to the second service apparatus; and fourth transmission circuitry configured to transmit the stored public keys to the service apparatuses.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12) In general, according to one embodiment, in a cooperation service providing system, a re-encryption key issuing apparatus, a plurality of service apparatuses for providing various services to a user by using an ID issued for identifying the user, and a cooperation apparatus for causing the plurality of service apparatuses to cooperate with each other are communicably connected to each other.
(13) The cooperation apparatus comprises a first storage device, a second storage device, a first generation device, a first transmission device, and a second transmission device.
(14) The first storage device stores public keys of the re-encryption key issuing apparatus and the service apparatuses.
(15) The second storage device stores a re-encryption key for implementing re-encryption processing of enabling cyphertext data transmitted by each of the service apparatuses to be decrypted using a private key of the other service apparatus without decrypting the cyphertext data into plaintext data.
(16) Upon receiving the ciphertext data transmitted by each of the service apparatuses, the first generation device generates re-encrypted data by performing re-encryption processing for the ciphertext data using the stored re-encryption key.
(17) The first transmission device transmits the generated re-encrypted data to the other service apparatus different from the service apparatus which has transmitted the ciphertext data.
(18) The second transmission device transmits the stored public key to each of the service apparatuses.
(19) Each of the service apparatuses comprises a third storage device, a fourth storage device, a second generation device, a third transmission device, an acquisition device, a readout device, and a fourth transmission device.
(20) The third storage device stores the issued ID in association with user information indicating information of the user unique to the service apparatus.
(21) The fourth storage device stores a private key of the service apparatus.
(22) In response to an operation of the user, the second generation device generates ciphertext data by performing encryption processing for the ID of the user using the public key of the encryption key issuing apparatus transmitted by the cooperation apparatus.
(23) The third transmission device transmits, to the cooperation apparatus, a request to acquire user information of a user specified by the ID indicated by the ciphertext data and stored in the other service apparatus, together with the generated ciphertext data.
(24) Upon receiving the re-encrypted data transmitted by the cooperation apparatus, the acquisition device acquires the encrypted ID by decrypting the re-encrypted data using the stored private key.
(25) The readout device reads out the user information corresponding to the acquired ID from the third storage device.
(26) The fourth transmission device transmits the readout user information to the other service apparatus via the cooperation apparatus.
First Embodiment
(27)
(28) Note that the number of service apparatuses is two in this embodiment for the sake of simplicity but is not limited to this. The ID issuing apparatus 30 issues an ID for identifying a user who uses each of the service apparatuses S.sub.1 and S.sub.2, and distributes the ID to the respective service apparatus. This arrangement of the ID issuing apparatus 30, however, is not essential since it is only necessary to store information (to be referred to as “user information” hereinafter) of the user who uses each of the service apparatuses S.sub.1 and S.sub.2 in association with the ID. Any ID distribution method may be used (an external apparatus which is not included in the arrangement according to this embodiment may distribute an ID).
(29) The arrangements of the apparatuses 10 to 30, S.sub.1, and S.sub.2 will be described in detail below.
(30) The re-encryption key issuing apparatus 10 includes a security parameter storage unit 11, a private key storage unit 12, a temporary data storage unit 13, a public parameter generation unit 14, an encryption key/re-encryption key generation unit 15, a communication unit 16, and a control unit 17.
(31) The security parameter storage unit 11 is a storage device which stores a security parameter necessary for generating public parameters for key generation. The security parameter is, for example, a threshold defining a condition under which public parameters are generated.
(32) The private key storage unit 12 is a storage device which stores a private key of a key pair (public key/private key) of the re-encryption key issuing apparatus 10, which has been generated by the encryption key/re-encryption key generation unit 15 using the public parameters.
(33) The temporary data storage unit 13 is a storage device which stores the public key of the self apparatus 10 generated by the encryption key/re-encryption key generation unit 15, and temporary data such as the intermediate processing data and processing results of the public parameter generation unit 14 and encryption key/re-encryption key generation unit 15.
(34) The public parameter generation unit 14 has a function of generating public parameters for key generation by using the security parameter read out from the security parameter storage unit 11, and a function of writing the intermediate processing data and processing result of processing of generating public parameters in the temporary data storage unit 13.
(35) The encryption key/re-encryption key generation unit 15 has a function of generating a key pair of the self apparatus 10 by using the public parameters generated by the public parameter generation unit 14, and a function of writing the private key of the generated key pair in the private key storage unit 12 and writing the public key of the generated key pair in the temporary data storage unit 13. The encryption key/re-encryption key generation unit 15 also has a function of generating a re-encryption key using the private key of the re-encryption key issuing apparatus 10 read out from the private key storage unit 12 and the public keys of the service apparatuses S.sub.1 and S.sub.2 transmitted by the cooperation apparatus 20 (to be described later), and a function of writing the intermediate processing data and processing result of processing of generating a re-encryption key in the temporary data storage unit 13.
(36) The communication unit 16 allows the self apparatus to communicate with the other apparatuses 20, 30, S.sub.1, and S.sub.2. For example, the communication unit 16 has a function of transmitting, to the cooperation apparatus 20, the public parameters generated by the public parameter generation unit 14, and the public key of the self apparatus 10 and the re-encryption key which have been generated by the encryption key/re-encryption key generation unit 15. The communication unit 16 also has a function of transmitting various requests from the re-encryption key issuing apparatus 10 to the cooperation apparatus 20.
(37) The control unit 17 has a function of controlling the respective units 11 to 16.
(38) The cooperation apparatus 20 includes a public parameter storage unit 21, a public key storage unit 22, a re-encryption key storage unit 23, a temporary data storage unit 24, a re-encryption processing unit 25, a communication unit 26, and a control unit 27.
(39) The public parameter storage unit 21 is a storage device which stores the public parameters transmitted by the re-encryption key issuing apparatus 10.
(40) The public key storage unit 22 is a storage device which stores the public keys transmitted by the re-encryption key issuing apparatus 10 and the service apparatuses S.sub.1 and S.sub.2.
(41) The re-encryption key storage unit 23 is a storage device which stores the re-encryption key transmitted by the re-encryption key issuing apparatus 10.
(42) The temporary data storage unit 24 is a storage device which stores temporary data such as the intermediate processing data and processing result of the re-encryption processing unit 25.
(43) The re-encryption processing unit 25 has a function of re-encrypting ciphertext data transmitted by each of the service apparatuses S.sub.1 and S.sub.2 using the re-encryption key read out from the re-encryption key storage unit 23, and a function of writing the intermediate processing data and processing result of re-encryption processing in the temporary data storage unit 24. More specifically, the re-encryption processing unit 25 has a function of re-encrypting ciphertext data transmitted from one service apparatus (for example, the service apparatus S.sub.1) into one for the other service apparatus (for example, the service apparatus S.sub.2) (that is, generating re-encrypted data) by using the re-encryption key read out from the re-encryption key storage unit 23 without decrypting the ciphertext data into plaintext data.
(44) The communication unit 26 allows the self apparatus to communicate with the other apparatuses 10, 30, S.sub.1, and S.sub.2. The communication unit 26 has, for example, a function of writing, in the respective corresponding storage units 21 to 23, the public parameters transmitted by the re-encryption key issuing apparatus 10, the public keys transmitted by the re-encryption key issuing apparatus 10 and the service apparatuses S.sub.1 and S.sub.2, and the re-encryption key transmitted by the re-encryption key issuing apparatus 10, and a function of transmitting the re-encrypted data re-encrypted by the re-encryption processing unit 25 to the respective service apparatuses S.sub.1 and S.sub.2. The communication unit 26 also has a function of transmitting the public parameters and public keys to the other apparatuses 10, 30, S.sub.1, and S.sub.2 in response to requests from the apparatuses 10, 30, S.sub.1, and S.sub.2, respectively.
(45) The control unit 27 has a function of controlling the respective units 21 to 26.
(46) The ID issuing apparatus 30 includes an ID issuance information storage unit 31, an ID issuing unit 32, a communication unit 33, and a control unit 34.
(47) The ID issuance information storage unit 31 is a storage device which stores an ID issued by the ID issuing unit 32.
(48) The ID issuing unit 32 has a function of issuing a unique ID for identifying a user who uses each of the service apparatuses S.sub.1 and S.sub.2, and a function of writing the issued ID in the ID issuance information storage unit 31.
(49) The communication unit 33 allows the self apparatus to communicate with the other apparatuses 10, 20, S.sub.1, and S.sub.2, and has, for example, a function of distributing the ID issued by the ID issuing unit 32 to the respective service apparatuses S.sub.1 and S.sub.2.
(50) The control unit 34 has a function of controlling the respective units 31 to 33.
(51) The practical arrangement of each of the service apparatuses S.sub.1 and S.sub.2 will be described next. The arrangement of the service apparatus S.sub.1 will be explained below as a representative example for the sake of simplicity.
(52) The service apparatus S.sub.1 includes a user information storage unit S.sub.11, a private key storage unit S.sub.12, a temporary data storage unit S.sub.13, an encryption processing unit S.sub.14, a decryption processing unit S.sub.15, a service processing unit S.sub.16, a service cooperation request unit S.sub.17, a communication unit S.sub.18, and a control unit S.sub.19.
(53) The user information storage unit S.sub.11 is a storage device which stores the ID distributed by the ID issuing apparatus 30 in association with the information (user information) of the user who uses the service apparatus S.sub.1.
(54) The private key storage unit S.sub.12 is a storage device which stores the private key of a key pair of the self apparatus S.sub.1 generated by the encryption processing unit S.sub.14 using the public parameters.
(55) The temporary data storage unit S.sub.13 is a storage device which stores a public key of the self apparatus S.sub.1 generated by the encryption processing unit S.sub.14, and temporary data such as the intermediate processing data and processing results of the encryption processing unit S.sub.14 and decryption processing unit S.sub.15.
(56) The encryption processing unit S.sub.14 has a function of generating a key pair of the self apparatus S.sub.1 using the public parameters transmitted by the cooperation apparatus 20, and a function of writing the private key of the generated key pair in the private key storage unit S.sub.12 and writing the public key of the generated key pair in the temporary data storage unit S.sub.13. The encryption processing unit S.sub.14 also has a function of generating ciphertext data by performing encryption processing for plaintext data (for example, the ID stored in the user information storage unit S.sub.11 or the like) using the public key of the re-encryption key issuing apparatus 10 transmitted by the cooperation apparatus 20, and a function of writing the intermediate processing data and processing result of processing of generating ciphertext data in the temporary data storage unit S.sub.13.
(57) The decryption processing unit S.sub.15 has a function of decrypting the re-encrypted data transmitted by the cooperation apparatus 20 by using the private key read out from the private key storage unit S.sub.12, and a function of writing the intermediate processing data and processing result of decryption processing in the temporary data storage unit S.sub.13.
(58) The service processing unit S.sub.16 has a function of providing a service in response to a request from the user.
(59) The service cooperation request unit S.sub.17 has a function of requesting the cooperation apparatus 20 via the communication unit S.sub.18 to acquire information held in the other service apparatus.
(60) The communication unit S.sub.18 allows the self apparatus to communicate with the other apparatuses 10 to 30 and S.sub.2. The communication unit S.sub.18 has, for example, a function of writing the ID distributed from the ID issuing apparatus 30 in the user information storage unit S.sub.11 in association with the user information, and a function of transmitting the public key and ciphertext data generated by the encryption processing unit S.sub.14 to the cooperation apparatus 20. The communication unit S.sub.18 also has a function of transmitting various requests from the service apparatus S.sub.1 to the cooperation apparatus 20.
(61) The control unit S.sub.19 has a function of controlling the respective units S.sub.11 to S.sub.18.
(62) Note that each of the service apparatuses S.sub.1 and S.sub.2 provides a unique service to the user, and does not share user information with the other service apparatus.
(63) An example of the operation of the cooperation service providing system 1 with the above arrangement will be described with reference to sequence charts shown in
(64) The following operation is executed in an order of (1) preprocessing and (2) cooperation processing, and (1) preprocessing is executed in an order of (1-1) key generation processing, (1-2) ID issuing processing, and (1-3) re-encryption key generation processing. Note that the preprocessing need not always be executed in the above order. For example, the ID issuing processing may be executed before the key generation processing.
(65) The re-encryption key issuing apparatus 10 and the respective service apparatuses S.sub.1 and S.sub.2 execute (1) key generation processing, as shown in
(66) First, the public parameter generation unit 14 of the re-encryption key issuing apparatus 10 generates public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) (step ST1). More specifically, based on a security parameter λ stored in advance in the security parameter storage unit 11, the public parameter generation unit 14 selects bilinear map groups (G and G.sub.T) satisfying a prime number order p>2λ, and a one-time signature Sig (Ĝ, Ŝ, {circumflex over (V)}) with strong unforgeability which satisfies generation sources g, u, v εG.
(67) In the one-time signature Sig (Ĝ, Ŝ, {circumflex over (V)}) (to be also referred to as “Sig” hereinafter), Ĝ represents a function of generating a one-time key pair (ssk, svk), Ŝ represents a function of generating a signature σ for a message ID, and {circumflex over (V)} represents a function of verifying correctness of the signature σ.
(68) A one-time signature is described in detail in A. Menezes, P. van Oorschot, S. Vanstone, “Handbook of Applied Cryptography”, CRC Press, (1996). Furthermore, G and G.sub.T are group sets each defined by an elliptic curve, and used for a pairing function.
Paring function: e(g.sub.1,g.sub.2)=g.sub.T
(69) where g.sub.1, g.sub.2εG and g.sub.TεG.sub.T.
(70) This paring function has characteristics given by:
e(g.sup.a,g)=e(g,g.sup.a)=e(g,g).sup.a
where gεG and aεZ.sub.p
(71) The communication unit 16 transmits the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) generated by the public parameter generation unit 14 to the cooperation apparatus 20 (that is, the public parameters are made public to the other apparatuses 20, 30, S.sub.1, and S.sub.2) (step ST2).
(72) Upon receiving the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) transmitted by the re-encryption key issuing apparatus 10, the communication unit 26 of the cooperation apparatus 20 writes (registers) the public parameters in the public parameter storage unit 21 (step ST3).
(73) The communication unit 16 of the re-encryption key issuing apparatus 10 requests the cooperation apparatus 20 to distribute the public parameters (step ST4).
(74) Upon receiving the request from the re-encryption key issuing apparatus 10 in step ST4, the communication unit 26 of the cooperation apparatus 20 transmits the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) stored in the public parameter storage unit 21 to the re-encryption key issuing apparatus 10 (step ST5).
(75) Subsequently, upon receiving, via the communication unit 16, the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) transmitted by the cooperation apparatus 20, the encryption key/re-encryption key generation unit 15 of the re-encryption key issuing apparatus 10 generates a key pair of the re-encryption key issuing apparatus 10 using the public parameters (step ST6). More specifically, when identification information of the re-encryption key issuing apparatus 10 is indicated by i, the encryption key/re-encryption key generation unit 15 generates a private key x.sub.iεZ.sub.p* of the re-encryption key issuing apparatus 10, and generates a public key X.sub.i=g.sup.x.sup.
(76) The encryption key/re-encryption key generation unit 15 writes the private key x.sub.i of the key pair of the self apparatus 10 generated in step ST6 in the private key storage unit 12, and writes the public key X.sub.i of the generated key pair of the self apparatus 10 in the temporary data storage unit 13 (step ST7).
(77) The communication unit 16 transmits the public key X.sub.i stored in the temporary data storage unit 13 to the cooperation apparatus 20 (that is, the public key X.sub.i is made public to the other apparatuses 20, 30, S.sub.1, and S.sub.2) (step ST8).
(78) After that, upon receiving the public key X.sub.i of the re-encryption key issuing apparatus 10 transmitted by the re-encryption key issuing apparatus 10, the communication unit 26 of the cooperation apparatus 20 writes (registers) the public key in the public key storage unit 22 (step ST9).
(79) Similarly, the service apparatus S.sub.1 executes processes similar to those in steps ST4 to ST9 for the key pair of the service apparatus S.sub.1, writes a private key x.sub.j in the private key storage unit S.sub.12 of the service apparatus S.sub.1, and transmits a public key X.sub.j to the cooperation apparatus 20, thereby registering the public key X.sub.j of the service apparatus S.sub.1 in the public key storage unit 22 of the cooperation apparatus 20 (steps ST10 to ST15).
(80) Furthermore, the service apparatus S.sub.2 executes processes similar to those in steps ST4 to ST9 for the key pair of the service apparatus S.sub.2, writes a private key x.sub.k in a private key storage unit S.sub.22 of the service apparatus S.sub.2, and transmits a public key X.sub.k to the cooperation apparatus 20, thereby registering the public key X.sub.k of the service apparatus S.sub.2 in the public key storage unit 22 of the cooperation apparatus 20 (steps ST16 to ST21).
(81) Then, the key generation processing is completed. After that, the respective apparatuses 10 to 30, S.sub.1, and S.sub.2 can acquire and use the public parameters and public keys made public to the public parameter storage unit 21 and public key storage unit 22 of the cooperation apparatus 20, as needed.
(82) The ID issuing apparatus 30 executes (1-2) ID issuing processing, as shown in
(83) First, the ID issuing unit 32 of the ID issuing apparatus 30 issues an ID for identifying a user who uses each of the service apparatuses S.sub.1 and S.sub.2, and writes the issued ID in the ID issuance information storage unit 31 (step ST31).
(84) The communication unit 33 distributes the ID stored in the ID issuance information storage unit 31 to the service apparatus S.sub.1 (step ST32).
(85) After that, upon receiving the ID distributed by the ID issuing apparatus 30, the communication unit S.sub.18 of the service apparatus S.sub.1 writes the ID in the user information storage unit S.sub.11 in association with user information (step ST33).
(86) Similarly, the communication unit 33 of the ID issuing apparatus 30 executes processing similar to that in step ST32 for the service apparatus S.sub.2 (step ST34), and a communication unit S.sub.28 of the service apparatus S.sub.2 executes processing similar to that in step ST33 to write the ID in a user information storage unit S.sub.21 in association with user information (step ST35).
(87) Then, the ID issuing processing is completed.
(88) The re-encryption key issuing apparatus 10 executes (1-3) re-encryption key generation processing, as shown in
(89) First, the communication unit 16 of the re-encryption key issuing apparatus 10 requests the cooperation apparatus 20 to distribute the public parameters and the public key of the service apparatus S.sub.2 (step ST41).
(90) Upon receiving the request from the re-encryption key issuing apparatus 10 in step ST41, the communication unit 26 of the cooperation apparatus 20 transmits, to the re-encryption key issuing apparatus 10, the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) stored in the public parameter storage unit 21 and the public key X.sub.k of the service apparatus S.sub.2 stored in the public key storage unit 22 (step ST42).
(91) Upon receiving, via the communication unit 16, the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) and the public key X.sub.k of the service apparatus S.sub.2, the encryption key/re-encryption key generation unit 15 of the re-encryption key issuing apparatus 10 generates a re-encryption key R.sub.ik=X.sub.k.sup.1/x.sup.
(92) The communication unit 16 transmits the generated re-encryption key R.sub.ik to the cooperation apparatus 20 (step ST44).
(93) After that, upon receiving the re-encryption key R.sub.ik transmitted by the re-encryption key issuing apparatus 10, the communication unit 26 of the cooperation apparatus 20 writes (registers) the re-encryption key in the re-encryption key storage unit 23 (step ST45).
(94) Then, the re-encryption key generation processing is completed. Note that a re-encryption key for converting ciphertext data for the re-encryption key issuing apparatus 10 into one for the service apparatus S.sub.2 is generated in this example. The present invention, however, is not limited to this, and a re-encryption key for converting ciphertext data for the re-encryption key issuing apparatus 10 into one for the service apparatus S.sub.1 may be generated.
(95) The cooperation apparatus 20 and the respective service apparatuses S.sub.1 and S.sub.2 execute (2) cooperation processing, as shown in
(96) First, in response to a request from the user, the communication unit S.sub.18 of the service apparatus S.sub.1 requests the cooperation apparatus 20 to distribute the public parameters and the public key of the re-encryption key issuing apparatus 10 (step ST51).
(97) In response to the request from the service apparatus S.sub.1 in step ST51, the communication unit 26 of the cooperation apparatus 20 transmits, to the service apparatus S.sub.1, the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) stored in the public parameter storage unit 21 and the public key X.sub.i of the re-encryption key issuing apparatus 10 stored in the public key storage unit 22 (step ST52).
(98) Upon receiving the public parameters (p, λ, G, G.sub.T, g, u, v, and Sig) and the public key X.sub.i via the communication unit S.sub.18, the encryption processing unit S.sub.14 of the service apparatus S.sub.1 reads out the ID corresponding to the user in step ST51 from the user information storage unit S.sub.11 (step ST53).
(99) The encryption processing unit S.sub.14 performs encryption processing for the ID read out from the user information storage unit S.sub.11 using the public key X.sub.i of the re-encryption key issuing apparatus 10, thereby generating ciphertext data (step ST54).
(100) As indicated by steps ST54-1 to ST54-4 below, the encryption processing performed by the encryption processing unit S.sub.14 will be described in detail.
(101) First, the encryption processing unit S.sub.14 generates a key pair (ssk, svk)←Ĝ(λ) of a signature key ssk and a verification key svk in a one-time signature based on the security parameter λ of the public parameters and the key pair generation function Ĝ (step ST54-1), and sets the verification key svk in first encrypted data C.sub.1 (C.sub.1=svk).
(102) After generating a first random number rεZ.sub.p*, the encryption processing unit S.sub.14 generates second, third, and fourth encrypted data C.sub.2, C.sub.3, and C.sub.4 for IDεG.sub.T as plaintext data based on the first random number r (step ST54-2), given by:
C.sub.2=X.sub.i.sup.r
C.sub.3=e(g,g).sup.r.Math.ID
C.sub.4=(u.sup.svk.Math.v).sup.r
(103) More specifically, the encryption processing unit S.sub.14 generates the second encrypted data C.sub.2 based on the public key X.sub.i of the re-encryption key issuing apparatus 10 and the first random number r. The encryption processing unit S.sub.14 generates the third encrypted data C.sub.3 using the pairing function based on the generation source g of the public parameters, the first random number r, and the ID. Also, the encryption processing unit S.sub.14 generates the fourth encrypted data C.sub.4 based on the generation sources u and v of the public parameters, the generated verification key svk, and the first random number r.
(104) After the end of step ST54-2, the encryption processing unit S.sub.14 generates the one-time signature σ by the signature generation function S of the public parameters and the generated signature key ssk for the third and fourth encrypted data C.sub.3 and C.sub.4 (step ST54-3), given by:
σ={circumflex over (S)}(ssk,(C.sub.3,C.sub.4))
(105) After that, the encryption processing unit S.sub.14 generates ciphertext data C.sub.i=(C.sub.1, C.sub.2, C.sub.3, C.sub.4, σ) including the first to fourth encrypted data C.sub.1 to C.sub.4 and the one-time signature σ, and writes the obtained ciphertext data in the temporary data storage unit S.sub.13 (step ST54-4).
(106) As described above, when the processes in steps ST54-1 to ST54-4 are complete, ciphertext data is generated.
(107) After step ST54, the service cooperation request unit S.sub.17 requests, via the communication unit S.sub.18, the cooperation apparatus 20 to acquire information held in the service apparatus S.sub.2 by using the ciphertext data generated by the encryption processing unit S.sub.14 (step ST55).
(108) Upon receiving the request and ciphertext data from the service apparatus S.sub.1 via the communication unit 26 in step ST55, the re-encryption processing unit 25 of the cooperation apparatus 20 re-encrypts the ciphertext data using the re-encryption key R.sub.ik stored in advance in the re-encryption key storage unit 23 (step ST56).
(109) As indicated by steps ST56-1 to ST56-3 below, the re-encryption processing performed by the re-encryption processing unit 25 will be described.
(110) First, the re-encryption processing unit 25 verifies ciphertext data C.sub.ki using the public parameters and the following verification equations (step ST56-1):
e(C.sub.2,u.sup.C.sup.e(X.sub.i,C.sub.4)
{circumflex over (V)}(C.sub.1,σ,(C.sub.3,C.sub.41
If the two verification equations hold, verification succeeds. On the other hand, if at least one of the verification equations does not hold, verification fails.
(111) If verification succeeds, the re-encryption processing unit 25 generates a second random number tεZ.sub.p*, and generates first, second, and third re-encrypted data C.sub.2′, C.sub.2″, C.sub.2′″ (step ST56-2), given by:
(112)
(113) More specifically, in step ST56-2, the re-encryption processing unit 25 generates the first re-encrypted data C.sub.2′ based on the public key X.sub.i of the re-encryption key issuing apparatus 10 and the second random number t. The re-encryption processing unit 25 generates the second re-encrypted data C.sub.2″ based on the re-encryption key R.sub.ik and the second random number t. Furthermore, the re-encryption processing unit 25 generates the third re-encrypted data C.sub.2′″ based on the second encrypted data C.sub.2 and the second random number t.
(114) After the end of step ST56-2, the re-encryption processing unit 25 generates re-encrypted data C.sub.k=(C.sub.1, C.sub.2′, C.sub.2″, C.sub.2′″, C.sub.3, C.sub.4, σ) by replacing the second encrypted data C.sub.2 of the ciphertext data C.sub.i with the first to third re-encrypted data C.sub.2′ to C.sub.2′″, and writes the obtained re-encrypted data in the temporary data storage unit 24 (step ST56-3).
(115) As described above, when the processes in steps ST56-1 to ST56-3 are complete, re-encrypted data is generated.
(116) After step ST56, the communication unit 26 transmits the generated re-encrypted data C.sub.k to the service apparatus S.sub.2 (step ST57), and requests to acquire information held in the service apparatus S.sub.2 by using the re-encrypted data.
(117) Upon receiving, via the communication unit S.sub.28, the re-encrypted data C.sub.k transmitted by the cooperation apparatus 20, a decryption processing unit S.sub.25 of the service apparatus S.sub.2 decrypts the re-encrypted data using the private key x.sub.k stored in advance in the private key storage unit S.sub.22, thereby acquiring the ID (step ST58).
(118) As indicated by steps ST58-1 and ST58-2 below, the decryption processing performed by the decryption processing unit S.sub.25 will be described in detail. First, the decryption processing unit S.sub.25 verifies the re-encrypted data C.sub.k using the public parameters, the public key X.sub.k of the self apparatus S.sub.2, and the following verification equations (step ST58-1):
e(C′.sub.2,C″.sub.2)=e(X.sub.k,g)
e(C′″.sub.2,u.sup.C.sup.e(C′.sub.2,C.sub.4)
{circumflex over (V)}(C.sub.1,σ,(C.sub.3,C.sub.4))1
If the three verification equations hold, verification succeeds. On the other hand, if at least one of the three verification equations does not hold, verification fails.
(119) If verification succeeds, the decryption processing unit S.sub.25 decrypts the ID from the re-encrypted data C.sub.k based on the private key x.sub.k of the self apparatus S.sub.2 (step ST58-2), given by:
ID=C.sub.3/(e(C″.sub.2,C′″.sub.2).sup.1/x.sup.
(120) As described above, when the processes in steps ST58-1 and ST58-2 are complete, the ID is acquired.
(121) After step ST58, a service processing unit S.sub.26 of the service apparatus S.sub.2 reads out user information corresponding to the ID decrypted by the decryption processing unit S.sub.25 from the user information storage unit S.sub.21 (step ST59).
(122) The communication unit S.sub.28 transmits, as cooperation information, the user information read out by the service processing unit S.sub.26 to the cooperation apparatus 20 (step ST60).
(123) Upon receiving the cooperation information transmitted by the service apparatus S.sub.2, the communication unit 26 of the cooperation apparatus 20 transmits the cooperation information to the service apparatus S.sub.1 (step ST61).
(124) After that, the communication unit S.sub.18 of the service apparatus S.sub.1 receives the cooperation information transmitted by the cooperation apparatus 20. Thus, the service apparatus S.sub.1 acquires the cooperation information (step ST62).
(125) According to the above-described first embodiment, the arrangement which includes the cooperation apparatus 20 including the re-encryption processing unit 25, the service apparatus S.sub.1 including the encryption processing unit S.sub.14, the decryption processing unit S.sub.15, and the service cooperation request unit S.sub.17, and the service apparatus S.sub.2 including an encryption processing unit S.sub.24, the decryption processing unit S.sub.25, and a service cooperation request unit S.sub.27 prevent the cooperation apparatus 20 from linking IDs with each other in a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2, thereby improving the security for the cooperation information.
(126) Also, it is possible to audit/verify later a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2 by using the pieces of information held in the re-encryption key issuing apparatus 10 and cooperation apparatus 20 (that is, without requiring the pieces of secret information of the service apparatuses S.sub.1 and S.sub.2).
(127) Note that in this embodiment, the ID stored in each of the user information storage units S.sub.11 and S.sub.21 of the service apparatuses S.sub.1 and S.sub.2 is encrypted using the re-encryption scheme. The present invention, however, is not limited to this. For example, hybrid encryption in which an ID is encrypted using a common encryption scheme and then the common key is encrypted using a re-encryption scheme may be applied.
(128) [Modification]
(129) A modification of the first embodiment will be explained with reference to sequence charts shown in
(130) A description of (1-2′) code distribution processing and (2′) cooperation processing different from the aforementioned first embodiment will be provided below.
(131) The cooperation apparatus 20, the ID issuing apparatus 30, and the respective service apparatuses S.sub.1 and S.sub.2 execute (1-2′) code distribution processing, as shown in
(132) First, the ID issuing unit 32 of the ID issuing apparatus 30 issues an ID for identifying a user who uses each of the service apparatuses S.sub.1 and S.sub.2, and writes the issued ID in the ID issuance information storage unit 31 (step ST71).
(133) The communication unit 33 requests the cooperation apparatus 20 to distribute the public key of the re-encryption key issuing apparatus 10 (step ST72).
(134) Upon receiving the request from the ID issuing apparatus 30 in step ST72, the communication unit 26 of the cooperation apparatus 20 transmits the public key X.sub.i of the re-encryption key issuing apparatus 10 stored in the public key storage unit 22 to the ID issuing apparatus 30 (step ST73).
(135) Upon receiving, via the communication unit 33, the public key X.sub.i of the re-encryption key issuing apparatus 10 transmitted by the cooperation apparatus 20, the ID issuing unit 32 of the ID issuing apparatus 30 performs encryption processing for the ID stored in the ID issuance information storage unit 31 using the public key to generate the first code (the first code in claim 2) for the service apparatus S.sub.1, and then writes the generated first code and various parameters (to be referred to as the first parameters hereinafter) used to generate the first code in the ID issuance information storage unit 31 (step ST74). Note that the processing in step ST74 is executed for all IDs stored in the ID issuance information storage unit 31.
(136) The communication unit 33 transmits the plurality of first codes and the first parameters stored in the ID issuance information storage unit 31 to the service apparatus S.sub.1 (step ST75).
(137) After that, upon receiving the first codes and first parameters transmitted by the ID issuing apparatus 30, the communication unit S.sub.18 of the service apparatus S.sub.1 writes them in the user information storage unit S.sub.11 in association with pieces of user information, respectively (step ST76).
(138) Similarly, the ID issuing unit 32 of the ID issuing apparatus 30 executes processes similar to those in steps ST74 to ST76 for the second code (the first code in claim 2) for the service apparatus S.sub.2. After generating the second codes, the second codes and various parameters (to be referred to as the second parameters hereinafter) used to generate the second codes are transmitted to the service apparatus S.sub.2. After that, upon receiving the second codes and second parameters transmitted by the ID issuing apparatus 30, the communication unit S.sub.28 of the service apparatus S.sub.2 writes them in the user information storage unit S.sub.21 in association with pieces of user information, respectively (steps ST77 to ST79).
(139) Then, the code distribution processing is completed.
(140) The cooperation apparatus 20 and the respective service apparatuses S.sub.1 and S.sub.2 execute (2′) cooperation processing, as shown in
(141) First, in response to a request from a user, the encryption processing unit S.sub.14 of the service apparatus S.sub.1 reads out the first code associated with the user information of the user from the user information storage unit S.sub.11 (step ST81).
(142) The service cooperation request unit S.sub.17 requests, via the communication unit S.sub.18, the cooperation apparatus 20 to acquire information held in the service apparatus S.sub.2 by using the first code read out by the encryption processing unit S.sub.14 (step ST82).
(143) Upon receiving, via the communication unit 26, the request and first code from the service apparatus S.sub.1 in step ST82, the re-encryption processing unit 25 of the cooperation apparatus 20 re-encrypts the first code using the re-encryption key R.sub.ik stored in advance in the re-encryption key storage unit 23 (that is, re-encrypted data is generated) (step ST83).
(144) The communication unit 26 transmits the generated re-encrypted data to the service apparatus S.sub.2 (step ST84), and requests to acquire information held in the service apparatus S.sub.2 by using the re-encrypted data.
(145) Upon receiving, via the communication unit S.sub.28, the re-encrypted data transmitted by the cooperation apparatus 20, the decryption processing unit S.sub.25 of the service apparatus S.sub.2 decrypts the re-encrypted data using the private key x.sub.k stored in advance in the private key storage unit S.sub.22, thereby acquiring an ID (step ST85).
(146) The communication unit S.sub.28 requests the cooperation apparatus 20 to distribute the public key of the re-encryption key issuing apparatus 10 (step ST86).
(147) Upon receiving the request from the service apparatus S.sub.2 in step ST86, the communication unit 26 of the cooperation apparatus 20 transmits the public key X.sub.i of the re-encryption key issuing apparatus 10 stored in the public key storage unit 22 to the service apparatus S.sub.2 (step ST87).
(148) Upon receiving, via the communication unit S.sub.28, the public key X.sub.i of the re-encryption key issuing apparatus 10 transmitted by the cooperation apparatus 20, the encryption processing unit S.sub.24 of the service apparatus S.sub.2 performs encryption processing for the ID decrypted in step ST85 by using the public key and the second parameters stored in advance in the user information storage unit S.sub.21, thereby generating a second prime code (the second code in claim 2) for the service apparatus S.sub.2 (step ST88).
(149) The service processing unit S.sub.26 compares the generated second prime code with the second code stored in advance in the user information storage unit S.sub.21 and read out from it, thereby specifying the user based on the matching codes (step ST89).
(150) The service processing unit S.sub.26 writes, in the user information storage unit S.sub.21, the user information of the specified user and the second prime code generated by the encryption processing unit S.sub.24 in association with each other (step ST90).
(151) The communication unit S.sub.28 transmits, as cooperation information, the user information stored in the user information storage unit S.sub.21 by the service processing unit S.sub.26 to the cooperation apparatus 20 (step ST91).
(152) Upon receiving the cooperation information transmitted by the service apparatus S.sub.2, the communication unit 26 of the cooperation apparatus 20 transmits the cooperation information to the service apparatus S.sub.1 (step ST92).
(153) After that, the communication unit S.sub.18 of the service apparatus S.sub.1 receives the cooperation information transmitted by the cooperation apparatus 20. Thus, the service apparatus S.sub.1 acquires the cooperation information (step ST93).
(154) According to the above-described modification of the first embodiment, similarly to the aforementioned first embodiment, the arrangement which includes the cooperation apparatus 20 including the re-encryption processing unit 25, and the plurality of service apparatuses S.sub.1 and S.sub.2 respectively including the encryption processing units S.sub.14 and S.sub.24, decryption processing units S.sub.15 and S.sub.25, and service cooperation request units S.sub.17 and S.sub.27 prevents the cooperation apparatus 20 from linking IDs with each other in a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2, thereby improving the security for the cooperation information.
(155) It is also possible to audit/verify later a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2 by using the pieces of information held in the re-encryption key issuing apparatus 10 and cooperation apparatus 20 (that is, without requiring the pieces of secret information of the service apparatuses S.sub.1 and S.sub.2).
(156) Note that as another modification of the first embodiment, a cooperation service providing system having an arrangement shown in
(157) Simplifying the arrangement imposes an inconvenience to some extent when performing auditing on the cooperation apparatus 20 but can reduce the system cost required for implementing a cooperation service providing system.
Second Embodiment
(158)
(159) A description of (2″) cooperation processing different from the aforementioned first embodiment will be provided below.
(160) A cooperation apparatus 20 and the service apparatuses S.sub.1 and S.sub.2 execute (2″) cooperation processing, as shown in
(161) First, in response to a request from a user, a service cooperation request unit S.sub.17 of the service apparatus S.sub.1 requests, via a communication unit S.sub.18, the cooperation apparatus 20 to acquire information held in the service apparatus S.sub.2 (step ST101).
(162) Upon receiving the request from the service apparatus S.sub.1 in step ST101, a communication unit 26 of the cooperation apparatus 20 executes cooperation processing of causing the service apparatuses S.sub.1 and S.sub.2 to cooperate with each other by using, for example, a conventional method (step ST102).
(163) The communication unit 26 transmits the request from the service apparatus S.sub.1 in step ST102 to the service apparatus S.sub.2 (step ST103).
(164) Upon receiving the request of the service apparatus S.sub.1 transmitted by the cooperation apparatus 20, a communication unit S.sub.28 of the service apparatus S.sub.2 reads out cooperation information corresponding to the user in step ST101 from the cooperation information storage unit S.sub.21′ (step ST104).
(165) The communication unit S.sub.28 requests the cooperation apparatus 20 to distribute a public key of a re-encryption key issuing apparatus 10 (step ST105).
(166) Upon receiving the request transmitted by the service apparatus S.sub.2 in step ST105, the communication unit 26 of the cooperation apparatus 20 transmits a public key X.sub.i of the re-encryption key issuing apparatus 10 stored in a public key storage unit 22 to the service apparatus S.sub.2 (step ST106).
(167) Upon receiving, via the communication unit S.sub.28, the public key X.sub.i of the re-encryption key issuing apparatus 10 transmitted by the cooperation apparatus 20, an encryption processing unit S.sub.24 of the service apparatus S.sub.2 performs encryption processing for the cooperation information read out in step ST104 by using the public key, thereby generating ciphertext data (step ST107).
(168) The communication unit S.sub.28 transmits the generated ciphertext data to the cooperation apparatus 20 (step ST108).
(169) Upon receiving the ciphertext data transmitted by the service apparatus S.sub.2, the communication unit 26 of the cooperation apparatus 20 executes cooperation processing of causing the service apparatuses S.sub.1 and S.sub.2 to cooperate with each other, similarly to the processing in step ST102 (step ST109).
(170) A re-encryption processing unit 25 performs re-encryption processing for the ciphertext data received by the communication unit 26 by using a re-encryption key R.sub.ij stored in advance in a re-encryption key storage unit 23, thereby generating re-encrypted data (step ST110).
(171) The communication unit 26 transmits the re-encrypted data generated by the re-encryption processing unit 25 to the service apparatus S.sub.1 (step ST111).
(172) Upon receiving, via the communication unit S.sub.18, the re-encrypted data transmitted by the cooperation apparatus 20, the decryption processing unit S.sub.15 of the service apparatus S.sub.1 decrypts the re-encrypted data using a private key x.sub.j stored in advance in a private key storage unit S.sub.12 (step ST112).
(173) After that, the service apparatus S.sub.1 acquires the cooperation information (step ST113).
(174) According to the above-described second embodiment, the arrangement which includes the cooperation apparatus 20 including the re-encryption processing unit 25, the service apparatus S.sub.1 including the cooperation information storage unit S.sub.11′, an encryption processing unit S.sub.14, a decryption processing unit S.sub.15, and a service cooperation request unit S.sub.17, and the service apparatus S.sub.2 including the cooperation information storage unit S.sub.21′, the encryption processing unit S.sub.24, a decryption processing unit S.sub.25, and a service cooperation request unit S.sub.27 prevents the cooperation apparatus 20 from linking the pieces of cooperation information with each other in a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2, and encrypts the pieces of cooperation information in the service apparatuses S.sub.1 and S.sub.2, thereby improving the security for the cooperation information.
(175) It is also possible to audit later a process of exchanging cooperation information between the service apparatuses S.sub.1 and S.sub.2 by using the pieces of information held in the re-encryption key issuing apparatus 10 and cooperation apparatus 20 (that is, without requiring the pieces of secret information of the service apparatuses S.sub.1 and S.sub.2).
(176) Note that in this embodiment, the pieces of cooperation information respectively stored in the cooperation information storage units S.sub.11′ and S.sub.21′ of the service apparatuses S.sub.1 and S.sub.2 are encrypted using the re-encryption scheme. The present invention, however, is not limited to this. For example, hybrid encryption in which cooperation information is encrypted using a common encryption scheme and then the common key is encrypted using a re-encryption scheme may be applied.
(177) According to at least one of the above-described embodiments, the arrangement which includes the cooperation apparatus 20 including the re-encryption processing unit 25, and the plurality of service apparatuses S.sub.1 and S.sub.2 respectively including the encryption processing units S.sub.14 and S.sub.24, decryption processing units S.sub.15 and S.sub.25, and service cooperation request units S.sub.17 and S.sub.27 prevents the cooperation apparatus from linking pieces of cooperation information with each other, and allows auditing/verification to be performed alter on the cooperation apparatus.
(178) The method described in the embodiment can also be stored in a storage medium such as a magnetic disk (Floppy™ disk, hard disk, or the like), an optical disk (CD-ROM, DVD, or the like), a magneto-optical disk (MO), or a semiconductor memory as a program which can be executed by a computer and distributed.
(179) As the storage medium, any configuration which is a computer-readable storage medium in which a program can be stored may be used regardless of a storage format.
(180) An OS (operating system) which operates on a computer on the basis of an instruction of a program installed from the storage medium in the computer, database management software, and MW (middleware) such as network software may execute a part of the processes to realize the embodiment.
(181) Furthermore, the storage medium according to the present invention includes not only a medium independent of a computer but also a storage medium in which a program transmitted through a LAN, the Internet, or the like is downloaded and stored or temporarily stored.
(182) The number of storage media is not limited to one. A case in which the process in the embodiment is executed from a plurality of media is included in the storage medium according to the present invention. Any medium configuration may be used.
(183) A computer according to the present invention is to execute the processes in the embodiments on the basis of the program stored in a storage medium. The computer may have any configuration such as one apparatus constituted by a personal computer or a system in which a plurality of apparatuses are connected by a network.
(184) A computer in each embodiment includes not only a personal computer but also an arithmetic processing apparatus, a microcomputer, or the like included in an information processing apparatus. The computer is a generic name of an apparatus and a device which can realize the functions of the present invention by a program.
(185) While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.