WO2018030289A1 - Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム - Google Patents

Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム Download PDF

Info

Publication number
WO2018030289A1
WO2018030289A1 PCT/JP2017/028392 JP2017028392W WO2018030289A1 WO 2018030289 A1 WO2018030289 A1 WO 2018030289A1 JP 2017028392 W JP2017028392 W JP 2017028392W WO 2018030289 A1 WO2018030289 A1 WO 2018030289A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
client
solution
certificate
ssl
Prior art date
Application number
PCT/JP2017/028392
Other languages
English (en)
French (fr)
Inventor
岩田 彰
中村 貴利
Original Assignee
株式会社エヌティーアイ
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社エヌティーアイ filed Critical 株式会社エヌティーアイ
Priority to US16/322,530 priority Critical patent/US20220029819A1/en
Priority to EP17839360.9A priority patent/EP3499794A4/en
Publication of WO2018030289A1 publication Critical patent/WO2018030289A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/166Implementing security features at a particular protocol layer at the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements

Definitions

  • the present invention relates to communication technology, and more particularly to technology for encrypted communication.
  • SSL secure sockets layer
  • SSL has two main aspects. One is identity verification (authentication), and the other is encrypted communication. In order to explain how these are realized, a process executed in SSL communication will be described. In this example, it is assumed that SSL communication is performed between the client and the server.
  • the server generates a pair of secret key and public key. As is well known, both the private key and the public key can be obtained by encrypting plaintext data into encrypted data, and encrypting data encrypted by the other of them. It can be decrypted and returned to plaintext data.
  • a server is a server certificate that is data for the other party to check its validity, includes its public key, and has an electronic signature for indicating the validity of the server certificate. What is being installed.
  • An SSL certificate (including a root certificate) by a higher-ranking certificate authority (including a root certificate authority) is also installed in the server.
  • the client prepares a common key.
  • the common key can be obtained by encrypting plaintext data to be encrypted data, and decrypting encrypted data encrypted with the same common key to return to plaintext data. It is supposed to be possible.
  • An SSL certificate (including a root certificate) is installed on the client. The SSL certificate is created by a certificate authority.
  • the certificate authority is also a person who creates the above server certificate and also a person who attaches an electronic signature to the server certificate.
  • the client can confirm the validity of the server certificate by a combination of the SSL certificate and the electronic signature attached to the server certificate.
  • (2) Sharing of common key between server and client a.
  • the client makes a request for SSL communication to the server.
  • the server sends the server certificate to the client.
  • the SSL certificate is also sent at this time.
  • the server certificate includes the public key used by the server and has an electronic signature.
  • the client verifies the validity of the server certificate using the SSL certificate owned by itself and the electronic signature attached to the server certificate.
  • the server certificate is valid, the server with which the client is communicating If the server certificate is invalid, authentication that the server is valid is not performed. If the validity of the electronic signature attached to the server certificate cannot be evaluated by itself, the client is attached to the SSL certificate from the server certificate indicating the validity of the electronic signature attached to the server certificate. An attempt is made to verify the validity of the electronic signature with its own SSL certificate, and only when it is verified, the server is authenticated as valid. d. When the client authenticates the server, the client encrypts the common key owned by itself with the public key included in the server certificate received from the server, and sends it to the server. e. The server decrypts the encrypted common key received from the client with the private key owned by itself.
  • the client common key is shared between the client and the server.
  • (3) Encrypted communication between server and client Both the server and the client send encrypted data encrypted with their own common key to the other party. Both the server and the client decrypt the encrypted data received from the other party with their own common key. Thus, encrypted communication can be performed between the server and the client.
  • the third party does not have a secret key.
  • the client's common key itself cannot be stolen by a third party. This result is not affected at all by the public key being made public.
  • the public key sent from the server to the client is used.
  • the legitimacy of the public key itself, and the legitimacy of the person (server) who sent the public key becomes a problem here.
  • a malicious third party may send a public key to the client. It is the processes (1) and (2) described above for SSL communication that guarantee the validity of the public key or the person who sent it. Through these processes, the client confirms (authenticates) the validity of the server, thereby ensuring the validity of the SSL communication.
  • Server administrators often have sufficient technology to prepare for attacks from third parties on server certificates and SSL certificates, and server administrators correctly update root certificates.
  • the above problems are mainly problems on the client side.
  • a malicious third party creates a fake server certificate that authenticates itself with the tampered SSL certificate in the client, Makes a request for SSL communication to a legitimate server, impersonates the legitimate server, enters between the client and the legitimate server, and receives the request.
  • the fake server impersonating the legitimate server then sends its fake server certificate to the client.
  • the client uses the improved root certificate to determine the fake server certificate as legitimate, and thus authenticates the fake server as legitimate.
  • the client encrypts its own common key with the fake public key included in the fake server certificate, and transmits it to the fake server.
  • the fake server that received it decrypts the encrypted common key with the private key paired with the fake public key that it has.
  • the common key held by the client is passed to the malicious third party.
  • the malicious third party who owns the common key necessary for the encrypted communication is The decoding can be done freely.
  • Such an attack that a malicious third party enters between the client and the server is called a man-in-the-middle attack (MITMA), but as with other encrypted communications, This is not prevented even in the case of SSL.
  • MITMA man-in-the-middle attack
  • the present invention proposes SSL communication technology that is resistant to attacks by third parties, particularly MITMA.
  • the client authenticates the appropriateness of the server using a server certificate or the like.
  • the server does not authenticate the suitability of the client.
  • the present inventor believes that this is the cause of the above-mentioned problem.
  • a server that is more resistant to attacks from third parties is more likely to be able to perform authentication correctly than a client, and is the server more likely to be able to correctly authenticate the other party than a client? For the time being, it is obvious that both the client and the server authenticate the other party, so that the security of communication increases.
  • the server should also authenticate the client.
  • conventional SSL has been developed for many years in the direction of authenticating a server using a server certificate, a root certificate, etc., it is too much labor and cost to change or break this mechanism.
  • a client authentication mechanism in a server that can be easily applied to such a mechanism has not been proposed so far.
  • the present invention proposed by the present inventor relates to such a mechanism.
  • the present invention is a server connectable to a predetermined network, and a server certificate for proving the validity of the server with a secret key and an electronic signature including a public key paired with the secret key
  • the server solution generation means An SSL communication method that is executed in an SSL communication system that includes a solution generation unit that can continuously generate a solution that is the same as the one generated in (1).
  • Such a communication method can be regarded as an evolved version or an improved version of the currently popular SSL communication.
  • the network in the present application is typically the Internet.
  • this invention includes the following processes.
  • the present invention is a process in which the client generates a solution by the solution generation means, transmits the solution to the server via the network, and a process in which the server receives the solution from the client via the network.
  • the server causes the solution generation means to generate a solution under the same conditions as the solution generation means of the client, and receives the solution generated by the server solution generation means and the client.
  • the client authenticates the client as valid, and when the server authenticates the client, the server A process of transmitting the server certificate and the SSL certificate held by a server to the client via the network; Receiving the server certificate and the SSL certificate from the server via the network, the SSL certificate sent from the server by the client, and the SSL certificate held by the client; In the process of trying to authenticate whether the server certificate sent from the server is valid, when the server certificate is authenticated as valid, the client adds the server certificate to the server certificate.
  • the last of the above-described processes in the present invention that is, “the server and the client share the common key that has been shared by the server and the client as described above.
  • the process of performing key-type encrypted communication corresponds to the process (3) in the case of current SSL communication.
  • the client receives the server certificate and the SSL certificate from the server via the network
  • the client uses the SSL certificate sent from the server and the SSL certificate held by the client to authenticate whether the server certificate sent from the server is valid.
  • the process of trying When the server certificate is authenticated as valid, the client uses the public key contained in the server certificate to encrypt the common key held by the client.
  • the process in which the client transmits the encrypted common key to the server via the network "The server The process of receiving the encrypted common key, and the process of “the server decrypting the encrypted common key with the secret key of the server” This corresponds to (b) to (e) in (2).
  • the above-described process common to the current SSL communication is not necessarily required to be performed, but it is possible to completely follow the processing in the SSL communication currently used.
  • a server certificate embedded with a public key that is widely spread as a business where very large amounts of money are currently used, or an SSL certificate (including a root certificate) for determining the validity of a server certificate is used as it is.
  • the present invention has a high affinity with the current SSL communication and can be easily applied to the current SSL communication.
  • the present invention has high security. The reason will be described.
  • the present invention is characterized in that the solution generation means is used between the client and the server.
  • the solution generation means used by the client and the server may or may not be the same, but at least, if solutions generated under common conditions are compared, the same solution is generated continuously. It is something that can be done.
  • a one-time password technique can be used as the solution generation means.
  • One-time passwords are the same when comparing two one-time passwords generated by two solution generation means in the same order, and are generated at the same time by two solution generation means There are several methods, for example, in which the two are the same when compared with each other. However, if the one-time password technology is diverted, any of the solution generation means used in the present invention may be used. Absent.
  • the client causes the solution generation means to generate a solution and transmits the solution to the server via the network.
  • the solution is received by the server.
  • This solution is used for client authentication at the server.
  • the server receives the solution from the client, the server generates the solution under the same conditions as the solution generated by the client solution generation unit.
  • the solution generated by the solution generation means of the server is compared with the solution received from the client, and if both match, the client is authenticated as valid.
  • the solution generation means in the server and the client can continuously generate solutions that are the same if at least those generated under common conditions are compared.
  • the server solution generating means and the client can generate the same solution, and can synchronize the generated solution by changing the language.
  • the client authenticates that it is valid.
  • Authentication of client validity in the server can be performed using the server certificate and the SSL certificate, as in the case of conventional SSL communication.
  • the SSL communication has evolved into one in which the server and the client can authenticate the other party in both directions.
  • the present invention can also be regarded as a communication method executed by a client.
  • the effect of this communication method is as described above.
  • the method is, for example, a server that can be connected to a predetermined network, and a server certificate for proving the validity of the server with a private key and an electronic signature including a public key that is paired with the private key.
  • This communication method includes the following steps executed by the client. In the process, the solution is generated by the solution generation means, and the solution is transmitted to the server via the network. The server receives the solution from the client via the network, and the solution generation means. The solution is generated under the same conditions as the solution generated by the solution generation unit of the client, and the solution generated by the server solution generation unit is compared with the solution received from the client. If the two match, the server authenticates the client as valid, and the server authenticates the server certificate and the SSL certificate when the server authenticates the client as valid.
  • a certificate is sent to the client via the network, the server certificate and the SSL certificate are received by the server A process of trying to authenticate whether the server certificate sent from the server is valid using the SSL certificate sent and the SSL certificate held by the client;
  • the certificate is authenticated as valid, the process of encrypting the common key possessed by the client using the public key contained in the server certificate; and Transmitting to the server via the server, the server receiving the encrypted common key and executing a process of decrypting the encrypted common key with the secret key held by the server
  • This is a process of performing a common key type encrypted communication with the server using the common key shared by the server and the client.
  • the present invention can also be understood as a communication method executed by a server.
  • the effect of this communication method is as described above.
  • the method is, for example, a server that can be connected to a predetermined network and has a private key and a server certificate for proving the validity of the server with an electronic signature including a public key that is paired with the private key. And an SSL certificate for proving the validity of the electronic signature attached to the server certificate, and a solution generating means capable of continuously generating solutions, If the client is connectable to the network and the SSL certificate for verifying the validity of the electronic signature attached to the server certificate is compared with those generated under common conditions, the server is generated.
  • An SSL communication method executed by the server of the encrypted communication system including a solution generation unit capable of continuously generating a solution that is the same as that generated by the unit. That.
  • This communication method includes the following steps executed by the server.
  • the client generates a solution by the solution generation means and receives the solution sent via the network.
  • the solution generation means of the server generates a solution by the solution generation means of the client.
  • the solution is generated under the same conditions as those generated, and the solution generated by the solution generation means of the server is compared with the solution received from the client.
  • the server authenticates that the client is valid, the server certificate and the SSL certificate held by the server are transmitted to the client via the network.
  • the client receives the server certificate and the SSL certificate from the server via the network, and receives the server certificate from the server.
  • the server certificate sent from the server is authenticated as valid using the SSL certificate that has been received and the SSL certificate that the client has, the server certificate
  • the encryption is performed when the process of transmitting the encrypted common key to the server via the network by encrypting the common key held by the client using the public key included
  • a common key encrypted communication with the client is performed when the process of transmitting the encrypted common key to the server via the network by encrypting the common key held by the client using the public key included
  • the present invention can also be regarded as a client that can be connected to a network for configuring an encrypted communication system in combination with a server.
  • the client is, for example, a server connectable to a predetermined network, and a server certificate for proving the validity of the server with a private key and an electronic signature including a public key paired with the private key ,
  • An SSL certificate for verifying the validity of the electronic signature attached to the server certificate, server solution generation means capable of continuously generating solutions, and data encrypted with a public key
  • a secret key decryption unit capable of performing decryption with a secret key
  • a server second encryption / decryption unit capable of performing encryption and decryption in a common key scheme using a common key;
  • a client capable of connecting to the network for configuring an SSL encrypted communication system.
  • the client solution is generated by the server solution generation unit.
  • client solution generation means capable of continuously generating a solution that is the same as the one, the SSL certificate sent from the server, and the SSL certificate held by the client
  • Client authentication means that can attempt to authenticate whether the server certificate sent from the server is valid
  • public key encryption means that can perform encryption using the public key
  • a common key
  • a second client encryption / decryption means capable of performing encryption and decryption by a common key method using the client.
  • the client generates a solution by the client solution generation means, and transmits the solution to the server via the network.
  • the server transmits the solution from the client via the network.
  • the server solution generation means generates a solution under the same conditions as the solution generated by the client solution generation means, and the solution generated by the server solution generation means and the solution received from the client are In comparison, if they match, the server authenticates the client as valid, and if the server authenticates that the client is valid, the server certificate that the server had Certificate and the SSL certificate are transmitted to the client via the network, the server certificate and the SSL certificate An SL certificate is received, and the client authentication means is sent from the server using the SSL certificate sent from the server and the SSL certificate held by the client.
  • the public key encryption means encrypts the common key possessed by the client, and the encrypted common key is
  • the server is transmitted to the server via a network, and the server decrypts the received encrypted common key by the secret key decryption means using the secret key.
  • the server second encryption / decryption means becomes a target of transmission / reception using the common key shared by the server and the client as described above.
  • encrypting and decrypting data, and the client second encryption / decryption means encrypts and decrypts data to be transmitted / received, so that it is shared with the server. Key-type encrypted communication is performed.
  • Such a client can be as follows.
  • the server includes server first encryption / decryption means capable of performing encryption using the solution generated by the server solution generation means, and the server certificate possessed by the server.
  • the server solution generation means Prior to transmitting the certificate and the SSL certificate to the client via the network, the server solution generation means generates a second or later solution under a condition predetermined by the server solution generation unit, and the server Using the solution generated by the solution generation means, the server first encryption / decryption means encrypts the server certificate and the SSL certificate, and the encrypted server certificate and SSL A certificate is transmitted to the client.
  • the client used in combination with such a server is encrypted by the server first encryption / decryption means when the same solution is used, using the solution generated by the client solution generation means.
  • a client first encryption / decryption unit capable of decrypting data wherein the client decryption unit receives the encrypted server certificate and SSL certificate when the client receives the encrypted server certificate and SSL certificate;
  • the second or subsequent solution is generated under the same conditions as when the solution used when the server certificate and the SSL certificate are encrypted by the server is generated by the server solution generation means.
  • the client first encryption / decryption means includes the second or subsequent solutions generated by the client solution generation means. Used, it is adapted to decrypt the server certificate and the SSL certificate that is encrypted.
  • the server certificate and SSL certificate are sent in an encrypted state when sent from the server to the client.
  • the encrypted communication executed using the server and the client has a lower possibility of eavesdropping by a third party.
  • the server in this case includes server first encryption / decryption means that can perform encryption using the solution generated by the server solution generation means. Further, in the server in this case, when the authentication that the client is valid is performed by the server authentication means, the second or later solution is generated under the conditions predetermined by the server solution generation means of the server. It has come to be.
  • the server first encryption / decryption means encrypts the server certificate and the SSL certificate using the above solution.
  • the client in this case can decrypt the data encrypted by the server first encryption / decryption means when the same solution is used by using the solution generated by the client solution generation means. Client first encryption / decryption means is provided.
  • the client solution generation means uses the server solution to generate the solution used when the server certificate and the SSL certificate are encrypted by the server.
  • a second or subsequent solution is generated under the same conditions as when the method is used.
  • the client first encryption / decryption means decrypts the encrypted server certificate and SSL certificate.
  • the solution generated by the client solution generation unit is generated under the same conditions as the solution generated by the server solution generation unit in order to encrypt the server certificate and the SSL certificate.
  • the server solution generation means In order to decrypt the server certificate and the SSL certificate encrypted by the client first encryption / decryption means and the solution generated for encrypting the server certificate and the SSL certificate by the server solution generation means The solution generated by the client solution generation means is the same.
  • the client first encryption / decryption means can decrypt the data encrypted by the server first encryption / decryption means.
  • the client first encryption / decryption means can decrypt the encrypted server certificate and SSL certificate as long as a solution that is guaranteed to be identical to the solution is used. This is guaranteed as long as there is no interference from any third party.
  • both the encryption by the server first encryption / decryption means in the server and the decryption by the client first encryption / decryption means in the client both vary depending on the solution. In other words, these encryption and decryption have a solution dependency. Therefore, if a third party wants to know the contents of the server certificate and SSL certificate transmitted over the network in an encrypted state, it needs to know the contents of the solution. However, as described above, the above-described solution used for encryption and decryption exists only in the server or the client and is not transmitted over the network.
  • both encryption by the server first encryption / decryption means in the server and decryption by the client first encryption / decryption means in the client are both solution-dependent.
  • the solution can be used as a key for encryption and decryption, for example.
  • the solution generated under any conditions for example, the first solution
  • the server certificate and the SSL certificate is encrypted with the server certificate and the SSL certificate.
  • Whether or not to use for decryption may be determined from the beginning between the server and the client. For example, such an arrangement can be made in advance between the two, such as using a solution generated by both after the solution sent from the client to the server, or using a solution generated fifth.
  • a server certificate in an unencrypted state can also be sent from the server to the client.
  • the server in an unencrypted state A certificate is transmitted to the client.
  • the client authentication means may be configured to execute authentication as to whether or not the server certificate sent from the server is valid. If there is no third party attack, the server certificate sent encrypted from the server to the client should match the server certificate sent from the server to the client without encryption. If the client authentication means re-authenticates the validity of the server certificate only when the two match, the client can only authenticate the server certificate that has not been tampered with by a third party. become.
  • an unencrypted SSL certificate is also sent from the server to the client, and the encrypted server certificate and the SSL certificate are sent from the server to the client.
  • the client authentication means performs authentication for the validity of the server certificate only when all of the above match the server certificate and SSL certificate sent from the server to the client without encryption. It does not matter.
  • the present invention can also be regarded as a server that can be connected to a network for configuring an encrypted communication system in combination with a client.
  • a server includes a server certificate for verifying the validity of the server with a digital key including a private key and a public key paired with the private key, and a digital signature attached to the server certificate.
  • SSL certificate for proving the authenticity of the server server solution generation means capable of continuously generating solutions, and decryption with the secret key of the data encrypted with the public key Secret key decryption means that can be encrypted, and server second encryption / decryption means that can perform encryption and decryption by a common key method using a common key, and the server certificate includes If the SSL certificate for proving the authenticity of the attached electronic signature is compared with those generated under common conditions, a solution that is the same as that generated by the server solution generating means is continuously obtained.
  • the server includes server authentication means for authenticating the validity of the client.
  • the client causes the client solution generation means to generate a solution and sends the solution to the server via the network.
  • the server solution generation means is configured to transmit the same condition as when the solution is generated by the client solution generation means when the server receives the solution from the client via the network.
  • the solution is generated below, and the server authenticating unit compares the solution generated by the server solution generating unit with the solution received from the client.
  • the client is authenticated as valid, and the authentication that the client is valid is performed by the server authentication means.
  • the server certificate and the SSL certificate held by the server are transmitted to the client via the network, and the client transmits the server certificate and the SSL certificate.
  • the server certificate sent from the server by the client authentication means using the SSL certificate sent from the server and the SSL certificate held by the client is valid.
  • the public key encryption means encrypts the common key held by the client, and the encrypted common key is transferred to the network.
  • the server receives the encrypted common key received the secret key Decrypted by the secret key decryption means, and the server second encryption / decryption means transmits / receives using the common key shared by the server and the client as described above.
  • the client second encryption / decryption means encrypts and decrypts the data to be transmitted / received, and encrypts and decrypts the data to be targeted with the client. Common key encryption communication is performed between the two.
  • Such a server can be as follows.
  • the server in this case includes server first encryption / decryption means that can perform encryption and decryption using the solution generated by the server solution generation means, and the server has Prior to transmitting the server certificate and the SSL certificate to the client via the network, a second or later solution is generated under conditions predetermined by the server solution generation unit;
  • the server first encryption / decryption means encrypts the server certificate and the SSL certificate, and the encrypted server certificate and The SSL certificate is transmitted to the client.
  • the client uses the solution generated by the client solution generation means, and decrypts the data encrypted by the server first encryption / decryption means when the same solution is used.
  • a client first encryption / decryption means and when the client receives the encrypted server certificate and the SSL certificate, the client decryption means performs the server certificate at the server.
  • a solution used when encrypting the certificate and the SSL certificate is generated under the same conditions as when the server solution generating means generates the second or later solution,
  • the client first encryption / decryption means uses the second or later solution generated by the client solution generation means to encrypt the sub-service.
  • Ba certificate and the adapted to decrypt the SSL certificate used in combination with the client.
  • Such a server is a server in the case where the server certificate and the SSL certificate described above are encrypted and sent from the server to the client, and the effect thereof is as described above.
  • the server sends the server certificate encrypted by the server first encryption / decryption means to the client, and in addition, the server certificate in an unencrypted state.
  • the document may be transmitted to the client.
  • the server certificate decrypted by the client first encryption / decryption means and the server certificate transmitted without being encrypted from the server are the same
  • the client authentication means may perform authentication to determine whether or not the server certificate sent from the server is valid.
  • the server certificate in an unencrypted state is also sent from the server to the client. It corresponds to that. The effect of this is as already described.
  • the present invention can also be understood as a computer program for causing a general-purpose computer to function as a client of the present invention.
  • the effects of such a computer program are as described above.
  • the computer program is, for example, a server that can be connected to a predetermined network, and a server certificate for proving the validity of the server with a digital key including a secret key and a public key that is paired with the secret key.
  • This computer program is for causing the computer to execute the following process.
  • the solution is generated by the solution generation means, and the solution is transmitted to the server via the network.
  • the server receives the solution from the client via the network, and the solution generation means.
  • the solution is generated under the same conditions as the solution generated by the solution generation unit of the client, and the solution generated by the server solution generation unit is compared with the solution received from the client. If the two match, the server authenticates the client as valid, and the server authenticates the server certificate and the SSL certificate when the server authenticates the client as valid.
  • a certificate is sent to the client via the network, the server certificate and the SSL certificate are received by the server A process of trying to authenticate whether the server certificate sent from the server is valid using the SSL certificate sent and the SSL certificate held by the client;
  • the certificate is authenticated as valid, the process of encrypting the common key possessed by the client using the public key contained in the server certificate; and Transmitting to the server via the server, the server receiving the encrypted common key and executing a process of decrypting the encrypted common key with the secret key held by the server
  • This is a process of performing a common key type encrypted communication with the server using the common key shared by the server and the client.
  • the present invention can also be understood as a computer program for causing a general-purpose computer to function as the server of the present invention.
  • the effects of such a computer program are as described above.
  • the computer program is, for example, a server that can be connected to a predetermined network, and a server certificate for proving the validity of the server with a digital key including a secret key and a public key that is paired with the secret key.
  • the server of the encryption communication system configured to include a solution generation unit capable of continuously generating a solution that is the same as the one generated by the generation unit.
  • a computer program for causing a computer This computer program is for causing the computer to execute the following process.
  • the client generates a solution by the solution generation means and receives the solution sent via the network.
  • the solution generation means of the server generates a solution by the solution generation means of the client.
  • the solution is generated under the same conditions as those generated, and the solution generated by the solution generation means of the server is compared with the solution received from the client.
  • the server authenticates that the client is valid, the server certificate and the SSL certificate held by the server are transmitted to the client via the network.
  • the client receives the server certificate and the SSL certificate from the server via the network, and receives the server certificate from the server.
  • the server certificate sent from the server is authenticated as valid using the SSL certificate that has been received and the SSL certificate that the client has, the server certificate
  • the encryption is performed when the process of transmitting the encrypted common key to the server via the network by encrypting the common key held by the client using the public key included
  • a common key encrypted communication with the client is performed when the process of transmitting the encrypted common key to the server via the network by encrypting the common key held by the client using the public key included
  • the above-described computer program for causing a computer to function as a client of the present invention executes encryption and decryption on the computer constituting the client on the computer when performing the encryption communication of the common key method. Is executed between a predetermined application that handles plaintext data to be encrypted and TCP / IP, and the plaintext generated by the application is encrypted and transmitted to the server In order to do this, the data may be passed to the TCP / IP, and the encrypted data sent from the server passed from the TCP / IP may be decrypted into plain text before being passed to the application.
  • the current computer program for SSL communication performs encryption and decryption between an application and TCP / IP.
  • the computer program as described above can be easily replaced with the current computer program for SSL communication.
  • the above-described computer program for causing a computer to function as a server of the present invention executes encryption and decryption on the computer constituting the server on the computer when performing encryption communication of the common key method. Is executed between a predetermined application that handles plaintext data to be encrypted and TCP / IP, and the plaintext generated by the application is encrypted and transmitted to the client In order to do this, the data may be passed to the TCP / IP, and the encrypted data sent from the client passed from the TCP / IP may be decrypted into plain text before being passed to the application. This also makes it easy to replace the current computer program for SSL communication with the computer program of the present invention.
  • the figure which shows the external appearance of the client contained in the SSL communication system shown in FIG. The figure which shows the hardware constitutions of the client contained in the SSL communication system shown in FIG.
  • generated inside the client contained in the SSL communication system shown in FIG. The block diagram which shows the functional block produced
  • generated inside the encryption / decryption part shown in FIG. The figure which shows the flow of the process performed when communication is performed by the SSL communication system shown in FIG.
  • FIG. 1 schematically shows the overall configuration of the SSL communication system according to the first embodiment.
  • the SSL communication system includes a plurality of clients 100-1 to 100-N (hereinafter sometimes simply referred to as “client 100”) and a server 200. All of these can be connected to the network 400.
  • Network 400 is the Internet in this embodiment, although not limited thereto.
  • the client 100 includes a computer or a general-purpose computer.
  • the configuration of each of the clients 100-1 to 100-N is the same in relation to the present invention.
  • the client 100 is a mobile phone, a smartphone, a tablet, a notebook computer, a desktop computer, or the like. All of them are capable of communicating via the network 400, and by installing a computer program to be described later, function blocks to be described later can be generated therein, and processing to be described later can be executed.
  • other specifications are not particularly limited as long as it is possible.
  • the client 100 is a smartphone or a tablet
  • the client 100 as a smartphone may be, for example, iPhone manufactured and sold by Apple Japan, or the client 100 as a tablet is manufactured by Apple Japan, An iPad for sale may be used.
  • the discussion proceeds as if the client 100 is a smartphone.
  • the client 100 includes a display 101.
  • the display 101 is for displaying a still image or a moving image, and a known or known one can be used.
  • the display 101 is a liquid crystal display, for example.
  • the client 100 also includes an input device 102.
  • the input device 102 is for a user to make a desired input to the client 100.
  • a known or well-known input device 102 can be used.
  • the input device 102 of the client 100 in this embodiment is a button type, but is not limited to this, and a numeric keypad, a keyboard, a trackball, a mouse, or the like can also be used.
  • the input device 102 when the client 100 is a notebook personal computer or a desktop personal computer, the input device 102 will be a keyboard, a mouse, or the like.
  • the display 101 When the display 101 is a touch panel, the display 101 also functions as the input device 102, and this is the case in this embodiment.
  • the hardware configuration of the client 100 is shown in FIG.
  • the hardware includes a central processing unit (CPU) 111, a read only memory (ROM) 112, a random access memory (RAM) 113, and an interface 114, which are interconnected by a bus 116.
  • the CPU 111 is an arithmetic device that performs arithmetic operations. For example, the CPU 111 executes a process described later by executing a computer program recorded in the ROM 112 or the RAM 113.
  • the hardware may include a hard disk drive (HDD) or other large capacity recording device, and the computer program may be recorded in the large capacity recording device.
  • the computer program here includes at least a computer program for causing the client 100 to function as the client of the present invention.
  • This computer program may be preinstalled in the client 100 or may be installed afterwards.
  • the installation of the computer program on the client 100 may be performed via a predetermined recording medium such as a memory card, or may be performed via a network such as a LAN or the Internet.
  • the ROM 112 records computer programs and data necessary for the CPU 111 to execute processing to be described later.
  • the computer program recorded in the ROM 112 is not limited to this, and if the client 100 is a smartphone, for example, a computer program or data for executing a call or an e-mail necessary for the client 100 to function as a smartphone. Is recorded.
  • the client 100 is also capable of browsing a home page based on data received via the network 400, and a known web browser is implemented to enable this.
  • the RAM 113 provides a work area necessary for the CPU 111 to perform processing.
  • the interface 114 exchanges data between the CPU 111 and the RAM 113 connected via the bus 116 and the outside.
  • the display 114 and the input device 102 are connected to the interface 114.
  • the operation content input from the input device 102 is input to the bus 116 from the interface 114.
  • image data for displaying an image on the display 101 is output from the interface 114 to the display 101.
  • the interface 114 is also connected to a transmission / reception mechanism (not shown) which is a publicly known means for communicating with the outside via the network 400 which is the Internet, whereby the client 100 is connected via the network 400. Data can be transmitted and data can be received via the network 400.
  • the transmission / reception of data via the network 400 may be performed by wire or wirelessly.
  • the configuration of the transmission / reception mechanism may be a known or well-known configuration.
  • Data received from the network 400 by the transmission / reception mechanism is received by the interface 114, and data passed from the interface 114 to the transmission / reception mechanism is transmitted to the outside, for example, the server 200 via the network 400 by the transmission / reception mechanism. It is supposed to be sent.
  • a functional block as shown in FIG. 4 is generated in the client 100.
  • the following functional blocks may be generated by the functions of the above-described computer program for causing the client 100 to function as the client of the present invention, but the above-described computer program, the OS installed in the client 100, and the like May be generated in cooperation with other computer programs.
  • an application 121, an encryption / decryption unit 122, and a transmission / reception unit 123 are generated in relation to the function of the present invention.
  • the application 121 is known browser software, e-mail software, and the like
  • the transmission / reception unit 123 is software for transmitting / receiving data via the network 400, both of which are the present invention.
  • the application 121 generates unencrypted data that is the source of data sent from the client 100 to the server 200 and decrypts the data sent from the server 200 to the client 100. It is to be used after. As long as it is such, the application 121 is not limited to that exemplified above.
  • the application 121 is connected to the interface 114 and operates in accordance with data related to the operation content from the input device 102 received via the interface 114. As a result of the operation, the application 121 generates plaintext data to be encrypted and sent to the server 200 via the network 400. This data is sent to the encryption / decryption unit 122.
  • the application 121 also generates, for example, the above-described image data as a result of the operation.
  • the image data is sent to the interface 114, from which it is sent to the display 101.
  • the transmission / reception unit 123 is a functional block that performs transmission / reception with the server 200 or the like via the network 400.
  • the transmission / reception unit 123 determines a destination of a partner device or writes a predetermined content to transmitted data. It has a well-known function.
  • the transmission / reception unit 123 can perform communication via the network 400 using at least TCP / IP.
  • the transmission / reception unit 123 receives data received from the network 400 by the transmission / reception mechanism via the interface 114.
  • the transmission / reception unit 123 is configured to send the data received from the transmission / reception mechanism to the encryption / decryption unit 122 via the interface 114. In addition, the transmission / reception unit 123 may receive data from the encryption / decryption unit 122. The transmission / reception unit 123 sends the data received from the encryption / decryption unit 122 to the interface 114, and sends the data to the server 200 from the transmission / reception mechanism via the network 400.
  • the encryption / decryption unit 122 performs a decryption process on necessary data among the data received from the transmission / reception unit 123, and performs necessary processing on the necessary data among the data received from the application 121.
  • the server 200 and the client 100 perform processing necessary for mutual authentication. That is, the encryption / decryption unit 122 plays a central role in the encrypted communication between the client 100 and the server 200 in the present invention, and the computer program for causing the computer of the present invention to function as a client It can be said that it is generated in the client 100.
  • data about the operation content input from the input device 102 may be input to the encryption / decryption unit 122 via the interface 114.
  • the encryption / decryption unit 122 includes an input unit 122A, a main control unit 122B, a client solution generation unit 122C, a solution data recording unit 122D, a client first encryption / decryption unit 122E, and a client second encryption / decryption unit 122F.
  • the output unit 122G, the authentication unit 122H, and the public key encryption unit 122I are generated (FIG. 5).
  • the input unit 122A receives data from the interface 114 or the application 121. When data about the operation content is input from the input device 102 through the interface 114, the input unit 122A sends the data to the main control unit 122B. Also, as will be described later, encrypted data sent from the server 200 and data encrypted with a common key are sent to the input unit 122A via the interface 114 and the transmission / reception unit 123. Sometimes. Upon receiving the data, the input unit 122A sends it to the client second encryption / decryption unit 122F. When the server certificate and the SSL certificate data sent in an encrypted state from the server 200 are input to the input unit 122A via the interface 114 and the transmission / reception unit 123, as will be described later. There is.
  • the input unit 122A Upon receiving such data, the input unit 122A sends it to the client first encryption / decryption unit 122E.
  • the input unit 122A may also receive data sent from the application 121. As will be described later, this data is intended to be encrypted before being sent to the server 200.
  • the input unit 122A Upon receipt of this data, the input unit 122A sends the data to the client second encryption / decryption unit 122F. It is like that.
  • the main control unit 122B controls the entire encryption / decryption unit 122.
  • the main control unit 122B may receive data on the operation content from the input unit 122A, and when receiving the data, an instruction based on the data is appropriately sent to the functional block in the encryption / decryption unit 122. To send.
  • the main control unit 122B sends an instruction to generate a solution to the client solution generation unit 122C.
  • the main control unit 122B holds an SSL certificate installed in advance.
  • the SSL certificate may be the same as the conventional one, the certificate authority information is described, the public key of the certificate authority is embedded, and the SSL certificate for verifying the validity of the SSL certificate.
  • the digital signature of the certificate authority that issued the certificate is attached (if the SSL certificate is a root certificate, the digital signature of the root certificate authority itself).
  • the SSL certificate is sent to the authentication unit 122H at the timing described below.
  • the SSL certificate is preinstalled in an application (for example, a browser), or each user incorporates the SSL certificate into the application.
  • Note that the number of SSL certificates existing in the main control unit 122B is not limited to one as in the case of conventional SSL communication.
  • the main control unit 122B can also generate a common key.
  • the common key is generated by the main control unit 122B whenever necessary.
  • the method by which the main control unit 122B generates the common key may be a known or publicly known technique.
  • the main control unit 122B sends the generated common key to the public key encryption unit 122I.
  • the main control unit 122B in this embodiment may receive a public key from the authentication unit 122H as will be described later.
  • the main control unit 122B that has received the public key sends the common key together with the public key to the public key encryption unit 122I.
  • the main control unit 122B does not generate a common key every time it is needed, but has one fixed common key and sends it to the public key encryption unit 122I every time it is needed. It doesn't matter.
  • the client solution generation unit 122C can generate solutions continuously.
  • a solution is at least one sequence of numbers, letters and symbols.
  • the server 200 has a server solution generation unit, and the server solution generation unit also generates solutions continuously. However, the server solution generation unit generates a solution and a client solution generation unit.
  • the solutions generated by 122C are compared, if the solutions generated under the common conditions are compared with each other, the two always match. To put it simply, the client solution generator 122C and the server solution generator are synchronized, or the solution generated by the client solution generator 122C and the solution generated by the server solution generator are synchronized. Yes.
  • any method may be used for generating a solution by the client solution generation unit 122C and the server solution generation unit.
  • the client solution generation unit 122C and the server solution generation unit may generate any solution as long as the above-described conditions are satisfied.
  • Such a technique has already been completed and put into practical use as a technique for generating a one-time password.
  • Such technology can be used in the client solution generation unit 122C and the server solution generation unit. Since the server solution generation unit is the same, only the client solution generation unit 122C will be referred to, but more specifically, the client solution generation unit 122C performs, for example, a solution by performing a predetermined operation on a certain initial value.
  • a new solution is generated by extracting a number, extracting an appropriate number of digits from the end, or extracting an appropriate number of digits from an appropriate part of the value.
  • B is a new solution that uses one past solution and arranges the number of digits of the solution to the P power as described above.
  • C uses the previous four solutions, takes the product of P-power, Q-power, R-power, and S-power, respectively, and then sets the number of digits as described above as the new solution It is.
  • the above-mentioned (a) to (c) are examples of an algorithm for generating a solution, and changes are made to the algorithm when generating the solution, for example, the above-mentioned (a) to (c) are used in order. It is also possible to add changes. Further, if time dependency is given to the above-described solution, that is, a change in accordance with the time at that time can be added.
  • the server solution generation unit in the server 200 and the client solution generation unit 122C can synchronize the solutions as described above.
  • the client solution generation unit 122C of this embodiment generates a solution using the algorithm (a). In that case, in order to generate a new solution, an initial value or a past solution is required.
  • the initial value is recorded in the solution data recording unit 122D, and each time the client solution generation unit 122C generates a new solution, the initial value is overwritten with a new solution, and the new solution is overwritten with a new solution. It is like that.
  • the initial value or the solution is recorded in the solution data recording unit 122D in this way, and the client solution generation unit 122C reads a new solution from the solution data recording unit 122D every time a new solution is generated. Yes. If the solution is generated, the client solution generation unit 122C sends the solution to the client first encryption / decryption unit 122E or the output unit 122G.
  • the client first encryption / decryption unit 122E can perform encryption and decryption processing. However, in this embodiment, it is sufficient that at least the decoding process can be performed as described later.
  • the client first encryption / decryption unit 122E can decrypt at least the data encrypted by a server first encryption / decryption unit (to be described later) of the server 200.
  • the solution is used for encryption and decryption in the client first encryption / decryption unit 122E.
  • the solution generated by the client solution generation unit 122C as described above is sent from the client solution generation unit 122C to the client first encryption / decryption unit 122E, and the solution is transmitted by the client first encryption / decryption unit 122E. Used when decryption is performed.
  • the server certificate and SSL certificate data encrypted from the input unit 122A are sent to the client first encryption / decryption unit 122E.
  • the server certificate and SSL certificate data are sent from the server 200 as described later, and are also encrypted by the server first encryption / decryption unit of the server 200 as described later. It is.
  • the client first encryption / decryption unit 122E can decrypt the encrypted server certificate and SSL certificate data using the solution.
  • the client first encryption / decryption unit 122E sends the decrypted server certificate and SSL certificate data to the authentication unit 122H.
  • the authentication unit 122H authenticates whether the server 200 is valid, in other words, authenticates whether the server certificate sent from the server 200 is valid.
  • the authentication method may follow the server certificate authentication method using the SSL certificate in the existing SSL communication. Yes, in this embodiment. If this part is not changed, the encrypted communication executed in the SSL communication system of this embodiment can be carried out with a slight change to the SSL communication.
  • the authentication unit 122H authenticates that the server certificate is valid, the authentication unit 122H extracts the public key contained in the server certificate from the server certificate and sends it to the main control unit 122B.
  • the public key encryption unit 122I performs encryption using a public key. As described above, the public key encryption unit 122I receives the public key and the common key from the main control unit 122B. Upon receiving these, the public key encryption unit 122I encrypts the common key with the public key. Also in the conventional SSL communication, the client encrypts the common key held by itself using a public key and sends it to the server. The public key encryption unit 122I can be realized by using the function in the existing SSL communication. The public key encryption unit 122I sends the encrypted common key data to the output unit 222G.
  • the client second encryption / decryption unit 122F performs encryption / decryption processing.
  • the encryption and decryption processes performed here are performed using the common key sent from the main control unit 122B.
  • the target of encryption is plaintext data sent from the application 121 via the input unit 122A, and the target of decryption is from the server 200, the network 400, the transmission / reception mechanism, and the interface 114. , Encrypted data sent via the input unit 122A.
  • the encryption / decryption processing performed by the client second encryption / decryption unit 122F may be any common-key encryption / decryption performed using a common key.
  • the publicly known or well-known technique used in the communication (3) described in the background art can be applied to this.
  • the client second encryption / decryption unit 122F can execute the DES encryption method.
  • the client second encryption / decryption unit 122F is configured to send the encrypted data sent from the application 121 to the output unit 122G, and to send the encrypted data sent from the server 200.
  • the decrypted data is sent to the output unit 122G.
  • the output unit 122G is for outputting data generated in the encryption / decryption unit 122 to the outside.
  • a solution may be sent from the client solution generation unit 122C to the output unit 122G, and data sent from the application 121 from the client second encryption / decryption unit 122F is subjected to client second encryption / decryption. There are cases where the data encrypted by the unit 122F and the data encrypted by the client second encryption / decryption unit 122F are transmitted.
  • the output unit 122G sends the solution and the data transmitted from the application 121 encrypted by the client second encryption / decryption unit 122F to the interface 114 via the transmission / reception unit 123. ing.
  • the output unit 122G may also receive encrypted common key data from the public key encryption unit 122I.
  • the encrypted common key data sent from the public key encryption unit 122I is sent to the server 200 in the same manner as the above-described solution.
  • the output unit 122G is also configured to send to the application 121 the encrypted data sent from the server 200 and decrypted by the client second encryption / decryption unit 122F. Those data are used in the application 121.
  • the server 200 may be an existing publicly known or well-known server.
  • the hardware configuration may be a general one. Roughly speaking, the hardware configuration of the client 100 in which the CPU 111, the ROM 112, the RAM 113, and the interface 114 are connected by the bus 116 can be followed.
  • the server 200 usually has a HDD or other large-capacity recording device.
  • the configurations and functions of the CPU, ROM, RAM, interface, bus, and mass storage device provided in the server 200 are the same as those in the client 100.
  • the interface included in the server 200 is connected to a transmission / reception mechanism for performing communication via the network 400 with devices outside the server 200, similar to the client 100.
  • the interface provided in the server 200 may be connected to the same display and input device as those provided in the client 100. However, the description is omitted because it is not related to the present application.
  • a computer program recorded in a ROM, a large-capacity recording device or the like inside the server 200 By executing a computer program recorded in a ROM, a large-capacity recording device or the like inside the server 200, functional blocks as described below are generated inside the server 200.
  • the following functional blocks may be generated by a function of a single computer program for causing the server 200 to function as the server of the present invention.
  • a computer program, an OS installed in the server 200, and other computer programs It may be generated in cooperation with.
  • the computer program may be installed on the server 200 via a predetermined recording medium such as a memory card or via a network such as a LAN or the Internet. These circumstances are the same as in the case of the client 100.
  • an application 221, an encryption / decryption unit 222, and a transmission / reception unit 223 are generated in relation to the function of the present invention (FIG. 6).
  • the application 221 is publicly known software for displaying a desired image on the browser of the client 100, software for executing payment by Internet banking based on a decision of a user operating the client 100, and the like.
  • the transmission / reception unit 223 is software that transmits and receives data via the network 400, and none of them is generated by the function of the computer program referred to in the present invention. This situation is the same as in the case of the client 100.
  • the application 221 generates unencrypted data that is the source of data that is encrypted and sent from the server 200 to the client 100, and decrypts the data that is encrypted and sent from the client 100 to the server 200. It is to be used after. As long as it is such, the application 221 is not limited to that exemplified above.
  • the application 221 is connected to an interface, and automatically operates according to data relating to operation contents from an input device received via the interface or according to a program created in advance. As a result of the operation, the application 221 generates plain text data to be encrypted and sent to the client 100 via the network 400. This data is sent to the encryption / decryption unit 222.
  • the application 221 may also generate image data, for example, as a result of the operation.
  • the image data is sent to the interface, and from there, it is sent to a display (not shown) provided in the server 200 to display the image.
  • the transmission / reception unit 223 is a functional block that performs transmission / reception with the client 100 or the like via the network 400. It has a well-known function.
  • the transmission / reception unit 223 can perform communication via the network 400 using at least TCP / IP.
  • the transmission / reception unit 223 receives data received from the network 400 by the transmission / reception mechanism via the interface.
  • the transmission / reception unit 223 sends data received from the transmission / reception mechanism to the encryption / decryption unit 222 via the interface.
  • the transmission / reception unit 223 may receive data from the encryption / decryption unit 222.
  • the transmission / reception unit 223 sends the data received from the encryption / decryption unit 222 to the interface, and sends the data to the client 100 via the network 400 from the transmission / reception mechanism.
  • the encryption / decryption unit 222 performs a decryption process on the necessary data among the data received from the transmission / reception unit 223, and performs the decryption process on the necessary data among the data received from the application 221.
  • the server 200 and the client 100 perform processing necessary for mutual authentication. That is, the encryption / decryption unit 222 plays a central role in encrypted communication between the client 100 and the server 200 in the present invention, and a computer program for causing the computer of the present invention to function as a server, It can be said that it is generated in the server 200.
  • data about the operation content input from the input device may be input to the encryption / decryption unit 222 via an interface.
  • the encryption / decryption unit 222 includes an input unit 222A, a main control unit 222B, a server solution generation unit 222C, a solution data recording unit 222D, a server first encryption / decryption unit 222E, and a server second encryption / decryption unit 222F.
  • the output unit 222G, the authentication unit 222H, and the secret key decryption unit 222I are generated (FIG. 7).
  • the input unit 222A receives data from the interface or application 221. As will be described later, encrypted data sent from the client 100 or data encrypted with a common key may be sent to the input unit 222A via the interface / transmission / reception unit 223. . When receiving the data, the input unit 222A sends the data to the server second encryption / decryption unit 222F. As will be described later, solution data transmitted from the client 100 may be input to the input unit 222A via an interface. When such data is received, the input unit 222A sends it to the main control unit 222B. In addition, as will be described later, the encrypted common key data sent from the client 100 may be input to the input unit 222A via an interface.
  • the input unit 222A When such data is received, the input unit 222A sends it to the main control unit 222B.
  • the input unit 222A may also receive data sent from the application 221 via the interface. As will be described later, this data is intended to be sent to the client 100 after being encrypted.
  • the input unit 222A Upon receipt of this data, the input unit 222A sends the data to the server second encryption / decryption unit 222F. It is like that.
  • the main control unit 222B controls the entire encryption / decryption unit 222. As described above, the main control unit 222B may receive the solution data sent from the client 100 from the input unit 222A, and when receiving the data, sends it to the authentication unit 222H. In addition, an instruction to generate a solution is sent to the server solution generation unit 222C. The main control unit 222B may also receive authentication data, which will be described later, from the authentication unit 222H. When receiving the authentication data, the main control unit 222B sends an instruction to generate a solution to the server solution generation unit 222C. ing. The main control unit 222B has a server certificate and an SSL certificate.
  • the administrator of the server 200 obtains these from a certificate authority that issues a server certificate or an SSL certificate, and installs them in the server 200.
  • Both the server certificate and the SSL certificate may be ordinary ones used in the current SSL communication, and this is the case in this embodiment.
  • the SSL certificate is as described in the description of the client 100.
  • the server certificate includes information on the server 200, the public key of the server is embedded, and the validity of the server certificate. An electronic signature of the certificate authority that issued the server certificate is attached to prove the authenticity. Although there is one server certificate, there is not always one SSL certificate. This is the same as in the conventional SSL communication.
  • the main control unit 222B sends the server certificate and the SSL certificate to the server first encryption / decryption unit 222E at a timing described later.
  • the server solution generation unit 222C can generate solutions continuously as in the client solution generation unit 122C. Each of the solutions generated continuously by the server solution generation unit 222C matches the solution generated continuously by the client solution generation unit 122C under common conditions. In this embodiment, the method of continuously generating solutions by the server solution generation unit 222C and the method of continuously generating solutions by the client solution generation unit 122C are common. In the solution data recording unit 222D, data for generating a new solution, that is, initial values similar to those recorded in the solution data recording unit 122D of the client 100, or past solution data is recorded. Yes. However, the server 200 needs to authenticate many clients 100.
  • the server 200 uses data for identifying each client 100 (in this embodiment, the IP address of each client 100 is used as data for identifying each client 100.
  • data for identifying each client 100 As such data, a unique identifier or the like assigned to each client 100 from the stage at which the client 100 is sold, which is strictly managed by the seller of the client 100 or an organization for performing authentication, etc.
  • data for generating a new solution for each client 100 are recorded in a state of being linked to each other. That is, in this embodiment, the sequence of solutions continuously generated by the client solution generation unit 122C of each client 100 is different, but on the server 200 side, each of the solutions generated by each client 100 is different. The same solution sequence as the different solution sequence can be generated for each client 100.
  • the server solution generator 222C in the server 200 and each of the client solution generators 122C in each client 100 can synchronize the solutions.
  • the server solution generator 222C sends the solution to the server first encryption / decryption unit 222E or the authentication unit 222H.
  • the server solution generation unit 222C sends the solution to the authentication unit 222H, the data for identifying the client 100, which was recorded in the solution data recording unit 222D and referred to when generating the solution, is also included. The data is sent to the authentication unit 222H.
  • the server first encryption / decryption unit 222E can perform encryption / decryption processing. However, in this embodiment, it is only necessary to perform at least encryption processing as will be described later.
  • the data encrypted by the server first encryption / decryption unit 222E can be decrypted by at least the client first encryption / decryption unit 122E of the client 100.
  • the solution is used as in the case of encryption and decryption in the client first encryption / decryption unit 122E.
  • the solution generated by the server solution generation unit 222C is sent from the server solution generation unit 222C to the server first encryption / decryption unit 222E, and the solution is transmitted by the server first encryption / decryption unit 222E. Used when encryption is performed.
  • server certificate and SSL certificate data is sent from the main control unit 222B to the server first encryption / decryption unit 222E.
  • the server certificate and SSL certificate data are sent to the client 100 as described later, and are encrypted by the server first encryption / decryption unit 222E.
  • the encrypted server certificate and SSL certificate data are decrypted by the client first encryption / decryption unit 122E and returned to the server certificate and SSL certificate data.
  • the server first encryption / decryption unit 222E sends the encrypted server certificate and SSL certificate data to the output unit 222G.
  • the secret key decryption unit 222I performs decryption using the secret key.
  • the secret key decryption unit 222I includes a secret key paired with the public key embedded in the server certificate.
  • the secret key decryption unit 222I is sent from the main control unit 222B the common key data sent from the client 100 and encrypted with the public key.
  • the secret key decryption unit 222I can decrypt the common key data encrypted by using the secret key and restore the original common key data.
  • the client encrypts the common key held by itself using a public key and sends it to the server.
  • the server decrypts the encrypted common key using a secret key.
  • the secret key decryption unit 222I can be realized by using the function in the existing SSL communication.
  • the secret key decryption unit 222I sends the common key data obtained by the decryption process to the server second encryption / decryption unit 222F.
  • the server second encryption / decryption unit 222F performs encryption / decryption processing.
  • the encryption and decryption processes performed here are performed using the common key sent from the secret key decryption unit 222I.
  • the object of encryption is plaintext data sent from the application 221 via the input unit 222A, and the object of decryption is from the client 100, the network 400, the transmission / reception mechanism, the interface, This is encrypted data sent via the input unit 222A.
  • the encryption / decryption process performed by the server second encryption / decryption unit 222F may be any common key type encryption / decryption process using a common key, but the same common key
  • the data encrypted here can be decrypted by the client second encryption / decryption unit 122F, and the data encrypted by the client second encryption / decryption unit 122F is decrypted here. It is supposed to be possible.
  • the server second encryption / decryption unit 222F sends the encrypted data sent from the application 221 to the output unit 222G and sends the encrypted data sent from the client 200.
  • the decrypted data is sent to the output unit 222G.
  • the authentication unit 222H is for determining whether or not the client 100 is valid, that is, for authenticating the client 100.
  • solution data sent from the client 100 is sent from the main control unit 222B to the authentication unit 222H.
  • the solution data recording unit 222D sends solution data and data for specifying the client 100 referred to when generating the solution to the authentication unit 222H.
  • the authentication unit 222H uses these three pieces of data to determine whether or not the client 100 is valid, and generates authentication data when the client 100 is authenticated as valid. A specific authentication method will be described later. When such authentication is performed, the authentication unit 222H generates authentication data and sends the authentication data to the main control unit 222B.
  • the output unit 222G is for outputting data generated in the encryption / decryption unit 222 to the outside.
  • the data sent from the application 221 from the server second encryption / decryption unit 222F and the encryption sent from the client 100 are encrypted by the server second encryption / decryption unit 222F.
  • the encrypted data is decrypted by the server second encryption / decryption unit 222F.
  • the output unit 222G is configured to send the data transmitted from the application 221 encrypted by the server second encryption / decryption unit 222F to the interface via the transmission / reception unit 223. These data sent to the interface are sent to the client 100 via the transmission / reception mechanism and the network 400.
  • the output unit 222G may also receive encrypted server certificate and SSL certificate data from the server first encryption / decryption unit 222E. This data is also sent to the client 100 as in the above case.
  • the output unit 222G is also configured to send to the application 221 the encrypted data sent from the client 100 and decrypted by the server second encryption / decryption unit 222F. Those data are used in the application 221.
  • FIG. 8 is mainly used.
  • the user operates his / her client 100 and tries to communicate between the client 100 and the server 200.
  • the user connects to the server 200 and tries to browse a website provided by the server 200.
  • the user first starts up the application 121 on the client 100 (S1001). If it is the application 121 for browsing a website, a well-known browser will usually be started.
  • the user starts up the browser by appropriately operating the input device 102.
  • the operation content for starting up the browser is sent from the input device 102 to the application 121 via the interface 114.
  • the application 121 operates and image data is sent to the display 101 via the interface 114, whereby a browser is displayed on the display 101 of the client 100.
  • the user tries to browse a website provided by the server 200.
  • the client 100 starts communication with the server 200 by designating the web address (URL) of the server 200 on the browser.
  • the client 100 first starts processing necessary for authentication of the client 100.
  • the data of the operation content is sent from the input device 102 to the input unit 122A via the interface 114.
  • the operation content data is sent from the input unit 122A to the main control unit 122B.
  • the main control unit 122B sends an instruction to generate a solution to the client solution generation unit 122C.
  • the client solution generation unit 122C generates a solution (S1002).
  • the method for generating the solution by the client solution generation unit 122C is as described above. If the client solution generation unit 122C is the first to generate a solution, the client solution generation unit 122C reads the initial value from the solution data recording unit 122D, and if it is not the first time to generate a solution, the client solution generation unit 122C The generation unit 122C reads a solution generated in the past from the solution data recording unit 122D. Based on either of them, the client solution generation unit 122C generates a new solution. The generated solution is sent from the client solution generation unit 122C to the output unit 122G.
  • the output unit 122G sends the received solution to the transmission / reception unit 123.
  • the transmission / reception unit 123 performs predetermined processing such as attaching a header to the solution data according to the TCP / IP rules.
  • the header includes the IP address of the client 100 that is information for identifying the client 100 from other clients 100, the web address of the server 200, and the like.
  • the SSL communication there is a common rule that indicates that the data including the header is a request for SSL communication by describing the number (generally 443) determined as the port number of the other party following the web address. However, this encrypted communication may follow such rules.
  • the solution data with such a header is sent from the transmission / reception unit 123 to the transmission / reception mechanism via the interface 114.
  • the solution data is sent from the transmission / reception mechanism to the server 200 via the network 400 (S1003).
  • the solution data can be encrypted by the client 100 and then sent to the server 200, but in this embodiment, the solution is sent to the server 200 without being encrypted.
  • the solution is received by the server 200 (S2001). Specifically, the data including the solution is received by the transmission / reception mechanism of the server 200 and sent from the interface to the transmission / reception unit 223.
  • the transmission / reception unit 223 sends the solution data and the IP address of the client 100 that has sent the solution contained in the header to the input unit 222A. They are sent from the input unit 222A to the main control unit 222B.
  • the main control unit 222B sends the solution and IP address data to the authentication unit 222H in a state of being linked to each other.
  • the main controller 222B sends the data of the IP address to the server solution generator 222C and sends an instruction to the server solution generator 222C to generate a solution.
  • the server solution generation unit 222C receives this, the server solution generation unit 222C generates a solution (S2002).
  • the server solution generation unit 222C receives from the main control unit 222B of data (initial value or past solution data) for generating a new solution for each client 100 recorded in the solution data recording unit 222D. Read what was associated with the IP address. Then, using the initial value or past solution data, a new solution is generated by the method described above.
  • the server solution generation unit 222C transmits the generated solution and the IP address that identifies the client 100 that has transmitted the solution to the authentication unit 222H in a state where they are associated with each other.
  • the authentication unit 222H has the solution and the IP address sent from the main control unit 222B.
  • the authentication unit 222H has a solution and an IP address sent from the server solution generation unit 222C.
  • the IP address is required from the main control unit 222B described later, which is performed in the authentication unit 222H when a large number of solutions are sent from a plurality of clients 100 in a short time. This is because it may be unclear which solution should be compared with which solution when comparing the sent solution with the solution sent from the server solution generation unit 222C.
  • the solution sent from the main control unit 222B associated with the same IP address is compared with the solution sent from the server solution generation unit 222C.
  • authentication is performed as to whether or not the client 100 that sent the solution is valid.
  • the solution generated by the server solution generation unit 222C is synchronized with the solution generated by the client solution generation unit 122C of each client 100. Therefore, if the client 100 is valid, the above two solutions to be compared should match. If the two match, the authentication unit 222H authenticates that the client 100 that sent the solution is valid, and generates authentication data indicating that (S2003). The authentication data is sent to the main control unit 222B while being associated with the IP address of the client 100 authenticated thereby. If the two solutions do not match, the authentication unit 222H notifies the main control unit 222B that the client 100 is not valid, and the communication between the client 100 and the server 200 can be terminated there. Then it does so. At this time, the server 200 may notify the client 100 that the client 100 has not been authenticated.
  • the server control unit 222B When the main control unit 222B receives the authentication data and the IP address, the server control unit 222B first encrypts and decrypts the server certificate and the SSL certificate that the main control unit 222B has in association with the IP address. To section 222E. On the other hand, the main control unit 222B sends the server certificate and the SSL certificate to the server first encryption / decryption unit 222E in a state linked to the IP address, and instructs the server to generate a new solution. It is sent to the solution generator 222C. The server solution generation unit 222C generates at least one solution (S2004). The generated solution is sent to the server first encryption / decryption unit 222E together with the IP address that has triggered the instruction to generate the solution.
  • S2004 solution
  • the conditions under which the solution is generated by the server solution generation unit 222C for example, how many solutions are generated, and which of them (for example, the second generated or the 100th generated) Whether to send the generated data to the server first encryption / decryption unit 222E is determined in advance, and the information is shared with the client 100.
  • the server first encryption / decryption unit 222E encrypts the received server certificate and SSL certificate data (S2005).
  • the solution sent from the server solution generation unit 222C is used.
  • As a solution used when encrypting the server certificate and the SSL certificate it is only necessary to select the same IP addresses associated with each other.
  • data obtained as a result of the encryption depends on the solution. Any solution may be used as long as the data obtained as a result of encryption depends on the solution. For example, the solution may be used as an encryption key.
  • the IP address data associated with the server certificate and SSL certificate data is not encrypted.
  • the encrypted server certificate and SSL certificate data are sent to the output unit 222G together with the IP address data linked to the server certificate and SSL certificate data before encryption.
  • the output unit 222G sends the data to the transmission / reception unit 223.
  • the transmission / reception unit 223 attaches a header indicating the transmission destination to the encrypted server certificate and SSL certificate data.
  • the transmission destination can be specified by the above-described IP address.
  • the encrypted server certificate and SSL certificate data with the headers are sent from the transmission / reception unit 223 to the interface, and further sent from the transmission / reception mechanism to the client 100 via the network 400 (S2006).
  • the client 100 receives the encrypted server certificate and SSL certificate data (S1004).
  • the encrypted server certificate and SSL certificate data is received by the transmission / reception mechanism of the client 100 and sent to the transmission / reception unit 123 via the interface 114.
  • the transmission / reception unit 123 sends the data to the input unit 122A.
  • the input unit 122A sends the encrypted server certificate and SSL certificate data to the client first encryption / decryption unit 122E.
  • the input unit 122A sends a notification that the encrypted server certificate and SSL certificate data have been received to the main control unit 122B. Receiving this, the main control unit 122B sends an instruction to generate a new solution to the client solution generation unit 122C.
  • the client solution generation unit 122C Upon receiving this instruction, the client solution generation unit 122C generates at least one new solution (S1005).
  • the generated solution is sent from the client solution generation unit 122C to the client first encryption / decryption unit 122E.
  • the client solution generation unit 122C generates a solution, for example, how many solutions are generated, and which one of them (for example, the second one generated, or Whether to send the 100th generated data to the first client encryption / decryption unit 122E is determined in advance, and the information is shared with the server 200. Since the client solution generation unit 122C can continuously generate a solution common to the server solution generation unit 222C under common conditions, the server first encryption / decryption unit 222E is common as a result.
  • the same solution as the solution generated by the server solution generation unit 222C and sent to the server first encryption / decryption unit 222E as the solution used to encrypt the key data is sent from the client solution generation unit 122C to the client first
  • the data is sent to the encryption / decryption unit 122E.
  • the client first encryption / decryption unit 122E decrypts the encrypted server certificate and SSL certificate data into the unencrypted server certificate and SSL certificate data.
  • Return (S1006) The decryption process in the client first encryption / decryption unit 122E depends on the solution, and when the same solution is used, the data encrypted by the server solution generation unit 222C is decrypted to It is a process that can return to plaintext data.
  • the encrypted common key data returns to the server certificate and SSL certificate data as generated by the main control unit 222B of the server 200.
  • the client first encryption / decryption unit 122E sends the server certificate and the SSL certificate to the authentication unit 122H.
  • the authentication unit 122H that has received the server certificate and the SSL certificate sends an instruction to the main control unit 122B to send the SSL certificate, and the main control unit 122B has the SSL certificate originally possessed by the main control unit 122B. Receive the letter.
  • the authentication unit 122H performs an authentication process to determine whether the server 200 is appropriate or whether the server certificate is appropriate (S1007). Such a process can be executed as a process similar to the authentication of the validity of a server certificate that has been performed in the conventional SSL communication. For example, it is assumed that the SSL certificate held by the client 100 completely matches the SSL certificate sent from the server 200. In this state, the server 200 determines that the SSL certificate owned by the server 200 or the public key attached thereto is appropriate. Here, the authentication unit 122H of the client 100 attached the hash value obtained by hashing the entire server certificate and the electronic signature attached to the server certificate to the SSL certificate. Compare with the one decrypted with the public key (obtained value).
  • the digital signature attached to a server certificate is encrypted by the certificate authority that issued the server certificate, for example, the hash value obtained by hashing the entire server certificate with the private key that the certificate authority has. It is supposed to have become. Therefore, if there has been no change to the server certificate, including the electronic signature, since the server certificate was issued by the certificate authority, including any tampering by a malicious third party, the above two values are Must match. As a result, the server certificate is authenticated as being appropriate.
  • a root certificate authority that is able to prove the validity of the SSL certificate by applying its own digital signature to its own SSL certificate (root certificate) is the apex, and the certificate authority There are various levels depending on the degree of trustworthiness, and SSL certificates also have various levels depending on the degree of trustworthiness.
  • SSL certificates In such authentication for SSL communication, a plurality of SSL certificates may be used in multiple stages depending on circumstances, and the appropriateness of the server certificate is authenticated using an SSL certificate that the authentication unit 122H of the client 100 can trust.
  • the authentication unit 122H of the present application can also execute such processing.
  • the authentication unit 122H when the authentication unit 122H authenticates that the server certificate is proper, the authentication unit 122H extracts the public key embedded in the server certificate and sends it to the main control unit 122B. .
  • the main control unit 122B sends the public key to the public key encryption unit 122I together with the common key held by the main control unit 122B.
  • the main control unit 122B sends the common key data to the client second encryption / decryption unit 122F.
  • this common key is not encrypted.
  • the client second encryption / decryption unit 122F has a common key necessary for performing the common key encryption communication.
  • the public key encryption unit 122I that has received the common key and the public key encrypts the common key using the public key as in the case of the conventional SSL communication (S1008).
  • the encrypted common key is sent from the public key encryption unit 122I to the output unit 122G.
  • the encrypted common key data is appended with a header as required by the output unit 122G, sent to the transmission / reception mechanism from the interface 114, and sent to the server 200 via the network 400 (S1009).
  • the server 200 receives the common key data encrypted by the transmission / reception mechanism (S2007).
  • the encrypted common key data is sent to the input unit 222A via the interface / transmission / reception unit 223, and sent from the input unit 222A to the private key decryption unit 222I via the main control unit 222B.
  • the secret key decryption unit 222I has a secret key, and can decrypt data encrypted with the public key paired with the secret key.
  • the public key used when encrypting the encrypted common key is a secret key decryption unit in the server 200. Since it is a pair with the secret key held by 222I, the secret key decryption unit 222I can decrypt the encrypted common key received from the main control unit 222B. The secret key decryption unit 222I decrypts the common key that has been encrypted using the secret key (S2008). The decrypted common key is sent from the secret key decryption unit 222I to the server second encryption / decryption unit 222F.
  • the server second encryption / decryption unit 222F in the server 200 and the client second encryption / decryption unit 122F in the client 100 are in a state having a common common key.
  • the server 200 and the client 100 Can perform encrypted communication similar to that performed in the process (3) of the conventional SSL communication.
  • Such encrypted communication is realized by sending encrypted data from the client 100 to the server 200 or from the server 200 to the client 100 as necessary (S1010, S2009).
  • the application 121 of the client 100 generates data to be encrypted and sent to the server 200, and the data is sent from the application 121 to the encryption / decryption unit 122.
  • the data is sent to the client second encryption / decryption unit 122F, where it is encrypted using the common key.
  • the encrypted data is sent from the output unit 122G to the transmission / reception unit 123, and the process with the header as described above is performed as necessary, and then sent from the interface 114 to the transmission / reception mechanism.
  • the data is sent to the server 200 via the network 400.
  • Server 200 receives the data by its transmission / reception mechanism.
  • the data is sent from the transmission / reception mechanism of the server 200 to the interface, and then sent to the input unit 222A via the transmission / reception unit 223.
  • the encrypted data is decrypted by the server second encryption / decryption unit 222F using the common key and sent to the output unit 222G.
  • the output unit 222G sends the decrypted data to the application 221, and the application 221 uses the data as appropriate.
  • the application 221 of the server 200 may generate plain text data to be encrypted and sent to the client 100.
  • the data is sent to the input unit 222A in the encryption / decryption unit 222.
  • the data is sent from the input unit 222A to the server second encryption / decryption unit 222F, where it is encrypted using the common key.
  • the data encrypted by the server second encryption / decryption unit 222F is sent to the transmission / reception unit 223 via the output unit 222G.
  • the above-described processing for attaching a header to the encrypted data is performed as necessary.
  • the data subjected to such processing is sent from the transmission / reception unit 223 to the transmission / reception mechanism of the server 200 via the interface, and from there to the client 100 via the network 400.
  • the client 100 receives the data through the transmission / reception mechanism.
  • the data is sent from the transmission / reception mechanism of the client 100 to the interface 114, and then sent to the input unit 122A via the transmission / reception unit 123.
  • the encrypted data is decrypted by the client second encryption / decryption unit 122F using the common key and sent to the output unit 122G.
  • the output unit 122G sends the decrypted data to the application 121, and the application 121 uses the data as appropriate.
  • encrypted communication using the common key method using the common key is performed between the server 200 and the client 100.
  • encryption and decryption are performed by the encryption / decryption unit 222 in the server 200 between the application 221 and the transmission / reception unit 223 that performs TCP / IP communication.
  • the encryption / decryption unit 122 is between the application 121 and the transmission / reception unit 123 that performs TCP / IP communication.
  • Executing encryption and decryption processing between an application and TCP / IP is common to conventional SSL communication protocols, so the invention of this embodiment is replaced with existing SSL communication. It is relatively easy to apply. However, the present invention does not necessarily perform encryption and decryption processing between the application and TCP / IP. When it is not necessary to perform communication, the encrypted communication between the server 200 and the client 100 ends.
  • Second Embodiment An SSL communication system according to the second embodiment will be described.
  • the SSL communication system in the second embodiment is generally the same as that in the first embodiment. The difference is that in the communication between the client 100 and the server 200 in the SSL communication system according to the first embodiment, when the server certificate and the SSL certificate are sent from the server 200 to the client 100, the server certificate and the SSL certificate are different. In contrast, the server certificate and the SSL certificate are transmitted from the server 200 to the client 100 without being encrypted in the second embodiment.
  • both the server 200 and the client 100 also have some changes.
  • both the server 200 and the client 100 are the same as in the case of the first embodiment, but there are some differences between the two in terms of functional blocks generated therein.
  • the difference is that, in the encryption / decryption unit 122 of the client 100 in the second embodiment, the client first encryption / decryption unit 122E that existed in the case of the first embodiment does not exist, and the second embodiment In the encryption / decryption unit 222 of the server 200, the server first encryption / decryption unit 222E that existed in the case of the first embodiment does not exist (FIGS. 9 and 10).
  • a usage method and operation of the SSL communication system according to the second embodiment will be described. Since the method executed in the SSL communication system is almost the same as in the first embodiment, the difference will be mainly described (FIG. 11). However, the difference is that in the second embodiment, the processing of S1005 and S1006 in the client 100 that existed in the first embodiment does not exist, and the processing of S2004 and S2005 in the server 200 that existed in the first embodiment exists. It is not to do. This will be specifically described. The processing from S1001 to S1003 in the first embodiment executed by the client 100 and the processing from S2001 to S2003 in the first embodiment executed by the server 200 are the same in the second embodiment.
  • authentication that the client 100 is valid is performed by the authentication unit 222H of the server 200 (S2003).
  • authentication data is generated in the second embodiment as in the case of the first embodiment.
  • the authentication unit 222H when the authentication unit 222H generates authentication data, it is sent to the main control unit 222B, followed by processing for generating a new solution (S2004), and encryption of the common key using the new solution The process of (S2005) was performed.
  • the main control unit 222B when receiving the authentication data, the main control unit 222B associates the server certificate and SSL certificate with the IP address data of the client 100 attached to the authentication data.
  • the document is sent as it is to the output unit 222G without being encrypted.
  • the server certificate and SSL certificate data associated with the IP address data are sent from the output unit 222G to the transmission / reception unit 223.
  • the server certificate and SSL certificate data are appended with headers as necessary in the same manner as in the first embodiment, and then sent to the transmission / reception mechanism via the interface, and from there, the client via the network 400 100 (S2006A).
  • the client 100 receives the server certificate and SSL certificate data (S1004A).
  • the server certificate and SSL certificate data are not encrypted.
  • the server certificate and SSL certificate data are sent from the transmission / reception mechanism to the main control unit 122B via the interface 114.
  • the main control unit 122B sends the server certificate and SSL certificate received from the input unit 122A to the authentication unit 122H together with the SSL certificate originally owned by the main control unit 122B.
  • the authentication unit 122H performs authentication processing of whether or not the server 200 or the server certificate is appropriate (S1007).
  • the subsequent processing is the same as in the first embodiment.
  • the configuration and operation of the SSL communication system in the third embodiment are substantially the same as those in the SSL communication system in the first embodiment.
  • the SSL communication system according to the third embodiment is different from the SSL communication system according to the first embodiment.
  • the server certificate and the SSL certificate in an encrypted state are sent from the server 200 to the client 100.
  • the server certificate and SSL certificate that are not encrypted are sent to the third embodiment as in the case of the second embodiment. It is.
  • the hardware configurations of the client 100 and the server 200 in the third embodiment are not different from those in the first embodiment, and the functional blocks generated in the client 100 and the server 200 in the third embodiment are also the first embodiment. It is not different from the case of form. However, based on the above-described changes, the functional block functions generated in the client 100 and the server 200 in the third embodiment are slightly different from those in the first embodiment. This will be described later.
  • a usage method and operation of the SSL communication system according to the third embodiment will be described. Since the method executed in the SSL communication system is almost the same as that in the first embodiment, the difference will be mainly described (FIG. 12).
  • the server first encryption / decryption unit 222E encrypts the data of the server certificate and the SSL certificate (S2005).
  • the encrypted server certificate and SSL certificate data are output together with the IP address data linked to the server certificate and SSL certificate data before being encrypted.
  • encrypted server certificate and SSL certificate data and unencrypted server certificate and SSL certificate data are encrypted in the third embodiment.
  • the data is sent to the output unit 222G together with the IP address data associated with the server certificate and SSL certificate data before the authentication.
  • the server certificate and SSL certificate in an encrypted state are sent from the server 200 to the client 100
  • Unencrypted server certificate and SSL certificate data are sent from the server 200 to the client 100.
  • the encrypted server certificate and SSL certificate data sent to the output unit 222G, the unencrypted server certificate and SSL certificate data, and the data before encryption.
  • the IP address data associated with the server certificate and SSL certificate data is sent from the output unit 222G to the transmission / reception unit 223.
  • Encrypted server certificate and SSL certificate data and unencrypted server certificate and SSL certificate data are appended with headers as necessary in the same manner as in the first embodiment.
  • the client 100 receives the encrypted server certificate and SSL certificate data and the unencrypted server certificate and SSL certificate data (S1004B).
  • the encrypted server certificate and SSL certificate data is sent to the client first encryption / decryption unit 122E, and is generated by the client solution generation unit 122C by the processing of S1005 similar to the case of the first embodiment.
  • the same solution is used as in the first embodiment (S1006).
  • unencrypted server certificate and SSL certificate data is sent from the transmission / reception mechanism to the input unit 122A via the interface 114 and the transmission / reception unit 123, and from the input unit 122A to the main control unit 122B, To 122H.
  • the authentication unit 122H includes the server certificate and the SSL certificate that are encrypted and transmitted from the server 200 and then decrypted by the client first encryption / decryption unit 122E, and the server 200 transmits the client Both the server certificate and the SSL certificate sent without being encrypted to 100 exist. Both server certificates and SSL certificates are in plain text.
  • the authentication unit 122H is encrypted and sent from the server 200 and then sent from the server 200 to the client 100 without being encrypted and the server certificate decrypted by the client first encryption / decryption unit 122E.
  • the server certificate that has been encrypted and sent from the server 200 and then decrypted by the client first encryption / decryption unit 122E and encrypted from the server 200 to the client 100 The SSL certificate sent without being sent is compared (S1011).
  • the authentication unit 122H is encrypted and sent from the server 200 and then sent from the server 200 to the client 100 without being encrypted and the server certificate decrypted by the client first encryption / decryption unit 122E.
  • the authentication unit 122H in the third embodiment proceeds to the process of S1007 in the first embodiment regarding the authentication of the server certificate.
  • the communication between the server 200 and the client 100 ends there.
  • the subsequent processing is the same as in the first embodiment.
  • the encrypted server certificate and SSL certificate data and the unencrypted server certificate and SSL certificate data are simultaneously transmitted from the server 200 to the client 100.
  • the server certificate and SSL certificate that are encrypted and sent from the server 200 to the authentication unit 122H at the time when the processing of S1011 is performed, and decrypted by the client first encryption / decryption unit 122E, and the server If the server certificate and the SSL certificate sent without being encrypted from the client 200 to the client 100 can be in a state where both exist, the encrypted server certificate and SSL certificate data; One of the unencrypted server certificate and SSL certificate data may be sent from the server 200 to the client 100 before the other.
  • the server certificate encrypted and sent from the server 200 and then decrypted by the client first encryption / decryption unit 122E and encrypted from the server 200 to the client 100 are encrypted.
  • the server certificate sent without being sent, and the SSL certificate decrypted by the client first encryption / decryption unit 122E after being encrypted and sent from the server 200 If the SSL certificate sent from the server 200 to the client 100 without being encrypted matches each other, the authentication unit 122H determines that the server certificate and the SSL certificate have not been tampered with. It was a condition to do.
  • the authentication unit 122H transmits the client first cipher after being encrypted and sent from the server 200.
  • the authentication unit 122H determines that the server certificate decrypted by the decryption unit 122E and the server certificate sent from the server 200 to the client 100 without being encrypted match each other. It is also possible to set a condition for determining that no tampering has occurred. In this case, as a matter of course, only the server certificate can be transmitted from the server 200 to the client 100 without encryption from the server certificate and the SSL certificate.

Abstract

SSLを第三者による攻撃、特にはMITMAによる攻撃に強くするように改良する。 クライアントとサーバはともに、同じ条件下では同じ解を生成する機能を持つ。クライアントは、一つ目の解を作り(S1002)、それをサーバに送る(S1003)。サーバは解を受取ると自ら解を作り(S2002)、それがクライアントから受取った解と一致したらクライアントが正当だと認証する(S2003)。サーバは新たな解を生成し(S2004)、それを用いてサーバ証明書及びSSL証明書を暗号化してから(S2005)、クライアントへ送る(S2006)。クライアントは新たな解を生成し(S1005)それを用いてサーバ証明書及びSSL証明書を復号化する(S1006)。以降の処理は現行のSSL通信と同じである。

Description

SSL通信システム、クライアント、サーバ、SSL通信方法、コンピュータプログラム
 本発明は、通信技術、より詳細には暗号化通信のための技術に関する。
 例えば、インターネット上でインターネット上に存在する店舗への支払いを行う、インターネットバンキングで自らの口座の残高を見たり第三者への送金を行う等という場合には、それらを行うユーザは自らの端末(クライアント)と上記店舗等のサーバとの間でインターネットを介して通信を行う。かかる通信はもちろん秘匿性が高いものでなければならず、暗号化通信の技術が用いられている。
 暗号化通信の技術の1つとしてSSL(secure sockets layer)と呼ばれる技術が実用化されている。なお、本願でSSLと言う場合には、SSLを標準化したものであるTLS(transport layer security)も当然にSSLに含まれる。
 SSLには大きく分けて2つの側面がある。1つは本人確認(認証)であり、もう1つは暗号化通信である。これらがどのように実現されるかについて説明するため、SSL通信で実行される処理について説明する。
 この例では、クライアントとサーバ間でSSL通信が実行されるものとする。
(1)前提処理
 a.サーバは、一対の秘密鍵と公開鍵を生成する。秘密鍵と公開鍵とは、周知のように、そのいずれもが平文のデータを暗号化して暗号化データとすることが可能なものであるとともに、それらの他方で暗号化された暗号化データを復号化して平文のデータに戻すことができるものとされる。他方、サーバには、自己の正当性を相手方が確認するためのデータであるサーバ証明書であって、自己の公開鍵を含み、且つそのサーバ証明書の正当性を示すための電子署名が付されているものがインストールされる。なお、サーバ証明書の電子署名のみではサーバ証明書の、ひいてはサーバの正当性を立証できない場合には、サーバ証明書の電子署名の正当性を示すための、その電子署名を行った認証局(後述)よりも更に上位の認証局(ルート認証局を含む)によるSSL証明書(ルート証明書を含む)もサーバにインストールされる。
 b.クライアントは、共通鍵を準備する。共通鍵は、周知のように、平文のデータを暗号化して暗号化データとすることが可能なものであるとともに、同じ共通鍵で暗号化された暗号化データを復号化して平文のデータに戻すことができるものとされる。
 c.クライアントには、SSL証明書(ルート証明書を含む)がインストールされる。SSL証明書は、認証局が作成したものである。認証局は、上述のサーバ証明書を作成する者でもあり、サーバ証明書に電子署名を付す者でもある。クライアントは、SSL証明書とサーバ証明書に付された電子署名の組合せにより、サーバ証明書の正当性を確認することができる。
(2)サーバとクライアントでの共通鍵の共有
 a.クライアントがサーバにSSL通信の要求を行う。
 b.サーバがクライアントに対して上記サーバ証明書を送信する。場合によってはこのとき、SSL証明書も同時に送られる。上述のように、サーバ証明書には、サーバが用いる公開鍵が含まれ、電子署名が付されている。
 c.クライアントは、自己が所有するSSL証明書とサーバ証明書に付された電子署名とを用いてサーバ証明書の正当性を検証し、サーバ証明書が正当であれば自分が通信しているサーバが正当であると認証し、サーバ証明書が不当であればサーバが正当であるとの認証を行わない。サーバ証明書に付された電子署名の正当性をそれ単独では評価できない場合には、クライアントはサーバ証明書に付された電子署名の正当性を示すサーバ証明書からのSSL証明書に付された電子署名の正当性を、自己の持つSSL証明書により立証できるか試み、それができた場合のみサーバが正当であるとの認証を行う。
 d.クライアントはサーバを認証した場合には、自己が所有する共通鍵を、サーバから受取ったサーバ証明書に含まれていた公開鍵で暗号化して、サーバに送る。
 e.サーバは、クライアントから受取った暗号化された共通鍵を自己が所有する秘密鍵で復号化する。これにて、クライアントの共通鍵は、クライアントとサーバで共有されることになる。
(3)サーバとクライアント間での暗号化通信
 サーバとクライアントとはともに、自分が持つ共通鍵で暗号化した暗号化データを相手方に送る。サーバとクライアントはともに、相手から受取った暗号化データを自分が持つ共通鍵で復号化する。これにて、サーバとクライアントとの間では暗号化通信が可能となる。
 以上がSSL通信で実行される処理である。
 乱暴であることを承知で言うと、SSL通信で実行したいのは、上記(3)のサーバとクライアント間での暗号化通信のみである。これを、共通鍵を用いて行いたいというのがSSL通信の要点である。なぜ共通鍵でかかる暗号化通信を行いたいかといえば、共通鍵での暗号化通信は、特に公開鍵と秘密鍵とを用いた暗号化通信に較べてその処理が格段に軽いからである。
 もっとも、そのためには、共通鍵をサーバとクライアントとの間で共有しなければならない。それを実現するために、サーバが持つ公開鍵と秘密鍵とを用いてクライアントからサーバに共通鍵が送信されるというのが、SSL通信についての上記(2)の処理である。公開鍵と秘密鍵を使った暗号化通信では、暗号化と復号化に用いられる鍵が上述のように異なる。したがって、公開鍵で暗号化されたクライアントの共通鍵が仮に、クライアントからサーバに送られている途中で悪意のある第三者に盗まれたとしても、当該第三者は秘密鍵を持たないのでクライアントの共通鍵そのものが第三者に盗まれるということはない。この結果には、公開鍵が公開されていることはまったく影響しない。
 クライアントから第三者に共通鍵を送る際には、上述したように、サーバからクライアントに送られてきた公開鍵が用いられる。しかしながら、ここでその公開鍵自体の正当性、ひいては公開鍵を送って来た者(サーバ)の正当性が問題となる。たとえば、悪意のある第三者が公開鍵をクライアントに送ってくることがあるからである。公開鍵乃至それを送ってきた者の正当性を担保するのが、SSL通信についての上記(1)、(2)の処理である。これら処理により、クライアントが、サーバの正当性を確認(認証)することで、SSL通信の正当性が保証されることになる。
 以上の説明によればSSL通信には、悪意の第三者が付け入る隙が無いようにも思われる。しかしながら、実際にはSSL通信でも悪意の第三者による盗聴が発生しており、例えばインターネットバンキングではユーザの口座の金銭がそのユーザの預かり知らない第三者の口座に勝手に送金される等の被害が頻繁に生じている。
 そのようなことが生じる原因は複数あるが、例えば、クライアントにある上述したSSL証明書が例えばハッキングや、コンピュータウィルスを用いる等の手法によって改竄されることがその一因となる。また、ルート証明書には通常有効期限があるにもかかわらず、多くのユーザは自らのクライアントにおいてルート証明書の更新をしていない。そうすると、クライアント内にあるルート証明書は改竄されたのと同様の状態となることがあり得る。サーバの管理者は、サーバ証明書、SSL証明書に対する第三者からの攻撃に十分に備えるだけの技術を備えていることが多く、また、サーバの管理者はルート証明書の更新を正しく行うのが通常なので、上述の如き問題は主にクライアント側の問題となる。
 クライアントにおけるルート証明書が改竄された場合には、悪意のある第三者は、改竄されたSSL証明書によって自らの正当性がクライアントにおいて認証されるような偽のサーバ証明書を自ら作り、ユーザが正当なサーバへとSSL通信の要求を行ったときに、正当なサーバになりすまして、クライアントと正当なサーバとの間に入り込んでその要求を受取る。そしてその正当なサーバになりすました偽のサーバは、自らが作った、偽のサーバ証明書をクライアントへと送信する。そうするとクライアントは、改善されたルート証明書を使ってその偽のサーバ証明書を正当なものと判断し、ひいては偽のサーバを正当なものと認証する。そうすると、クライアントは自らが持つ共通鍵を偽のサーバ証明書に含まれていた偽の公開鍵で暗号化して、偽のサーバへと送信する。それを受取った偽のサーバは自らが持つ上述の偽の公開鍵と対となった秘密鍵でその暗号化された共通鍵を復号化する。これをもって、クライアントが持っていた共通鍵は、悪意の第三者の手に渡るのである。以降においては、そのクライアントとサーバとの間の通信が仮に共通鍵による暗号化通信であったとしても、その暗号化通信のために必要な共通鍵を所有している悪意の第三者は、その解読を自由に行えるようになる。
 このような、クライアントとサーバの間に悪意の第三者が入り込んで行う攻撃を中間者攻撃(man-in-the-middle attack:MITMA)と称するが、他の暗号化通信の場合と同様、SSLの場合にもこれを防げていない。
 そもそも暗号化通信の分野では、送信者と受信者が同じ鍵を持つ(つまり、共通鍵方式の通信を行う。)というのが基本であり、同じ鍵をどうやって共有するのかという点が古くから問題となっている。かかる問題は鍵の配送問題などと称されるが、SSL通信でもこの鍵の配送問題は解決されていないのである。
 上述したようにSSL通信では最終的に共通鍵方式の通信を行うが、それに先立って、クライアントが持つ共通鍵をどうやって安全にサーバに配送するのかという点が問題となる。SSL通信では上述のように、秘密鍵方式の暗号化通信を初段に用い、且つサーバ証明書とルート証明書とを用いた認証技術を組合せることで、クライアントが持つ共通鍵を安全にサーバに配送せんとしているが、その試みは上述のように、完璧に成し遂げられているとは言えないのである。
 本願発明は、第三者による攻撃、特にはMITMAによる攻撃に強いSSL通信の技術を提案するものである。
 上述の如き問題は、以下のことが原因で生じると出願人は考えている。
 つまり従来のSSL通信では、サーバ証明書等を用いてクライアントがサーバの適正さの認証を行っている。しかしながら、上述のようにクライアントは悪意ある第三者からの攻撃を完全に防ぐのは難しい。他方、従来のSSL通信ではサーバは、クライアントの適正さの認証を行っていない。これこそが、上述の問題が発生する原因だと本願発明者は考えている。
 クライアントよりは、第三者からの攻撃に強いサーバの方がかかる認証を正しく行える可能性が高いと思われるし、また、サーバの方がクライアントよりも相手方の認証を正しく行える可能性が高いかどうかをひとまず置くとしても、クライアントとサーバの双方が相手方の認証を行った方が通信の安全性が高まるのは自明であろう。したがって、サーバにおいても、クライアントの認証を行うべきだというのが本願発明者の考えである。しかしながら、従来のSSLは、サーバ証明書、ルート証明書等を用いてサーバの認証を行うという方向で長年発展してきているため、かかる仕組みを変える或いは壊すのはあまりにも手間、コストがかかる。他方、かかる仕組みに簡単に応用することができるサーバにおけるクライアントの認証の仕組みというのは今のところ提案されていない。
 本願発明者が提案する本願発明は、そのような仕組みに関する。
 かかる課題を解決するため、本願発明者は、以下に説明する発明を提案する。
 本願発明は、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、を含んで構成されるSSL通信システムで実行されるSSL通信方法である。かかる通信方法は、現在普及しているSSL通信の進化版或いは改良版と捉えることができる。なお、本願におけるネットワークは、典型的にはインターネットである。
 そして、本願発明は、以下の過程を含む。
 本願発明は、前記クライアントが、その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取る過程、前記サーバが、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取る過程、前記クライアントが、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、前記サーバ証明書が正当なものと認証された場合に、前記クライアントが、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、前記クライアントが、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記暗号化された共通鍵を受取る過程、前記サーバが、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバと、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、を含んでいる。
 本願発明における上述の過程のうちの最後の過程、つまり、「以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバと、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程」は、現在のSSL通信の場合における(3)の処理に相当する。
 また、本願発明に含まれる各過程のうち、最後の過程の前に位置する「前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取る過程、」、「前記クライアントが、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、」、「前記サーバ証明書が正当なものと認証された場合に、前記クライアントが、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、」、「前記クライアントが、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、」、「前記サーバが、前記暗号化された共通鍵を受取る過程、」、「前記サーバが、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、」という過程は、現在のSSL通信の場合における(2)のb~eに相当する。
 現在のSSL通信と共通する上述の過程は、必ずしもそうする必要はないが、現在用いられているSSL通信における処理を、完全に踏襲することが可能である。特に、現在非常に大きな金銭が動くビジネスとして大きく広まっている公開鍵が埋め込まれたサーバ証明書、或いはサーバ証明書の正当性を判断するためのSSL証明書(ルート証明書を含む)をそのまま使用するということまで考慮すれば、本願発明は、現在のSSL通信と親和性が高く、現在のSSL通信に応用するのが容易である。
 他方、本願発明は、そのセキュリティ性が高い。その理由について説明する。
 この発明では、クライアントとサーバとで、解生成手段が用いられるというのが特徴的である。クライアントとサーバとで用いられる解生成手段は同じものでも同じものでなくても構わないが、少なくとも、共通条件下で生成されたもの同士を比較すれば同じものとなる解を連続して生成することのできるものである。解生成手段には、例えば、ワンタイムパスワードの技術を流用することができる。ワンタイムパスワードには、2つの解生成手段で生成されたワンタイムパスワードの同じ順番で生成されたもの同士を比較した場合に両者が同じになるもの、2つの解生成手段で同じ時刻で生成されたもの同士を比較した場合に両者が同じになるもの等の幾つかの方式があるが、ワンタイムパスワードの技術を流用するのであれば、この発明で用いられる解生成手段はそれらのどれでも構わない。
 本願発明では、クライアントが、その解生成手段で解を生成させ、その解を前記ネットワークを介してサーバに送信する。その解はサーバにより受取られる。この解は、サーバにおけるクライアントの認証に使用される。
 具体的には、サーバは、クライアントから解を受取ると、その解生成手段でクライアントの解生成手段で解が生成されたのと同一条件下で解を生成させる。そして、サーバの解生成手段で生成した解と、クライアントから受取った解とを比較して、両者が一致した場合には、クライアントを正当なものと認証する。上述したように、サーバとクライアントにある解生成手段は、少なくとも、共通条件下で生成されたもの同士を比較すれば同じものとなる解を連続して生成することのできるものである。したがって、解を生成する際の条件が、サーバとクライアントとの間で、或いはサーバの解生成手段とクライアントの解生成手段との間で共有されているのであれば、サーバの解生成手段とクライアントの解生成手段とは、同じ解を生成することができ、言葉を変えれば生成される解を同期させることができる。
 本願発明では、そのような解の同期がなされていれば、クライアントは正当なものであると認証するわけである。
 サーバにおけるクライアントの正当性の認証は、従来のSSL通信の場合と同様に、サーバ証明書とSSL証明書とによって行える。解生成手段という簡単な仕組みをサーバとクライアントに配し、サーバによるクライアントの認証をも行うことにより、SSL通信は、サーバとクライアントとが双方向で相手方を認証できるものに進化する。しかも、サーバとクライアントとがどのような条件下で解を生成するのかということは、基本的に悪意の第三者にはわからない。したがって、本願のこのSSL通信による暗号化通信は、従来よりもより安全性の高いものとなる。
 本願発明は、クライアントで実行される通信方法と捉えることもできる。かかる通信方法の効果は上記のとおりである。
 その方法は例えば、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、を含んで構成される暗号化通信システムの前記クライアントで実行されるSSL通信方法である。
 そしてこの通信方法は、前記クライアントが実行する、以下の過程を含む。
 その過程は、その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取る過程、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、前記サーバ証明書が正当なものと認証された場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記暗号化された共通鍵を受取り、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する処理を実行することにより前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバとの間で、共通鍵方式の暗号化通信を行う過程、である。
 本願発明は、サーバで実行される通信方法と捉えることもできる。かかる通信方法の効果は上記のとおりである。
 その方法は例えば、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、を含んで構成される暗号化通信システムの前記サーバで実行されるSSL通信方法である。
 そしてこの通信方法は、前記サーバが実行する、以下の過程を含む。
 その過程は、前記クライアントが、その解生成手段で解を生成させ、前記ネットワークを介して送ってきた前記解を受取る過程、前記サーバの解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取り、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する処理を行った場合に、前記暗号化された共通鍵を受取る過程、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、である。
 本願発明は、サーバとの組合せにより、暗号化通信システムを構成するための、ネットワークに接続可能とされたクライアントと捉えることもできる。かかるクライアントの効果は上記のとおりである。
 クライアントは例えば、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできるサーバ解生成手段と、公開鍵による暗号化がなされたデータに対して秘密鍵による復号化を行うことができる秘密鍵復号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるサーバ第2暗号化復号化手段と、を有しているものと、の組合せにより、SSL暗号化通信システムを構成するための、前記ネットワークに接続可能とされたクライアントである。
 そして、クライアントは、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバ解生成手段で生成されたものと同じものとなる解を連続して生成することのできるクライアント解生成手段と、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みることのできるクライアント認証手段と、前記公開鍵を用いて暗号化を行うことのできる公開鍵暗号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるクライアント第2暗号化復号化手段と、を備えている。
 そして、このクライアントは、前記クライアント解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信するようになっており、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、前記サーバ解生成手段で前記クライアント解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバ解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取るようになっており、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記クライアント認証手段が前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合には、前記公開鍵暗号化手段は、前記クライアントが持つ共通鍵を暗号化するようになっているとともに、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信するようになっており、前記サーバが、受取った前記暗号化された共通鍵を前記秘密鍵を用いて前記秘密鍵復号化手段により復号化するようになっており、以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバ第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うとともに、前記クライアント第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うことで、前記サーバとの間で共通鍵方式の暗号化通信を行うようになっている。
 かかるクライアントは、以下のようなものとすることができる。
 その場合、前記サーバは、前記サーバ解生成手段で生成された解を用いた暗号化を行うことができるサーバ第1暗号化復号化手段を備えているとともに、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するに先立って、前記サーバ解生成手段で予め定められた条件下で2つ目或いはそれ以降の解を生成するとともに、前記サーバ解生成手段で生成された前記解を用いて、前記サーバ第1暗号化復号化手段により、前記サーバ証明書及び前記SSL証明書を暗号化させ、その暗号化された前記サーバ証明書及び前記SSL証明書を、前記クライアントに送信するようになっている。
 そして、そのようなサーバと組合せて用いられるクライアントは、前記クライアント解生成手段で生成された解を用いて、同じ解が用いられる場合には前記サーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるクライアント第1暗号化復号化手段を備えており、前記クライアント解生成手段は、前記クライアントが暗号化された前記サーバ証明書及び前記SSL証明書を受取った場合には、前記サーバで前記サーバ証明書及び前記SSL証明書を暗号化するときに用いられた解が前記サーバ解生成手段で生成されたときと同じ条件下で2つ目或いはそれ以降の解を生成するようになっているとともに、前記クライアント第1暗号化復号化手段は、前記クライアント解生成手段が生成した前記2つ目或いはそれ以降の解を用いて、暗号化された前記サーバ証明書及び前記SSL証明書を復号化するようになっている。
 このクライアントでは、サーバ証明書及びSSL証明書は、サーバからクライアントへ送られるときに、暗号化された状態で送られる。これにより、このサーバ及びクライアントを用いて実行される暗号化通信は、より第三者による盗聴の可能性が低いものとなる。その理屈について説明する。
 この場合のサーバは、サーバ解生成手段で生成された解を用いた暗号化を行うことができるサーバ第1暗号化復号化手段を備えている。また、この場合のサーバでは、クライアントが正当だとの認証がサーバ認証手段で行われた場合に、サーバのサーバ解生成手段で予め定められた条件下で2つ目或いはそれ以降の解が生成されるようになっている。サーバ第1暗号化復号化手段は、上記解を用いてサーバ証明書及びSSL証明書を暗号化する。
 他方、この場合のクライアントは、クライアント解生成手段で生成された解を用いて、同じ解が用いられる場合にはサーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるクライアント第1暗号化復号化手段を備えている。クライアントが暗号化されたサーバ証明書及びSSL証明書をサーバから受取った場合、クライアント解生成手段は、サーバでサーバ証明書及び前記SSL証明書を暗号化するときに用いられた解がサーバ解生成手段で生成されたときと同じ条件下で2つ目或いはそれ以降の解を生成するようになっている。そして、それにより生成された解を用いて、クライアント第1暗号化復号化手段は、暗号化されたサーバ証明書及びSSL証明書を復号化する。
 上述のように、クライアント解生成手段で生成される解は、サーバ証明書及びSSL証明書を暗号化するためにサーバ解生成手段で生成された解と同条件下で生成されたものであるから、サーバ解生成手段でサーバ証明書及びSSL証明書を暗号化するために生成された解と、クライアント第1暗号化復号化手段で暗号化されたサーバ証明書及びSSL証明書を復号化するためにクライアント解生成手段で生成される解とは同じものとなる。他方、クライアント第1暗号化復号化手段は、同じ解が用いられる場合にはサーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるようになっているので、暗号化された解との同一性が担保された解を用いる限り、クライアント第1暗号化復号化手段は、暗号化されたサーバ証明書及びSSL証明書を復号化することができる。これは、第三者による何らかの妨害がない限り、保証される。
 ところで、サーバにおけるサーバ第1暗号化復号化手段による暗号化、及びクライアントにおけるクライアント第1暗号化復号化手段による復号化はともに、解によってその結果が変わる。つまり、これら暗号化と復号化には解依存性がある。したがって、第三者が、暗号化された状態でネットワーク上を送信されているサーバ証明書及びSSL証明書の内容を知ろうと思うのであれば、その解の内容を知る必要がある。しかしながら、上述のように、暗号化、復号化の際に用いられる上述の解は、サーバ又はクライアントの中にのみ存在し、ネットワーク上を送信されない。したがって、悪意のある第三者は、暗号化、復号化の際に用いられる上述の解を知ることができず、結果として、暗号化された状態でネットワーク上を送信されているサーバ証明書及びSSL証明書の内容を知ることができない。従来のSSL通信における悪意のある第三者によるサーバ証明書及びSSL証明書の改竄の典型的なものは、送信途中のサーバ証明書及びSSL証明書を盗むことによるものである。それを防げるため、この発明による暗号化通信の強度は極めて高いと言える。
 なお、この発明では、上述のように、サーバにおけるサーバ第1暗号化復号化手段による暗号化、及びクライアントにおけるクライアント第1暗号化復号化手段による復号化はともに、解依存性がある。かかる解依存性を上記暗号化、復号化に持たせるには、解を例えば、暗号化、復号化の際の鍵として用いることができる。
 本願発明では、サーバとクライアントとが、クライアントからサーバに送られた解の後に、どのような条件下で生成された解(例えば、幾つめの解)をサーバ証明書及びSSL証明書の暗号化と復号化に用いるかは、サーバとクライアントの間で最初から決定しておけばよい。例えば、クライアントからサーバに送られた解の次に両者で発生された解を用いるとか、5番目に発生した解を用いるとか、そういう取極めを両者の間で予めしておくことができる。暗号化と復号化とに、共通の複数の解を用いることも可能であり、それにより第三者にサーバ証明書及びSSL証明書を盗まれる可能性をより低くすることができるようになる。
 サーバからクライアントへ、暗号化した状態でサーバ証明書及びSSL証明書を送るようにする場合には、更に暗号化していない状態のサーバ証明書をもサーバからクライアントへ送るようにすることができる。
 その場合、前記サーバは、前記サーバ第1暗号化復号化手段により暗号化された前記サーバ証明書を前記クライアントに送信するようになっているのに加えて、暗号化されていない状態の前記サーバ証明書を前記クライアントに送信するようになっている。この場合、前記クライアント第1暗号化復号化手段により復号化された前記サーバ証明書と、前記サーバから暗号化されずに送信されてきた前記サーバ証明書とが同一であった場合にのみ、前記クライアント認証手段は、前記サーバから送られてきた前記サーバ証明書が正当なものか否かの認証を実行するようになっていてもよい。第三者の攻撃がなければ、暗号化されてサーバからクライアントへ送られたサーバ証明書と暗号化しないでサーバからクライアントへ送られたサーバ証明書とは一致するはずである。両者が一致した場合にのみクライアント認証手段がサーバ証明書の正当性の認証を改めて行うこととすれば、第三者による改竄のないサーバ証明書のみをクライアントは認証の対象とすることができるようになる。なお、この場合には、暗号化していないサーバ証明書に加えて暗号化していないSSL証明書をもサーバからクライアントへ送り、且つ暗号化してサーバからクライアントへ送られたサーバ証明書とSSL証明書のすべてが、暗号化せずにサーバからクライアントへ送られたサーバ証明書とSSL証明書のすべてと一致した場合のみ、クライアント認証手段がサーバ証明書の適正さについての認証を実行するようになっていても構わない。
 本願発明は、クライアントとの組合せにより、暗号化通信システムを構成するための、ネットワークに接続可能とされたサーバと捉えることもできる。かかるサーバの効果は上記のとおりである。
 サーバは例えば、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできるサーバ解生成手段と、公開鍵による暗号化がなされたデータに対して秘密鍵による復号化を行うことができる秘密鍵復号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるサーバ第2暗号化復号化手段と、を有しており、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバ解生成手段で生成されたものと同じものとなる解を連続して生成することのできるクライアント解生成手段と、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みることのできるクライアント認証手段と、前記公開鍵を用いて暗号化を行うことのできる公開鍵暗号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるクライアント第2暗号化復号化手段と、を有している、前記ネットワークに接続可能とされたクライアントと、の組合せにより、SSL暗号化通信システムを構成するための、前記ネットワークに接続可能とされたサーバである。
 そして、このサーバは、前記クライアントの正当性を認証するためのサーバ認証手段を備えており、前記クライアントは、前記クライアント解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信するようになっており、前記サーバ解生成手段は、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取ったときに、前記クライアント解生成手段で解が生成されたのと同一条件下で解を生成するようになっているとともに、前記サーバ認証手段は、前記サーバ解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するようになっており、前記クライアントが正当だとの認証が前記サーバ認証手段で行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するようになっており、前記クライアントは、前記サーバ証明書及び前記SSL証明書を受取るとともに、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記クライアント認証手段により前記サーバから送られてきた前記サーバ証明書が正当か否か判定し、前記サーバ証明書を正当なものと認証した場合には、前記公開鍵暗号化手段で、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信するようになっており、前記サーバが、受取った前記暗号化された共通鍵を前記秘密鍵を用いて前記秘密鍵復号化手段により復号化するようになっており、以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバ第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うとともに、前記クライアント第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うことで、前記クライアントとの間で共通鍵方式の暗号化通信を行うようになっている。
 かかるサーバは、以下のようなものとすることができる。
 この場合のサーバは、前記サーバ解生成手段で生成された解を用いた暗号化と復号化を行うことができるサーバ第1暗号化復号化手段を備えているとともに、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するに先立って、前記サーバ解生成手段で予め定められた条件下で2つ目或いはそれ以降の解を生成するとともに、前記サーバ解生成手段で生成された前記解を用いて、前記サーバ第1暗号化復号化手段により、前記サーバ証明書及び前記SSL証明書を暗号化させ、その暗号化された前記サーバ証明書及び前記SSL証明書を、前記クライアントに送信するようになっている。
 かかるサーバは、前記クライアントは、前記クライアント解生成手段で生成された解を用いて、同じ解が用いられる場合には前記サーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるクライアント第1暗号化復号化手段を備えており、前記クライアント解生成手段は、クライアントが暗号化された前記サーバ証明書及び前記SSL証明書を受取った場合には、前記サーバで前記サーバ証明書及び前記SSL証明書を暗号化するときに用いられた解が前記サーバ解生成手段で生成されたときと同じ条件下で2つ目或いはそれ以降の解を生成するようになっているとともに、前記クライアント第1暗号化復号化手段は、前記クライアント解生成手段が生成した前記2つ目或いはそれ以降の解を用いて、暗号化された前記サーバ証明書及び前記SSL証明書を復号化するようになっている、クライアントと組合せて用いられる。
 かかるサーバは、上述したサーバ証明書及びSSL証明書を暗号化してサーバからクライアントに送る場合におけるサーバであり、その効果は既に述べたとおりである。
 この場合のサーバは、前記サーバ第1暗号化復号化手段により暗号化された前記サーバ証明書を前記クライアントに送信するようになっているのに加えて、暗号化されていない状態の前記サーバ証明書を前記クライアントに送信するようになっていてもよい。この場合、前記クライアントでは、前記クライアント第1暗号化復号化手段により復号化された前記サーバ証明書と、前記サーバから暗号化されずに送信されてきた前記サーバ証明書とが同一であった場合にのみ、前記クライアント認証手段が、前記サーバから送られてきた前記サーバ証明書が正当なものか否かの認証を実行するようになっていてもよい。これは、サーバからクライアントへ、暗号化した状態でサーバ証明書及びSSL証明書を送るようにするのに加えて、更に暗号化していない状態のサーバ証明書をもサーバからクライアントへ送るようにすることに相当する。これによる効果は既に述べた通りである。
 本願発明は、汎用のコンピュータを、本願発明のクライアントとして機能させるためのコンピュータプログラムとして捉えることもできる。かかるコンピュータプログラムの効果は上記のとおりである。
 そのコンピュータプログラムは例えば、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、を含んで構成される暗号化通信システムの前記クライアントとして、コンピュータを機能させるためのコンピュータプログラムである。
 そしてこのコンピュータプログラムは、前記コンピュータに以下の過程を実行させるためのものである。
 その過程は、その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取る過程、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、前記サーバ証明書が正当なものと認証された場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、前記サーバが、前記暗号化された共通鍵を受取り、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する処理を実行することにより前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバとの間で、共通鍵方式の暗号化通信を行う過程、である。
 本願発明は、汎用のコンピュータを、本願発明のサーバとして機能させるためのコンピュータプログラムとして捉えることもできる。かかるコンピュータプログラムの効果は上記のとおりである。
 そのコンピュータプログラムは例えば、所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、を含んで構成される暗号化通信システムの前記サーバとして、コンピュータを機能させるためのコンピュータプログラムである。
 そしてこのコンピュータプログラムは、前記コンピュータに以下の過程を実行させるためのものである。
 その過程は、前記クライアントが、その解生成手段で解を生成させ、前記ネットワークを介して送ってきた前記解を受取る過程、前記サーバの解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取り、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する処理を行った場合に、前記暗号化された共通鍵を受取る過程、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、である。
 コンピュータを本願発明のクライアントとして機能させるための上述のコンピュータプログラムは、前記共通鍵方式の暗号化通信を行う場合の暗号化と復号化を、クライアントを構成する前記コンピュータ上における、前記コンピュータ上で実行される暗号化の対象となる平文のデータを扱う所定のアプリケーションと、TCP/IPとの間で実行させるようになっているとともに、前記アプリケーションで生成された平文を暗号化してから前記サーバに送信するために前記TCP/IPに渡し、前記TCP/IPから渡された前記サーバから送られてきた暗号化されたデータを平文に復号化してから前記アプリケーションに渡すようになっていてもよい。
 現在のSSL通信のコンピュータプログラムは、アプリケーションと、TCP/IPとの間で暗号化と復号化とを行うようになっている。上述の如きコンピュータプログラムであれば、現在のSSL通信用のコンピュータプログラムに置換するのが容易である。
 コンピュータを本願発明のサーバとして機能させるための上述のコンピュータプログラムは、前記共通鍵方式の暗号化通信を行う場合の暗号化と復号化を、サーバを構成する前記コンピュータ上における、前記コンピュータ上で実行される暗号化の対象となる平文のデータを扱う所定のアプリケーションと、TCP/IPとの間で実行させるようになっているとともに、前記アプリケーションで生成された平文を暗号化してから前記クライアントに送信するために前記TCP/IPに渡し、前記TCP/IPから渡された前記クライアントから送られてきた暗号化されたデータを平文に復号化してから前記アプリケーションに渡すようになっていてもよい。
 これによっても、本願発明の上記コンピュータプログラムで、現在のSSL通信用のコンピュータプログラムを置換するのが容易になる。
第1実施形態によるSSL通信システムの全体構成を示す図。 図1に示したSSL通信システムに含まれるクライアントの外観を示す図。 図1に示したSSL通信システムに含まれるクライアントのハードウェア構成を示す図。 図1に示したSSL通信システムに含まれるクライアントの内部に生成される機能ブロックを示すブロック図。 図4に示した暗号化復号化部の内部に生成される機能ブロックを示すブロック図。 図1に示したSSL通信システムに含まれるサーバの内部に生成される機能ブロックを示すブロック図。 図6に示した暗号化復号化部の内部に生成される機能ブロックを示すブロック図。 図1に示したSSL通信システムで通信が行われるときに実行される処理の流れを示す図。 第2実施形態のクライアントの暗号化復号化部の内部に生成される機能ブロックを示す図。 第2実施形態のサーバの暗号化復号化部の内部に生成される機能ブロックを示す図。 第2実施形態のSSL通信システムで通信が行われるときに実行される処理の流れを示す図。 第3実施形態のSSL通信システムで通信が行われるときに実行される処理の流れを示す図。
 以下、本発明の第1~第3実施形態について説明する。各実施形態の説明で同じ対象には同一の符号を付すものとし、重複する説明は場合により省略するものとする。
≪第1実施形態≫
 図1に、第1実施形態のSSL通信システムの全体構成を概略で示す。
 SSL通信システムは、複数のクライアント100-1~100-N(以後、単に、「クライアント100」と記載する場合もある。)、及びサーバ200を含んで構成されている。これらはすべて、ネットワーク400に接続可能とされている。
 ネットワーク400は、これには限られないが、この実施形態ではインターネットである。
 クライアント100は、コンピュータを含んでいるか、汎用のコンピュータにより構成されている。
 次に、クライアント100の構成を説明する。各クライアント100-1~100-Nの構成は、本願発明との関連でいえば同じである。
 クライアント100は、携帯電話、スマートフォン、タブレット、ノート型パソコン、デスクトップ型パソコン等である。それらはすべて、ネットワーク400を介しての通信が可能なものであり、また後述するコンピュータプログラムをインストールすることによって後述する機能ブロックをその内部に生成し、そして後述する処理を実行できるものであることが求められ、それが可能であるのであればそれ以外の仕様は特に問わない。
 例えば、クライアント100がスマートフォンかタブレットなのであれば、スマートフォンとしてのクライアント100は例えば、Apple Japan合同会社が製造、販売を行うiPhoneで良いし、タブレットとしてのクライアント100は例えば、Apple Japan合同会社が製造、販売を行うiPadでよい。以下、これには限られないが、クライアント100がスマートフォンであることとして話を進める。
 クライアント100の外観の一例を図2に示す。
 クライアント100は、ディスプレイ101を備えている。ディスプレイ101は、静止画又は動画を表示するためのものであり、公知、或いは周知のものを用いることができる。ディスプレイ101は例えば、液晶ディスプレイである。クライアント100は、また入力装置102を備えている。入力装置102は、ユーザが所望の入力をクライアント100に対して行うためのものである。入力装置102は、公知或いは周知のものを用いることができる。この実施形態におけるクライアント100の入力装置102はボタン式のものとなっているが、これには限られず、テンキー、キーボード、トラックボール、マウスなどを用いることも可能である。特に、クライアント100がノート型パソコン、デスクトップ型パソコンである場合には、入力装置102はキーボードや、マウス等になるであろう。また、ディスプレイ101がタッチパネルである場合、ディスプレイ101は入力装置102の機能を兼ねることになり、この実施形態ではそうされている。
 クライアント100のハードウェア構成を、図3に示す。
 ハードウェアには、CPU(central processing unit)111、ROM(read only memory)112、RAM(random access memory)113、インターフェイス114が含まれており、これらはバス116によって相互に接続されている。
 CPU111は、演算を行う演算装置である。CPU111は、例えば、ROM112、或いはRAM113に記録されたコンピュータプログラムを実行することにより、後述する処理を実行する。図示をしていないが、ハードウェアはHDD(hard disk drive)その他の大容量記録装置を備えていてもよく、コンピュータプログラムは大容量記録装置に記録されていても構わない。
 ここでいうコンピュータプログラムには、本願発明のクライアントとしてこのクライアント100を機能させるためのコンピュータプログラムが少なくとも含まれる。このコンピュータプログラムは、クライアント100にプリインストールされていたものであっても良いし、事後的にインストールされたものであっても良い。このコンピュータプログラムのクライアント100へのインストールは、メモリカード等の所定の記録媒体を介して行なわれても良いし、LAN或いはインターネットなどのネットワークを介して行なわれても構わない。
 ROM112は、CPU111が後述する処理を実行するために必要なコンピュータプログラムやデータを記録している。ROM112に記録されたコンピュータプログラムとしては、これに限られず、クライアント100がスマートフォンであれば、クライアント100をスマートフォンとして機能させるために必要な、例えば、通話や電子メールを実行するためのコンピュータプログラムやデータが記録されている。クライアント100は、また、ネットワーク400を介して受取ったデータに基づいて、ホームページを閲覧することも可能とされており、それを可能とするための公知のwebブラウザを実装している。
 RAM113は、CPU111が処理を行うために必要なワーク領域を提供する。
 インターフェイス114は、バス116で接続されたCPU111やRAM113等と外部との間でデータのやり取りを行うものである。インターフェイス114には、上述のディスプレイ101と、入力装置102とが接続されている。入力装置102から入力された操作内容は、インターフェイス114からバス116に入力されるようになっている。また、周知のようにディスプレイ101に画像を表示するための画像データは、インターフェイス114から、ディスプレイ101に出力されるようになっている。インターフェイス114は、また、インターネットであるネットワーク400を介して外部と通信を行うための公知の手段である送受信機構(図示を省略)に接続されており、それにより、クライアント100は、ネットワーク400を介してデータを送信することと、ネットワーク400を介してデータを受信することとが可能になっている。かかるネットワーク400を介してのデータの送受信は、有線で行われる場合もあるが無線で行われる場合もある。例えば、クライアント100がスマートフォンである場合には、かかる通信は無線で行われるのが通常であろう。それが可能な限り、送受信機構の構成は、公知或いは周知のものとすることができる。送受信機構がネットワーク400から受取ったデータは、インターフェイス114により受取られるようになっており、インターフェイス114から送受信機構にわたされたデータは、送受信機構によって、ネットワーク400を介して外部、例えば、サーバ200に送られるようになっている。
 CPU111がコンピュータプログラムを実行することにより、クライアント100内部には、図4で示されたような機能ブロックが生成される。なお、以下の機能ブロックは、クライアント100を本願発明のクライアントとして機能させるための上述のコンピュータプログラム単体の機能により生成されていても良いが、上述のコンピュータプログラムと、クライアント100にインストールされたOSその他のコンピュータプログラムとの協働により生成されても良い。
 クライアント100内には、本願発明の機能との関係で、アプリケーション121と、暗号化復号化部122と、送受信部123とが生成される。
 もっとも、これらのうちアプリケーション121は、公知のブラウザのソフトウェア、電子メールのソフトウェア等であり、また、送受信部123はネットワーク400を介してのデータの送受信を行うソフトウェアであって、いずれもが本願発明でいうコンピュータプログラムの機能によって生成されるものではない。
 アプリケーション121は、クライアント100からサーバ200に暗号化して送られるデータの元となる暗号化されていないデータを生成するものであり、またサーバ200からクライアント100へ暗号化して送られたデータを復号化してから使用するものである。そのようなものである限り、アプリケーション121は上で例示したものに限られない。アプリケーション121はインターフェイス114と接続されており、インターフェイス114を介して受取る入力装置102からの操作内容に関するデータにしたがって動作する。アプリケーション121はその動作の結果、暗号化してネットワーク400を介してサーバ200に送るべき平文のデータを生成する。このデータは暗号化復号化部122に送られるようになっている。アプリケーション121は、また、動作の結果、例えば上述した画像データを生成する。画像データはインターフェイス114に送られ、そこからディスプレイ101に送られるようになっている。
 また、送受信部123は、サーバ200等とネットワーク400を介して送受信を行う機能ブロックであって、例えば相手装置の宛先を決定したり、送信されるデータに所定の内容を書き込んだりという、公知、周知の機能を有している。送受信部123は、少なくともTCP/IPを用いてネットワーク400を介しての通信を行えるようになっている。送受信部123は、送受信機構がネットワーク400から受取ったデータをインターフェイス114を介して受取る。送受信部123は、インターフェイス114を介して送受信機構から受取ったデータを暗号化復号化部122へ送るようになっている。また、送受信部123は、暗号化復号化部122からデータを受取る場合がある。送受信部123はその暗号化復号化部122から受取ったデータをインターフェイス114に送り、送受信機構からネットワーク400を介してサーバ200へ送るようになっている。
 暗号化復号化部122は、簡単にいうと、送受信部123から受取ったデータのうち必要なものに復号化の処理を行い、また、アプリケーション121から受取ったデータのうちの必要なものに対して暗号化の処理を行う機能を有するとともに、サーバ200とクライアント100の互いの認証のために必要な処理を行うものである。つまり、暗号化復号化部122は、本願発明におけるクライアント100とサーバ200の間の暗号化通信の中心的な役割を担うものであり、本願発明のコンピュータをクライアントとして機能させるためのコンピュータプログラムにより、クライアント100内に生成されるものであると言える。
 また、暗号化復号化部122には、入力装置102から入力された操作内容についてのデータが、インターフェイス114を介して入力される場合がある。
 暗号化復号化部122の中には入力部122A、主制御部122B、クライアント解生成部122C、解データ記録部122D、クライアント第1暗号化復号化部122E、クライアント第2暗号化復号化部122F、出力部122G、認証部122H、及び公開鍵暗号化部122Iが生成される(図5)。
 入力部122Aは、インターフェイス114又はアプリケーション121からデータを受取るものである。インターフェイス114を介して入力装置102から操作内容についてのデータが入力された場合には、入力部122Aは、それを主制御部122Bに送るようになっている。また、入力部122Aには後述するように、サーバ200から送られてきた暗号化されたデータ、それも共通鍵で暗号化されたデータが、インターフェイス114、送受信部123を介して送られてくることがある。そのデータを受取ったら入力部122Aは、それをクライアント第2暗号化復号化部122Fに送るようになっている。入力部122Aには、また、後述するように、サーバ200から暗号化された状態で送られてきたサーバ証明書及びSSL証明書のデータが、インターフェイス114、送受信部123を介して入力される場合がある。かかるデータを受取ったら入力部122Aは、それをクライアント第1暗号化復号化部122Eに送るようになっている。入力部122Aはまた、アプリケーション121から送られてきたデータを受取ることがある。このデータは後述するように、暗号化してからサーバ200に送られることを意図したものであるが、このデータを受取ったら入力部122Aは、そのデータをクライアント第2暗号化復号化部122Fに送るようになっている。
 主制御部122Bは、暗号化復号化部122全体の制御を行うものである。主制御部122Bは上述のように、入力部122Aから操作内容についてのデータを受取る場合があり、それを受取った場合には、それに基づいた指示を適宜暗号化復号化部122内の機能ブロックに送るようになっている。例えば、あるデータを受取った場合、主制御部122Bは、クライアント解生成部122Cに対して解を生成せよとの指示を送るようになっている。
 また、主制御部122Bは、予めインストールされた、SSL証明書を保持している。SSL証明書は、従来からのものと同じでよく、認証局の情報が記載され、その認証局の公開鍵が埋め込まれており、またそのSSL証明書の正当性を証明するための、そのSSL証明書を発行した認証局の電子署名(SSL証明書がルート証明書である場合には、ルート認証局自体の電子署名)が付されている。SSL証明書は、後述するようなタイミングで認証部122Hに送られるようになっている。SSL証明書は、アプリケーション(例えばブラウザ)にプリインストールされているか、或いは各ユーザが自分でアプリケーションに組込む。なお、主制御部122Bに存在するSSL証明書は、従来のSSL通信の場合と同様1つとは限らない。
 主制御部122Bは、また、共通鍵を生成できるようになっている。共通鍵は、必要になる都度主制御部122Bが生成する。主制御部122Bが共通鍵を生成する方法は、周知又は公知技術によれば良い。主制御部122Bは、生成した共通鍵を、公開鍵暗号化部122Iに送るようになっている。この実施形態における主制御部122Bは、後述のように認証部122Hから公開鍵を受取る場合がある。公開鍵を受取った主制御部122Bは、共通鍵を、公開鍵とともに公開鍵暗号化部122Iに送るようになっている。なお、主制御部122Bは、共通鍵を必要となる度に生成するのではなく、1つの固定の共通鍵を持っており必要となる度に公開鍵暗号化部122Iに送るようになっていても構わない。
 クライアント解生成部122Cは、解を連続して生成することのできるものとされている。解は、数字、文字、記号の少なくとも1つの羅列である。後述するように、サーバ200にはサーバ解生成部が存在し、サーバ解生成部も連続して解を生成するようになっているが、サーバ解生成部が生成する解と、クライアント解生成部122Cが生成する解とを比較した場合、共通条件下で生成された解同士を比較すれば両者は常に一致するようになっている。簡単に言えば、クライアント解生成部122Cと、サーバ解生成部とは同期されており、或いはクライアント解生成部122Cで生成される解と、サーバ解生成部で生成される解とは同期されている。それが可能な限り、クライアント解生成部122C及びサーバ解生成部で解を生成する方法はどのようなものでもよい。
 クライアント解生成部122Cとサーバ解生成部で解を生成する方法が、上述の条件が充足される限りどのようなものでもよいのは既に述べたとおりである。そのような技術は既に、ワンタイムパスワードの生成の技術として完成し、実用されている。クライアント解生成部122C及びサーバ解生成部では、そのような技術を流用することができる。サーバ解生成部でも同じであるからクライアント解生成部122Cについてのみに言及するが、より詳細には、クライアント解生成部122Cは、例えば、ある初期値に対して決められた演算を行うことで解を得て、次いでその解に対して再び決められた演算を行うことで次の解を得て、次いでその解に対して再び決められた演算を行うことで次の解を得て…、という処理を繰り返すことで、連続して解を生成するものとすることができる。このような技術は、擬似乱数を生成するための技術として周知である。
 解を生成するより具体的な方法について説明する。
 解を生成するには、ある初期値(以下の、(a)、(c)のように2つ以上の場合もある)を用い、過去の値を所定の関数に代入することにより、新しい値を順次作るという方法を、解が必要となる度に実行すれば良い。そうすることにより、上記解を連続して生成することができる。この場合の解は、初期値依存性のある擬似乱数となる。
 上述の解を作るのに使われる関数の例として、以下の(a)~(c)を挙げる。以下の(a)~(c)はいずれも、N番目の解であるXを作るための式である。また、P、Q、R、Sは自然数である。
(a)(X)=(XN-1+(XN-2
(b)(X)=(XN-1
(c)(X)=(XN-1(XN-2(XN-3R(XN-4S
 (a)は、過去の解2つを用い、それらをそれぞれP乗とQ乗したものを足し合わせることにより、新しい解を生成する。なお、正確には、過去の解2つを用い、それらをP乗とQ乗したものを足し合わせると通常、桁数が増えるため、実際には得られた値のうちの頭から適当な桁数を抜き出す、末尾から適当な桁数を抜き出す、或いはその値のうちの適当な部分から適当な桁数を抜き出すこと等により、新しい解を生成する。
 (b)は、過去の解1つを用い、それをP乗したものの桁数を上述のように整理したものを新しい解とするものである。
 (c)は、過去の解4つを用い、それらをそれぞれP乗、Q乗、R乗、S乗したものの積を取り、その後上述したように桁数を整理したものを新しい解とするものである。
 上述の(a)~(c)は解を生成するためのアルゴリズムの一例であり、解を生成する際にアルゴリズムに変化を加える、例えば、上述の(a)~(c)を順番に用いる等の変化を加えることも可能である。また、上述の解に、時間依存性を与えれば、つまりそのときの時刻に合わせた変化を加えるようにすることもできる。
 いずれにせよ、サーバ200にあるサーバ解生成部と、クライアント解生成部122Cとは、上述の如く、解を同期させられるようにされている。
 これには限られないが、この実施形態のクライアント解生成部122Cは上記(a)のアルゴリズムを用いて解を生成することとしている。その場合、新しい解を生成するには、初期値乃至過去の解が必要となる。解データ記録部122Dには当初初期値が記録されており、クライアント解生成部122Cが新しい解を生成するたびに、初期値が新しい解により上書きされ、その新しい解が更に新しい解により上書きされるようになっている。解データ記録部122Dには、このように初期値又は解が記録されており、クライアント解生成部122Cは新しい解を生成するたびに、解データ記録部122Dから新しい解を読みだすようになっている。
 クライアント解生成部122Cは、また、解を生成した場合、それをクライアント第1暗号化復号化部122E又は出力部122Gに送るようになっている。
 クライアント第1暗号化復号化部122Eは、暗号化、復号化の処理を行えるようになっている。もっとも、この実施形態では、後述するように少なくとも復号化の処理を行えれば足りる。クライアント第1暗号化復号化部122Eは、サーバ200の後述するサーバ第1暗号化復号化部で暗号化されたデータを少なくとも復号化できるようになっている。クライアント第1暗号化復号化部122Eでの暗号化、復号化には、解が使われる。上述のようにクライアント解生成部122Cで生成された解はクライアント解生成部122Cからクライアント第1暗号化復号化部122Eに送られるが、その解はクライアント第1暗号化復号化部122Eで上述の復号化が行われる際に使用される。他方、クライアント第1暗号化復号化部122Eには、入力部122Aから暗号化されたサーバ証明書及びSSL証明書のデータが送られてくる。このサーバ証明書及びSSL証明書のデータは、後述するようにサーバ200から送られてくるものであり、これも後述するようにサーバ200のサーバ第1暗号化復号化部で暗号化されたものである。後述するように、クライアント第1暗号化復号化部122Eは、この暗号化されたサーバ証明書及びSSL証明書のデータを、解を用いて復号化することができるようになっている。
 クライアント第1暗号化復号化部122Eは、復号化したサーバ証明書及びSSL証明書のデータを、認証部122Hに送るようになっている。
 認証部122Hは、サーバ200が正当なものかの認証、言い換えれば、サーバ200から送られてきたサーバ証明書が正当なものかの認証を行う。かかる認証には、主制御部122Bから受取った元々クライアント100内にあったSSL証明書と、クライアント第1暗号化復号化部122Eから受取った、元々はサーバ200にあったサーバ証明書とSSL証明書とが用いられる。
 かかる認証をどのように行うかについては追って説明を行うこととするが、いずれにせよかかる認証の方法は既存のSSL通信における、SSL証明書を用いたサーバ証明書の認証の方法に倣うことができ、この実施形態ではそうしている。かかる部分を変えなければ、この実施形態のSSL通信システムで実行される暗号化通信は、SSL通信に僅かな変更を加えるだけで実施できるものとなる。
 認証部122Hは、サーバ証明書が正当なものであると認証したら、そのサーバ証明書に含まれていた公開鍵をサーバ証明書から取出し、主制御部122Bに送るようになっている。
 公開鍵暗号化部122Iは、公開鍵を用いた暗号化を行うものである。上述したように、公開鍵暗号化部122Iは、主制御部122Bから公開鍵と共通鍵とを受取るようになっている。これらを受け取ったら公開鍵暗号化部122Iは、共通鍵を公開鍵で暗号化するようになっている。
 従来のSSL通信においても、クライアントは自らが持つ共通鍵を公開鍵を用いて暗号化してサーバに送るようになっている。公開鍵暗号化部122Iは、その従来から存在するSSL通信における機能を用いて実現することができる。
 なお、公開鍵暗号化部122Iは、暗号化した共通鍵のデータを出力部222Gに送るようになっている。
 クライアント第2暗号化復号化部122Fは、暗号化、復号化の処理を行うものである。ここで行われる暗号化、復号化の処理は、主制御部122Bから送られてきた共通鍵を用いて行われる。暗号化の対象となるのは、アプリケーション121から入力部122Aを介して送られてきた平文のデータであり、また復号化の対象となるのは、サーバ200から、ネットワーク400、送受信機構、インターフェイス114、入力部122Aを介して送られてきた暗号化されたデータである。
 クライアント第2暗号化復号化部122Fで行われる暗号化、復号化の処理は共通鍵を用いて行われる共通鍵方式の暗号化、復号化であればどのようなものでもよく、例えばSSLの本願の背景技術で述べた(3)の通信で用いられている公知或いは周知の手法をこれに応用することができる。例えば、クライアント第2暗号化復号化部122Fは、DES暗号法を実行するものとすることができる。
 クライアント第2暗号化復号化部122Fは、アプリケーション121から送られてきたデータを暗号化したものを出力部122Gに送るようになっているとともに、サーバ200から送られてきた暗号化されたデータを復号化したものを出力部122Gに送るようになっている。
 出力部122Gは、暗号化復号化部122内で生成されたデータを外部に出力するためのものである。
 出力部122Gには、クライアント解生成部122Cから解が送られてくる場合があり、またクライアント第2暗号化復号化部122Fから、アプリケーション121から送られてきたデータをクライアント第2暗号化復号化部122Fで暗号化したものと、サーバ200から送られてきた暗号化されたデータをクライアント第2暗号化復号化部122Fで復号化したものとが送られてくる場合がある。
 出力部122Gは、これらのうち、解と、アプリケーション121から送られてきたデータをクライアント第2暗号化復号化部122Fで暗号化したものとを送受信部123を介してインターフェイス114に送るようになっている。インターフェイス114に送られたこれらデータは、送受信機構、ネットワーク400を介してサーバ200に送られるようになっている。出力部122Gは、また、公開鍵暗号化部122Iから、暗号化された共通鍵のデータを受取る場合がある。公開鍵暗号化部122Iから送られてきた暗号化された共通鍵のデータは、上述の解等と同じようにしてサーバ200に送られる。
 出力部122Gは、また、サーバ200から送られてきた暗号化されたデータをクライアント第2暗号化復号化部122Fで復号化したものをアプリケーション121に送るようになっている。それらデータは、アプリケーション121で使用される。
 次に、サーバ200の構成について説明する。
 サーバ200は、ハードウェアとして見た場合には、既存の公知又は周知のサーバで構わない。また、そのハードウェア構成も一般的なものでよく、大雑把に言えば、CPU111、ROM112、RAM113、インターフェイス114をバス116で接続するという、クライアント100のハードウェア構成を踏襲することができる。もっとも、サーバ200は通常、HDDその他の大容量記録装置を有するのが一般的であろう。
 サーバ200が備えるCPU、ROM、RAM、インターフェイス、バス、及び大容量記録装置の構成、機能は、クライアント100におけるそれらの構成、機能と変わらない。また、サーバ200が備えるインターフェイスには、クライアント100が備えていたのと同様の、サーバ200外の機器とネットワーク400を介しての通信を行うための送受信機構が接続されている。サーバ200が備えるインターフェイスには、クライアント100が備えていたのと同様のディスプレイ、入力装置が接続されていても構わないが、本願とはあまり関係がないのでその説明は省略する。
 サーバ200の内部におけるROM、大容量記録装置等に記録されていたコンピュータプログラムを実行することによって、サーバ200の内部には以下に説明するような機能ブロックが生成される。なお、以下の機能ブロックは、サーバ200を本願発明のサーバとして機能させるためのコンピュータプログラム単体の機能により生成されていても良いが、かかるコンピュータプログラムと、サーバ200にインストールされたOSその他のコンピュータプログラムとの協働により生成されても良い。また、上記コンピュータプログラムのサーバ200へのインストールは、メモリカード等の所定の記録媒体を介して行なわれても良いし、LAN或いはインターネットなどのネットワークを介して行なわれても構わない。これらの事情は、クライアント100の場合と同様である。
 サーバ200内には、本願発明の機能との関係で、アプリケーション221と、暗号化復号化部222と、送受信部223とが生成される(図6)。
 もっとも、これらのうちアプリケーション221は、クライアント100のブラウザに所望の画像を表示させるための公知のソフトウェア、クライアント100を操作するユーザの意思決定に基いてインターネットバンキングでの決済を実行するソフトウェア等であり、また、送受信部223はネットワーク400を介してのデータの送受信を行うソフトウェアであって、いずれもが本願発明でいうコンピュータプログラムの機能によって生成されるものではない。この事情は、クライアント100の場合と同様である。
 アプリケーション221は、サーバ200からクライアント100に暗号化して送られるデータの元となる暗号化されていないデータを生成するものであり、またクライアント100からサーバ200へ暗号化して送られたデータを復号化してから使用するものである。そのようなものである限り、アプリケーション221は上で例示したものに限られない。アプリケーション221はインターフェイスと接続されており、インターフェイスを介して受取る入力装置からの操作内容に関するデータにしたがって、或いは予め作成されたプログラムにしたがって自動的に動作する。アプリケーション221はその動作の結果、暗号化してネットワーク400を介してクライアント100に送るべき平文のデータを生成する。このデータは暗号化復号化部222に送られるようになっている。アプリケーション221は、また、動作の結果、例えば画像データを生成する場合がある。画像データはインターフェイスに送られ、そこから、サーバ200の備える図外のディスプレイに送られて画像を表示する。
 また、送受信部223は、クライアント100等とネットワーク400を介して送受信を行う機能ブロックであって、例えば相手装置の宛先を決定したり、送信されるデータに所定の内容を書き込んだりという、公知、周知の機能を有している。送受信部223は、少なくともTCP/IPを用いてネットワーク400を介しての通信を行えるようになっている。送受信部223は、送受信機構がネットワーク400から受取ったデータをインターフェイスを介して受取る。送受信部223は、インターフェイスを介して送受信機構から受取ったデータを暗号化復号化部222へ送るようになっている。また、送受信部223は、暗号化復号化部222からデータを受取る場合がある。送受信部223はその暗号化復号化部222から受取ったデータをインターフェイスに送り、送受信機構からネットワーク400を介してクライアント100へ送るようになっている。
 暗号化復号化部222は、簡単にいうと、送受信部223から受取ったデータのうち必要なものに復号化の処理を行い、また、アプリケーション221から受取ったデータのうちの必要なものに対して暗号化の処理を行う機能を有するとともに、サーバ200とのクライアント100との互いの認証のために必要な処理を行うものである。つまり、暗号化復号化部222は、本願発明におけるクライアント100とサーバ200の間の暗号化通信の中心的な役割を担うものであり、本願発明のコンピュータをサーバとして機能させるためのコンピュータプログラムにより、サーバ200内に生成されるものであると言える。
 また、暗号化復号化部222には、入力装置から入力された操作内容についてのデータが、インターフェイスを介して入力される場合がある。
 暗号化復号化部222の中には入力部222A、主制御部222B、サーバ解生成部222C、解データ記録部222D、サーバ第1暗号化復号化部222E、サーバ第2暗号化復号化部222F、出力部222G、認証部222H、秘密鍵復号化部222Iが生成される(図7)。
 入力部222Aは、インターフェイス又はアプリケーション221からデータを受取るものである。入力部222Aには後述するように、クライアント100から送られてきた暗号化されたデータ、それも共通鍵で暗号化されたデータが、インターフェイス、送受信部223を介して送られてくることがある。そのデータを受取ったら入力部222Aは、それをサーバ第2暗号化復号化部222Fに送るようになっている。入力部222Aには、また、後述するように、クライアント100から送られてきた解のデータが、インターフェイスを介して入力される場合がある。かかるデータを受取ったら入力部222Aは、それを主制御部222Bに送るようになっている。入力部222Aには、また、後述するように、クライアント100から送られてきた暗号化された共通鍵のデータが、インターフェイスを介して入力される場合がある。かかるデータを受取ったら入力部222Aは、それを主制御部222Bに送るようになっている。入力部222Aはまた、インターフェイスを介してアプリケーション221から送られてきたデータを受取ることがある。このデータは後述するように、暗号化してからクライアント100に送られることを意図したものであるが、このデータを受取ったら入力部222Aは、そのデータをサーバ第2暗号化復号化部222Fに送るようになっている。
 主制御部222Bは、暗号化復号化部222全体の制御を行うものである。主制御部222Bは上述のように、入力部222Aから、クライアント100から送られてきた解のデータを受取る場合があり、それを受取った場合には、それを認証部222Hへ送るようになっているとともに、サーバ解生成部222Cに対して解を生成せよとの指示を送るようになっている。主制御部222Bは、また、認証部222Hから後述する認証データを受取ることがあり、それを受取った場合には、サーバ解生成部222Cに対して解を生成せよとの指示を送るようになっている。
 主制御部222Bは、サーバ証明書と、SSL証明書とを保有している。これらは、通常は、サーバ200の管理者が、サーバ証明書、或いはSSL証明書を発行する認証局から入手し、サーバ200にインストールする。サーバ証明書、SSL証明書とも、現在のSSL通信で用いられている通常のものでよく、この実施形態ではそうされている。SSL証明書はクライアント100の説明の中で説明した通りのものであり、サーバ証明書は、サーバ200の情報が記載され、そのサーバの公開鍵が埋め込まれており、またそのサーバ証明書の正当性を証明するための、そのサーバ証明書を発行した認証局の電子署名が付されている。サーバ証明書は1つであるが、SSL証明書は1つとは限らない。これも従来からのSSL通信の場合と同様である。主制御部222Bは、サーバ証明書及びSSL証明書を後述のタイミングでサーバ第1暗号化復号化部222Eに送るようになっている。
 サーバ解生成部222Cは、クライアント解生成部122C同様に、解を連続して生成することのできるものとされている。サーバ解生成部222Cで連続して生成される解のそれぞれは、共通条件下においてクライアント解生成部122Cで連続して生成される解と一致するようになっている。この実施形態では、サーバ解生成部222Cで解を連続して生成する方法と、クライアント解生成部122Cで解を連続して生成する方法とは共通である。
 解データ記録部222Dには、新たな解を生成するためのデータ、つまり、クライアント100の解データ記録部122Dに記録されていたのと同様の初期値、或いは過去の解のデータが記録されている。もっとも、サーバ200は、多数のクライアント100の認証を行う必要がある。したがって、サーバ200は、各クライアント100を識別するためのデータ(この実施形態では各クライアント100のIPアドレスを、各クライアント100を識別するためのデータとして利用することとしているが、他のデータ例えば各クライアント100が販売された段階から各クライアント100に割り振られている、クライアント100の販売業者や認証を行うための組織等により厳格に管理されている各クライアント100にユニークな識別子等を、かかるデータとして利用することもできる。)と各クライアント100毎の新たな解を生成するためのデータとを、互いに紐付けた状態で記録している。つまり、この実施形態では、各クライアント100のクライアント解生成部122Cで連続して生成される解の列はそれぞれ異なるものとなっているが、サーバ200の側では、各クライアント100で生成されるそれぞれ異なる解の列と同じ解の列を、各クライアント100に対応して生成することができるようになっている。言い換えれば、サーバ200にあるサーバ解生成部222Cと、各クライアント100にあるクライアント解生成部122Cのそれぞれとは、解を同期させられるようにされている。
 サーバ解生成部222Cは、解を生成した場合、それをサーバ第1暗号化復号化部222Eか又は認証部222Hに送るようになっている。サーバ解生成部222Cが解を認証部222Hに送るときには、解データ記録部222Dに記録されていたものであり、その解を生成する際に参照された、クライアント100を特定するためのデータをも認証部222Hに送るようになっている。
 サーバ第1暗号化復号化部222Eは、暗号化、復号化の処理を行えるようになっている。もっとも、この実施形態では、後述するように少なくとも暗号化の処理を行えれば足りる。サーバ第1暗号化復号化部222Eが暗号化したデータは、クライアント100の少なくともクライアント第1暗号化復号化部122Eで復号化できるようになっている。サーバ第1暗号化復号化部222Eでの暗号化、復号化には、クライアント第1暗号化復号化部122Eでの暗号化、復号化の場合と同様に、解が使われる。上述のようにサーバ解生成部222Cで生成された解はサーバ解生成部222Cからサーバ第1暗号化復号化部222Eに送られるが、その解はサーバ第1暗号化復号化部222Eで上述の暗号化が行われる際に使用される。他方、サーバ第1暗号化復号化部222Eには、主制御部222Bからサーバ証明書及びSSL証明書のデータが送られてくる。このサーバ証明書及びSSL証明書のデータは、後述するようにクライアント100に送られるものであり、サーバ第1暗号化復号化部222Eにて暗号化される。この暗号化されたサーバ証明書及びSSL証明書のデータが、後述するように、クライアント第1暗号化復号化部122Eで復号化され、サーバ証明書及びSSL証明書のデータに戻されるのである。
 サーバ第1暗号化復号化部222Eは、暗号化したサーバ証明書及びSSL証明書のデータを出力部222Gに送るようになっている。
 秘密鍵復号化部222Iは、秘密鍵を用いて復号化を行うものである。上述のサーバ証明書に埋め込まれた公開鍵と対になった秘密鍵を秘密鍵復号化部222Iは備えている。
 秘密鍵復号化部222Iには、主制御部222Bから、クライアント100から送られてきた、公開鍵で暗号化された共通鍵のデータが送られてくる場合がある。秘密鍵復号化部222Iは、秘密鍵を用いて暗号化された共通鍵のデータを復号化して元の共通鍵のデータに戻せるようになっている。
 従来のSSL通信においても、クライアントは自らが持つ共通鍵を公開鍵を用いて暗号化してサーバに送るようになっている。そして、サーバはその暗号化された共通鍵を秘密鍵を用いて復号化するようになっている。したがって、秘密鍵復号化部222Iは、その従来から存在するSSL通信における機能を用いて実現することができる。
 秘密鍵復号化部222Iは、上記復号化の処理によって得られた共通鍵のデータを、サーバ第2暗号化復号化部222Fに送るようになっている。
 サーバ第2暗号化復号化部222Fは、暗号化、復号化の処理を行うものである。ここで行われる暗号化、復号化の処理は、秘密鍵復号化部222Iから送られてきた共通鍵を用いて行われる。暗号化の対象となるのは、アプリケーション221から入力部222Aを介して送られてきた平文のデータであり、また復号化の対象となるのは、クライアント100から、ネットワーク400、送受信機構、インターフェイス、入力部222Aを介して送られてきた暗号化されたデータである。
 サーバ第2暗号化復号化部222Fで行われる暗号化、復号化の処理は共通鍵を用いて行われる共通鍵方式の暗号化、復号化であればどのようなものでもよいが、同じ共通鍵を用いた場合には、ここで暗号化されたデータはクライアント第2暗号化復号化部122Fで復号化でき、クライアント第2暗号化復号化部122Fで暗号化されたデータは、ここで復号化できるものとされる。
 サーバ第2暗号化復号化部222Fは、アプリケーション221から送られてきたデータを暗号化したものを出力部222Gに送るようになっているとともに、クライアント200から送られてきた暗号化されたデータを復号化したものを出力部222Gに送るようになっている。
 認証部222Hは、クライアント100が正当か否かの判断、つまりクライアント100の認証を行うためのものである。上述したように、認証部222Hには主制御部222Bから、クライアント100から送られてきた解のデータが送られてくる。また、解データ記録部222Dから解のデータと、その解を生成する際に参照されたクライアント100を特定するためのデータが認証部222Hに送られる。認証部222Hは、これら3つのデータを用いてクライアント100が正当か否かについての判断を行い、クライアント100が正当であると認証したときに認証データを生成する。なお、具体的な認証の方法については追って説明する。
 かかる認証が行われた場合には、認証部222Hは認証データを生成し、その認証データを主制御部222Bに送るようになっている。
 出力部222Gは、暗号化復号化部222内で生成されたデータを外部に出力するためのものである。
 出力部222Gには、サーバ第2暗号化復号化部222Fから、アプリケーション221から送られてきたデータをサーバ第2暗号化復号化部222Fで暗号化したものと、クライアント100から送られてきた暗号化されたデータをサーバ第2暗号化復号化部222Fで復号化したものとが送られてくる場合がある。
 出力部222Gは、これらのうち、アプリケーション221から送られてきたデータをサーバ第2暗号化復号化部222Fで暗号化したものを、送受信部223を介してインターフェイスに送るようになっている。インターフェイスに送られたこれらデータは、送受信機構、ネットワーク400を介してクライアント100に送られるようになっている。出力部222Gは、また、サーバ第1暗号化復号化部222Eから、暗号化されたサーバ証明書及びSSL証明書のデータを受取る場合がある。このデータも、上記の場合と同様に、クライアント100に送られるようになっている。
 出力部222Gは、また、クライアント100から送られてきた暗号化されたデータをサーバ第2暗号化復号化部222Fで復号化したものをアプリケーション221に送るようになっている。それらデータは、アプリケーション221で使用される。
 次に、クライアント100とサーバ200を含んでなるこのSSL通信システムの使用方法、及び動作について説明する。
 かかる説明には、主に図8を用いる。
 まず、ユーザは、自らのクライアント100を操作し、クライアント100とサーバ200との間での通信を試みる。例えば、ユーザは、サーバ200に接続して、サーバ200が提供するウェブサイトを閲覧しようとする。
 そのために、ユーザはまず、クライアント100上のアプリケーション121を立ち上げる(S1001)。ウェブサイトを閲覧するためのアプリケーション121であれば、通常は周知のブラウザを立ち上げることになろう。ユーザは、入力装置102を適宜操作してブラウザを立ち上げる。ブラウザを立ち上げるための操作内容は、入力装置102からインターフェイス114を介してアプリケーション121に送られる。それによりアプリケーション121が動作し、画像データがインターフェイス114を介してディスプレイ101に送られることにより、ブラウザがクライアント100のディスプレイ101上に表示される。
 その状態でユーザは、サーバ200が提供するウェブサイトを閲覧しようとする。通常は、サーバ200のウェブアドレス(URL)をブラウザ上で指定することにより、クライアント100はサーバ200との通信を開始する。このとき、クライアント100は、まず、クライアント100の認証に必要な処理を始める。具体的には、サーバ200のウェブアドレスをユーザがブラウザ上で指定すると、その操作内容のデータが入力装置102からインターフェイス114を介して、入力部122Aに送られてくる。この操作内容のデータは入力部122Aから、主制御部122Bに送られる。これを受取った主制御部122Bは、クライアント解生成部122Cに解を生成せよとの指示を送る。クライアント解生成部122Cは、解を生成する(S1002)。
 クライアント解生成部122Cが解を生成する方法は上述した通りである。クライアント解生成部122Cが解を生成するのが初めてなのであれば、クライアント解生成部122Cは解データ記録部122Dから初期値を読出し、また、解を生成するのが初めてでないのであれば、クライアント解生成部122Cは解データ記録部122Dから過去に生成した解を読みだす。そのいずれかに基いて、クライアント解生成部122Cは新たな解を生成する。生成された解は、クライアント解生成部122Cから、出力部122Gへ送られる。
 出力部122Gは、受取った解を送受信部123に送る。送受信部123は、解のデータにTCP/IPの規則にのっとってヘッダを付すなどの所定の処理を行う。このときヘッダには、クライアント100を他のクライアント100から識別するための情報となるクライアント100のIPアドレスや、サーバ200のウェブアドレス等が含まれる。SSLの通信では、ウェブアドレスに続けて相手方のポート番号として決まった数字(一般には443)の記載を行うことによりそのヘッダを含むデータがSSLによる通信を求めるものであることを示すといった共通ルールがあるが、この暗号化通信でもそのようなルールに従ってもよい。いずれにせよ、そのようなヘッダが付された解のデータは、送受信部123から、インターフェイス114を介して、送受信機構に送られる。
 解のデータは、送受信機構から、ネットワーク400を介して、サーバ200に送られる(S1003)。なお、解のデータをクライアント100で暗号化してからサーバ200に送ることも可能であるが、この実施形態では暗号化しないままで解をサーバ200に送ることとしている。
 解は、サーバ200によって受取られる(S2001)。具体的には、解を含むデータは、サーバ200の送受信機構によって受取られ、インターフェイスから、送受信部223に送られる。送受信部223は、そこから解のデータと、ヘッダに含まれていたその解を送ってきたクライアント100のIPアドレスとを入力部222Aへと送る。それらは、入力部222Aから、主制御部222Bへと送られる。
 主制御部222Bは、互いに紐付けた状態で解及びIPアドレスのデータを認証部222Hに送る。
 他方、主制御部222Bは、そのIPアドレスのデータをサーバ解生成部222Cに送るとともに、サーバ解生成部222Cに解を生成せよとの指示を送る。これを受けたサーバ解生成部222Cは、解を生成する(S2002)。サーバ解生成部222Cは、解データ記録部222Dに記録されている各クライアント100についての新たな解を生成するためのデータ(初期値か過去の解のデータ)のうち、主制御部222Bから受取ったIPアドレスと紐付けられていたものを読みだす。そして、その初期値か過去の解のデータを用いて、既に述べた方法で新たな解を生成する。サーバ解生成部222Cは、生成した解と、その解を送ってきたクライアント100を特定するIPアドレスとをそれらを互いに紐付けた状態で認証部222Hへと送る。
 認証部222Hには、上述のように、主制御部222Bから送られてきた解及びIPアドレスが存在する。他方、認証部222Hには、サーバ解生成部222Cから送られてきた解及びIPアドレスが存在する。ここで、IPアドレスが必要となるのは、短時間の間に複数のクライアント100から多数の解が送られて来た場合には、認証部222Hにおいて行われる、後述する、主制御部222Bから送られてきた解とサーバ解生成部222Cから送られてきた解との対比を行うにあたり、どの解とどの解を対比すべきかが不明となることがあり得るからである。これには限られないが、この実施形態では、同じIPアドレスに紐付けられている主制御部222Bから送られてきた解と、サーバ解生成部222Cから送られてきた解とを比較することにより、その解を送ってきたクライアント100が正当なものであるか否かの認証を行うこととしている。
 上述したように、サーバ解生成部222Cで生成される解は、各クライアント100のクライアント解生成部122Cで生成される解と同期させられている。したがって、クライアント100が正当なものであれば、対比の対象となる上述の2つの解は一致するはずである。両者が一致した場合には、認証部222Hは、その解を送ってきたクライアント100が正当なものであると認証し、その旨を示す認証データを生成する(S2003)。
 認証データは、それにより認証されたクライアント100のIPアドレスと紐付けた状態で、主制御部222Bへと送られる。2つの解が一致しなかったら、認証部222Hはクライアント100が正当でないという旨を主制御部222Bへ通知し、そこでクライアント100とサーバ200の間の通信を打ち切ることが可能であり、この実施形態ではそうしている。このときサーバ200はそのクライアント100に、クライアント100が認証されなかったということを通知するようになっていてももちろん良い。
 主制御部222Bは、認証データとIPアドレスとを受取った場合には、そのIPアドレスと紐付けた状態で、主制御部222Bが有するサーバ証明書及びSSL証明書をサーバ第1暗号化復号化部222Eへ送る。
 他方、主制御部222Bは、サーバ証明書及びSSL証明書を、上記IPアドレスと紐付けた状態でサーバ第1暗号化復号化部222Eに送るとともに、新たな解を生成せよとの指示をサーバ解生成部222Cに送る。サーバ解生成部222Cは、少なくとも1つの解を生成する(S2004)。生成された解は、その解を生成する指示のきっかけとなったIPアドレスとともにサーバ第1暗号化復号化部222Eに送られる。ここで、サーバ解生成部222Cでどのような条件で解を生成するのか、例えば幾つの解を生成するのか、またそのうちのどれを(例えば、2番目に生成されたものを、或いは100番目に生成されたものを)サーバ第1暗号化復号化部222Eに送るのかは、予め決定されており、その情報はクライアント100と共有されている。
 上述したように、サーバ第1暗号化復号化部222Eは、受取ったサーバ証明書及びSSL証明書のデータを暗号化する(S2005)。かかる暗号化には、サーバ解生成部222Cから送られてきた解が使われる。サーバ証明書及びSSL証明書を暗号化する際に用いる解は、それらに互いに紐付けられたIPアドレスが同じものを選択すればよい。ここで、サーバ第1暗号化復号化部222Eで行われる暗号化は、暗号化の結果得られるデータが解に依存したものとなる。解の使い方は暗号化の結果得られるデータが解に依存する限りどのようなものでも良いが、例えば解を暗号化の鍵として用いてもよい。なお、このときそのサーバ証明書及びSSL証明書のデータと紐付けられていたIPアドレスのデータは暗号化しない。
 暗号化されたサーバ証明書及びSSL証明書のデータは、暗号化される前のサーバ証明書及びSSL証明書のデータと紐付けられていたIPアドレスのデータとともに出力部222Gへと送られる。
 出力部222Gは、それらデータを送受信部223へと送る。送受信部223は、暗号化されたサーバ証明書及びSSL証明書のデータに対して、その送信先を示すヘッダを付す。その送信先は、上述のIPアドレスにより特定可能である。ヘッダを付された暗号化されたサーバ証明書及びSSL証明書のデータは、送受信部223からインターフェイスに送られ、更には送受信機構から、ネットワーク400を介してクライアント100へと送られる(S2006)。
 クライアント100は、暗号化されたサーバ証明書及びSSL証明書のデータを受取る(S1004)。暗号化されたサーバ証明書及びSSL証明書のデータは、クライアント100の送受信機構で受取られ、インターフェイス114を介して、送受信部123に送られる。送受信部123は、そのデータを、入力部122Aに送る。
 入力部122Aは、暗号化されたサーバ証明書及びSSL証明書のデータをクライアント第1暗号化復号化部122Eへと送る。他方、入力部122Aは、暗号化されたサーバ証明書及びSSL証明書のデータを受取った旨の通知を主制御部122Bへ送る。これを受取った主制御部122Bは、クライアント解生成部122Cに対して新たな解を生成せよとの指示を送る。
 この指示を受取ったクライアント解生成部122Cは新たな解を少なくとも1つ生成する(S1005)。そして、生成された解はクライアント解生成部122Cからクライアント第1暗号化復号化部122Eに送られる。
 ここで、クライアント解生成部122Cでどのような条件下で解を生成するのか、例えば幾つの解を生成するのか、また、そしてそのうちのどれを(例えば、2番目に生成されたものを、或いは100番目に生成されたものを)クライアント第1暗号化復号化部122Eに送るのかは、予め決定されており、その情報はサーバ200と共有されている。クライアント解生成部122Cは、共通の条件下ではサーバ解生成部222Cと共通の解を連続して生成できるものとなっているのであるから、結果として、サーバ第1暗号化復号化部222Eが共通鍵のデータを暗号化するのに使用する解としてサーバ解生成部222Cが生成してサーバ第1暗号化復号化部222Eに送った解とまったく同じ解が、クライアント解生成部122Cからクライアント第1暗号化復号化部122Eへと送られることになる。
 この解を用いて、クライアント第1暗号化復号化部122Eは、暗号化されたサーバ証明書及びSSL証明書のデータを復号化して、暗号化されていないサーバ証明書及びSSL証明書のデータに戻す(S1006)。クライアント第1暗号化復号化部122Eにおける復号化の処理は、解に依存するものであり、且つ同じ解を用いた場合には、サーバ解生成部222Cで暗号化されたデータを復号化して元の平文のデータに戻すことが可能な処理である。したがって、暗号化された共通鍵のデータは、サーバ200の主制御部222Bが生成した通りのサーバ証明書及びSSL証明書のデータに戻る。
 クライアント第1暗号化復号化部122Eは、サーバ証明書及びSSL証明書を認証部122Hへ送る。他方、サーバ証明書及びSSL証明書を受取った認証部122Hは、主制御部122BにSSL証明書を送れとの指示を送り、主制御部122Bから、元々主制御部122Bが持っていたSSL証明書を受取る。
 この状態で、認証部122Hは、サーバ200が適正か否かの或いはサーバ証明書が適正か否かの認証の処理を行う(S1007)。
 かかる処理は、従来のSSL通信で行われていたサーバ証明書の適正性の認証と同様の処理として実行することができる。
 例えば、クライアント100が持っていたSSL証明書と、サーバ200から送られてきたSSL証明書とが、完全に一致したものであったとする。この状態で、サーバ200は、自己が所有していたSSL証明書或いはそれに付されていた公開鍵は適正なものであると判断している。ここで、クライアント100の認証部122Hは、サーバ証明書の例えば全体に対してハッシュを行って得たそのハッシュ値と、サーバ証明書に付されていた電子署名をSSL証明書に付されていた公開鍵で復号化したもの(得られた値)とを比較する。サーバ証明書に付されている電子署名は、そのサーバ証明書を発行した認証局が、サーバ証明書の例えば全体に対してハッシュを行って得たハッシュ値をその認証局が有する秘密鍵で暗号化したものとされている。したがって、電子署名を含めてそのサーバ証明書に、そのサーバ証明書が認証局で発行されて以降、悪意の第三者による改竄を含むいかなる変更もなかった場合には、上述の2つの値は必ず一致する。これにより、サーバ証明書は適正なものであると認証されるのである。
 実際のSSL通信では、自己のSSL証明書(ルート証明書)に自己の電子署名を行うことによりそのSSL証明書の適正性を証明できるとされるルート認証局を頂点として、認証局にはその信用性の度合いにより様々なレベルのものがあり、SSL証明書にもその信用性の度合いにより様々なレベルのものがある。SSL通信のかかる認証では、場合により複数のSSL証明書を多段に用い、クライアント100の認証部122Hが信用できるとしているSSL証明書を用いて、サーバ証明書の適正さを認証する。本願の認証部122Hも、そのような処理を実行することができる。
 いずれにせよ、認証部122Hがサーバ証明書を適正なものだと認証した場合には、認証部122Hは、サーバ証明書からそれに埋め込まれていた公開鍵を抜き出してそれを主制御部122Bに送る。主制御部122Bは、その公開鍵を、主制御部122Bが持っていた共通鍵とともに、公開鍵暗号化部122Iに送る。
 他方、主制御部122Bは、共通鍵のデータをクライアント第2暗号化復号化部122Fに送る。この共通鍵は、もちろん暗号化されていない。これにより、クライアント第2暗号化復号化部122Fは、共通鍵方式の暗号化通信を行うために必要となる共通鍵を持った状態となる。
 共通鍵と公開鍵とを受取った公開鍵暗号化部122Iは、従来のSSL通信の場合と同様に、共通鍵を公開鍵を用いて暗号化する(S1008)。
 暗号化された共通鍵は、公開鍵暗号化部122Iから出力部122Gへと送られる。
 暗号化された共通鍵のデータは、出力部122Gで必要に応じてヘッダを付された上で、インターフェイス114から送受信機構に送られ、ネットワーク400を介してサーバ200に送られる(S1009)。
 サーバ200は、その送受信機構で暗号化された共通鍵のデータを受取る(S2007)。暗号化された共通鍵のデータは、インターフェイス、送受信部223を経て、入力部222Aへ送られ、入力部222Aから主制御部222Bを経て、秘密鍵復号化部222Iへと送られる。
 上述したように、秘密鍵復号化部222Iは、秘密鍵を有しており、その秘密鍵と対になった公開鍵で暗号化されたデータを復号化できるようなものとされている。そして、暗号化された共通鍵を暗号化するときに用いられた公開鍵、つまりサーバ200からクライアント100へ送られたサーバ証明書に埋め込まれていた公開鍵は、サーバ200における秘密鍵復号化部222Iが持っていた秘密鍵と対になったものなのであるから、秘密鍵復号化部222Iは、主制御部222Bから受取った暗号化された共通鍵を復号化することができる。
 秘密鍵復号化部222Iは秘密鍵を用いて暗号化されていた共通鍵を復号化する(S2008)。
 復号化された共通鍵は、秘密鍵復号化部222Iからサーバ第2暗号化復号化部222Fへと送られる。
 以上の処理により、サーバ200におけるサーバ第2暗号化復号化部222Fと、クライアント100におけるクライアント第2暗号化復号化部122Fとは、共通の共通鍵を持った状態となる。
 サーバ200におけるサーバ第2暗号化復号化部222Fと、クライアント100におけるクライアント第2暗号化復号化部122Fとが、共通の共通鍵を持った状態となったのであれば、サーバ200とクライアント100とは、従来のSSL通信の上記(3)の過程で実行していたと同様の暗号化通信を行えるようになる。
 かかる暗号化通信は、必要に応じてクライアント100からサーバ200に、或いはサーバ200からクライアント100に、暗号化したデータが送られることにより実現される(S1010、S2009)。
 例えば、クライアント100のアプリケーション121で、暗号化してサーバ200に送るべきデータが生成され、そのデータがアプリケーション121から、暗号化復号化部122に送られる。暗号化復号化部122の入力部122Aがそのデータを受取ると、そのデータはクライアント第2暗号化復号化部122Fに送られ、そこで共通鍵を用いて暗号化される。暗号化されたそのデータは、出力部122Gから、送受信部123へ送られ、上述のようなヘッダを付す処理が必要に応じて行われた上で、インターフェイス114から送受信機構に送られ、そこからネットワーク400を介して、サーバ200に送られる。
 サーバ200は、その送受信機構でそのデータを受取る。そのデータは、サーバ200の送受信機構からインターフェイスに送られ、そして送受信部223を経て、入力部222Aに送られる。その暗号化されたデータは、サーバ第2暗号化復号化部222Fで共通鍵を用いて復号化され、出力部222Gへと送られる。出力部222Gは復号化されたそのデータを、アプリケーション221に送り、アプリケーション221はそのデータを適宜用いる。
 他方、サーバ200のアプリケーション221が、暗号化してクライアント100に送るべき平文のデータを生成する場合がある。アプリケーション221がそのようなデータを生成した場合、そのデータは、暗号化復号化部222中の入力部222Aに送られる。そのデータは、入力部222Aからサーバ第2暗号化復号化部222Fへと送られ、そこで共通鍵を用いて暗号化される。サーバ第2暗号化復号化部222Fで暗号化されたそのデータは、出力部222Gを介して送受信部223に送られる。送受信部223では、その暗号化されたデータにヘッダを付す上述の如き処理が必要に応じて行われる。かかる処理が行われたそのデータは、送受信部223からインターフェイスを介してサーバ200の送受信機構に送られ、そこからネットワーク400を介してクライアント100に送られる。
 クライアント100は、その送受信機構でそのデータを受取る。そのデータは、クライアント100の送受信機構からインターフェイス114に送られ、そして送受信部123を経て、入力部122Aに送られる。その暗号化されたデータは、クライアント第2暗号化復号化部122Fで共通鍵を用いて復号化され、出力部122Gへと送られる。出力部122Gは復号化されたそのデータを、アプリケーション121に送り、アプリケーション121はそのデータを適宜用いる。
 以上のようにして、サーバ200とクライアント100との間で共通鍵を用いた共通鍵方式の暗号化通信が行われる。
 上述の暗号化通信において暗号化、復号化が行われるのは、サーバ200においては、アプリケーション221と、TCP/IPの通信を行う送受信部223との間にある暗号化復号化部222であり、クライアント100においては、アプリケーション121と、TCP/IPの通信を行う送受信部123との間にある暗号化復号化部122である。アプリケーションと、TCP/IPとの間で暗号化と復号化の処理を実行するというのは、従来からのSSL通信のプロトコルに共通するものであるので、この実施形態の発明を既存のSSL通信に応用するのは比較的簡単である。もっとも、本願発明は、暗号化と復号化の処理を必ずしも、アプリケーションと、TCP/IPとの間で行うには及ばない。
 通信を行う必要がなくなれば、サーバ200とクライアント100との間の暗号化通信が終了する。
≪第2実施形態≫
 第2実施形態におけるSSL通信システムについて説明する。
 第2実施形態におけるSSL通信システムは、概ね第1実施形態におけるそれと同様である。異なるのは、第1実施形態におけるSSL通信システムにおけるクライアント100とサーバ200との間の通信では、サーバ200からクライアント100へとサーバ証明書及びSSL証明書を送る際に、サーバ証明書及びSSL証明書が暗号化されていたのに対して、第2実施形態ではサーバ証明書及びSSL証明書は暗号化されずにサーバ200からクライアント100へ送信されるという点である。
 かかる相違点に基いて、サーバ200とクライアント100にも多少の変更がある。ハードウェア構成の点ではサーバ200もクライアント100も第1実施形態の場合と変わらないが、その内部に生成される機能ブロックの点で、両者の間には多少の違いが存在している。
 その違いは、第2実施形態におけるクライアント100の暗号化復号化部122の中には、第1実施形態の場合に存在したクライアント第1暗号化復号化部122Eが存在せず、第2実施形態におけるサーバ200の暗号化復号化部222の中には、第1実施形態の場合に存在したサーバ第1暗号化復号化部222Eが存在しない、という点である(図9、図10)。
 第2実施形態のSSL通信システムの使用方法、動作について説明する。
 かかるSSL通信システムで実行される方法は、概ね第1実施形態の場合と同じであるので、その差分を中心として説明することにする(図11)。もっともその差分は、第2実施形態では、第1実施形態において存在したクライアント100におけるS1005、及びS1006の処理が存在せず、第1実施形態において存在したサーバ200におけるS2004、及びS2005の処理が存在しないというものである。
 具体的に説明する。
 クライント100で実行される、第1実施形態におけるS1001~S1003の処理、及びサーバ200で実行される、第1実施形態におけるS2001~S2003までの処理は、第2実施形態でも同じである。
 第2実施形態でも、サーバ200の認証部222Hで、クライアント100が正当であるとの認証が行われる(S2003)。かかる認証が行われると、第2実施形態でも、第1実施形態の場合と同様に認証データが生成される。
 第1実施形態の場合、認証部222Hが認証データを生成すると、それは主制御部222Bに送られ、続けて新たな解の生成(S2004)の処理、新たな解を用いた共通鍵の暗号化(S2005)の処理が行われた。しかしながら、第2実施形態の場合には、主制御部222Bは、認証データを受取ると、認証データに付されていたクライアント100のIPアドレスのデータと紐付けた状態で、サーバ証明書及びSSL証明書を、暗号化することなくそのまま出力部222Gへと送るようになっている。
 IPアドレスのデータと紐付けられたサーバ証明書及びSSL証明書のデータは、出力部222Gから、送受信部223へと送られる。サーバ証明書及びSSL証明書のデータは、必要に応じて第1実施形態の場合と同様にしてヘッダが付されてから、インターフェイスを介して送受信機構に送られ、そこからネットワーク400を介してクライアント100へと送られる(S2006A)。
 クライアント100は、サーバ証明書及びSSL証明書のデータを受取る(S1004A)。サーバ証明書及びSSL証明書のデータは暗号化されていない。
 サーバ証明書及びSSL証明書のデータは、送受信機構から、インターフェイス114を介して主制御部122Bへと送られる。主制御部122Bは、入力部122Aから受取ったサーバ証明書及びSSL証明書を、元々自己が持っていたSSL証明書とともに認証部122Hと送る。
 この状態で、認証部122Hは、サーバ200の或いはサーバ証明書が適正か否かの認証の処理を行う(S1007)。
 以後の処理は、第1実施形態と同じである。
≪第3実施形態≫
 第3実施形態におけるSSL通信システムについて説明する。第3実施形態におけるSSL通信システムの構成及び動作は概ね第1実施形態におけるSSL通信システムにおけるそれらと同じである。第3実施形態のSSL通信システムが第1実施形態におけるSSL通信システムと異なるのは、第1実施形態では、サーバ200からクライアント100に暗号化された状態のサーバ証明書及びSSL証明書が送られるようになっていたが、第3実施形態にはそれに加えて、第2実施形態のときのように、暗号化されていないサーバ証明書及びSSL証明書が送られるようになっている、という点である。
 第3実施形態におけるクライアント100とサーバ200のハードウェア構成は第1実施形態の場合と変わらず、また、第3実施形態におけるクライアント100とサーバ200の中に生成される機能ブロックも、第1実施形態の場合と変わらない。
 もっとも、上述の変更点に基づき、第3実施形態におけるクライアント100及びサーバ200の中に生成される機能ブロックの機能は、第1実施形態の場合と若干異なる点がある。その点については後述する。
 第3実施形態のSSL通信システムの使用方法、動作について説明する。
 かかるSSL通信システムで実行される方法は、概ね第1実施形態の場合と同じであるので、その差分を中心として説明することにする(図12)。
 まず、クライント100で実行される、第1実施形態におけるS1001~S1003の処理、及びサーバ200で実行される、第1実施形態におけるS2001~S2005までの処理は、第3実施形態でも同じである。
 第3実施形態でも、サーバ第1暗号化復号化部222Eで、サーバ証明書及びSSL証明書のデータが暗号化される(S2005)。第1実施形態では、この後、暗号化されたサーバ証明書及びSSL証明書のデータが暗号化される前のサーバ証明書及びSSL証明書のデータと紐付けられていたIPアドレスのデータとともに出力部222Gへと送られたが、第3実施形態では、暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータとが、暗号化される前のサーバ証明書及びSSL証明書のデータと紐付けられていたIPアドレスのデータとともに出力部222Gへと送られる。
 これにより、第1実施形態では、サーバ200からクライアント100に暗号化された状態のサーバ証明書及びSSL証明書のみが送られるようになっていたのに対して、第3実施形態ではそれに加えて、暗号化されていないサーバ証明書及びSSL証明書のデータがサーバ200からクライアント100へ送られる。
 具体的には、出力部222Gに送られた、暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータと、暗号化される前のサーバ証明書及びSSL証明書のデータと紐付けられていたIPアドレスのデータは、出力部222Gから送受信部223へ送られる。暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータは、必要に応じて第1実施形態の場合と同様にしてヘッダが付されてからインターフェイスを介して送受信機構に送られ、そこからネットワーク400を介してクライアント100へと送られる(S2006B)。
 クライアント100は、暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータとを受取る(S1004B)。
 暗号化されたサーバ証明書及びSSL証明書のデータは、クライアント第1暗号化復号化部122Eへと送られ、第1実施形態の場合と同様のS1005の処理によってクライアント解生成部122Cで生成された解を用いて第1実施形態の場合と同様にして復号化される(S1006)。
 他方、暗号化されていないサーバ証明書及びSSL証明書のデータは、送受信機構からインターフェイス114、及び送受信部123を経て入力部122Aへ送られ、入力部122Aから主制御部122Bを経て、認証部122Hへと送られる。
 この状態で、認証部122Hには、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書及びSSL証明書と、サーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書及びSSL証明書とが、ともに存在することになる。いずれのサーバ証明書及びSSL証明書も、平文になっている。認証部122Hは、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書を対比し、また、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたSSL証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたSSL証明書とを対比する(S1011)。
 認証部122Hは、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書とが互いに一致し、且つ、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたSSL証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたSSL証明書とが互いに一致した場合にのみ、それらサーバ証明書及びSSL証明書に、それらがサーバ200からクライアント100に送られる間にいかなる改竄もなかった、と判定する。
 そのようなポジティブな判定がなされた場合にのみ、第3実施形態における認証部122Hは、サーバ証明書の認証についての第1実施形態におけるS1007の過程に進むことになる。もちろん上記のポジティブな判定がなされなかったら、サーバ200とクライアント100との間の通信はそこで終了する。
 以後の処理は、第1実施形態と同じである。
 なお、この実施形態では、S2006Bの処理で、暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータとは、同時にサーバ200からクライアント100に送られることになっていたが、これらは必ずしも同時に、サーバ200からクライアント100へ送られる必要はない。S1011の処理が行われる時点で認証部122Hに、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書及びSSL証明書と、サーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書及びSSL証明書とが、ともに存在する状態が作れるのであれば、暗号化されたサーバ証明書及びSSL証明書のデータと、暗号化されていないサーバ証明書及びSSL証明書のデータとの一方が他方よりも先にサーバ200からクライアント100に送られても構わない。
 また、この実施形態では上述のように、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書とが互いに一致し、且つ、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたSSL証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたSSL証明書とが互いに一致することが、認証部122Hが、サーバ証明書及びSSL証明書に対していかなる改竄もなかった、と判定するための条件となっていた。しかしながら、ここで認証部122Hが確認を行うべき最低限は、サーバ証明書に改竄がないことなのであるから、認証部122Hは、暗号化されてサーバ200から送られて来た後にクライアント第1暗号化復号化部122Eで復号化されたサーバ証明書とサーバ200からクライアント100へ暗号化されることなく送られてきたサーバ証明書とが互いに一致することのみを、認証部122Hが、サーバ証明書に対していかなる改竄もなかった、と判定するための条件とすることも可能である。この場合には、暗号化しないでサーバ200からクライアント100に送信する対象を、サーバ証明書及びSSL証明書から、サーバ証明書のみとすることも当然に可能である。

Claims (13)

  1.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、
     所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、
     を含んで構成されるSSL通信システムで実行される通信方法であって、
     前記クライアントが、その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取る過程、
     前記サーバが、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、
     前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、
     前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取る過程、
     前記クライアントが、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、
     前記サーバ証明書が正当なものと認証された場合に、前記クライアントが、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、
     前記クライアントが、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記暗号化された共通鍵を受取る過程、
     前記サーバが、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、
     以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバと、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、
     を含んでなる、SSL通信方法。
  2.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、
     所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、
     を含んで構成される暗号化通信システムの前記クライアントで実行されるSSL通信方法であって、
     前記クライアントが実行する、
     その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取る過程、
     前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、
     前記サーバ証明書が正当なものと認証された場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、
     前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記暗号化された共通鍵を受取り、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する処理を実行することにより前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバとの間で、共通鍵方式の暗号化通信を行う過程、
     を含んでなる、SSL通信方法。
  3.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、
     所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、
     を含んで構成される暗号化通信システムの前記サーバで実行されるSSL通信方法であって、
     前記サーバが実行する、
     前記クライアントが、その解生成手段で解を生成させ、前記ネットワークを介して送ってきた前記解を受取る過程、
     前記サーバの解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、
     前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、
     前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取り、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する処理を行った場合に、前記暗号化された共通鍵を受取る過程、
     前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、
     以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、
     を含んでなる、SSL通信方法。
  4.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできるサーバ解生成手段と、公開鍵による暗号化がなされたデータに対して秘密鍵による復号化を行うことができる秘密鍵復号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるサーバ第2暗号化復号化手段と、を有しているものと、
     の組合せにより、SSL暗号化通信システムを構成するための、前記ネットワークに接続可能とされたクライアントであって、
     前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、
     共通条件下で生成されたもの同士を比較すれば前記サーバ解生成手段で生成されたものと同じものとなる解を連続して生成することのできるクライアント解生成手段と、
     前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みることのできるクライアント認証手段と、
     前記公開鍵を用いて暗号化を行うことのできる公開鍵暗号化手段と、
     共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるクライアント第2暗号化復号化手段と、
     を備えており、
     前記クライアント解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信するようになっており、
     前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、前記サーバ解生成手段で前記クライアント解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバ解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取るようになっており、
     前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記クライアント認証手段が前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合には、前記公開鍵暗号化手段は、前記クライアントが持つ共通鍵を暗号化するようになっているとともに、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信するようになっており、
     前記サーバが、受取った前記暗号化された共通鍵を前記秘密鍵を用いて前記秘密鍵復号化手段により復号化するようになっており、
     以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバ第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うとともに、前記クライアント第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うことで、前記サーバとの間で共通鍵方式の暗号化通信を行うようになっている、
     クライアント。
  5.  前記サーバは、前記サーバ解生成手段で生成された解を用いた暗号化を行うことができるサーバ第1暗号化復号化手段を備えているとともに、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するに先立って、前記サーバ解生成手段で予め定められた条件下で2つ目或いはそれ以降の解を生成するとともに、前記サーバ解生成手段で生成された前記解を用いて、前記サーバ第1暗号化復号化手段により、前記サーバ証明書及び前記SSL証明書を暗号化させ、その暗号化された前記サーバ証明書及び前記SSL証明書を、前記クライアントに送信するようになっているとともに、
     前記クライアント解生成手段で生成された解を用いて、同じ解が用いられる場合には前記サーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるクライアント第1暗号化復号化手段を備えており、
     前記クライアント解生成手段は、前記クライアントが暗号化された前記サーバ証明書及び前記SSL証明書を受取った場合には、前記サーバで前記サーバ証明書及び前記SSL証明書を暗号化するときに用いられた解が前記サーバ解生成手段で生成されたときと同じ条件下で2つ目或いはそれ以降の解を生成するようになっているとともに、
     前記クライアント第1暗号化復号化手段は、前記クライアント解生成手段が生成した前記2つ目或いはそれ以降の解を用いて、暗号化された前記サーバ証明書及び前記SSL証明書を復号化するようになっている、
     請求項4記載のクライアント。
  6.  前記サーバは、前記サーバ第1暗号化復号化手段により暗号化された前記サーバ証明書を前記クライアントに送信するようになっているのに加えて、暗号化されていない状態の前記サーバ証明書を前記クライアントに送信するようになっており、
     前記クライアント第1暗号化復号化手段により復号化された前記サーバ証明書と、前記サーバから暗号化されずに送信されてきた前記サーバ証明書とが同一であった場合にのみ、前記クライアント認証手段は、前記サーバから送られてきた前記サーバ証明書が正当なものか否かの認証を実行するようになっている、
     請求項5記載のクライアント。
  7.  秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、
     前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、
     解を連続して生成することのできるサーバ解生成手段と、
     公開鍵による暗号化がなされたデータに対して秘密鍵による復号化を行うことができる秘密鍵復号化手段と、
     共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるサーバ第2暗号化復号化手段と、
     を有しており、
     前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバ解生成手段で生成されたものと同じものとなる解を連続して生成することのできるクライアント解生成手段と、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みることのできるクライアント認証手段と、前記公開鍵を用いて暗号化を行うことのできる公開鍵暗号化手段と、共通鍵を用いた共通鍵方式での暗号化と復号化とを行うことのできるクライアント第2暗号化復号化手段と、を有している、前記ネットワークに接続可能とされたクライアントと、
     の組合せにより、SSL暗号化通信システムを構成するための、前記ネットワークに接続可能とされたサーバであって、
     前記クライアントの正当性を認証するためのサーバ認証手段を備えており、
     前記クライアントは、前記クライアント解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信するようになっており、
     前記サーバ解生成手段は、前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取ったときに、前記クライアント解生成手段で解が生成されたのと同一条件下で解を生成するようになっているとともに、
     前記サーバ認証手段は、前記サーバ解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するようになっており、
     前記クライアントが正当だとの認証が前記サーバ認証手段で行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するようになっており、
     前記クライアントは、前記サーバ証明書及び前記SSL証明書を受取るとともに、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記クライアント認証手段により前記サーバから送られてきた前記サーバ証明書が正当か否か判定し、前記サーバ証明書を正当なものと認証した場合には、前記公開鍵暗号化手段で、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信するようになっており、
     前記サーバが、受取った前記暗号化された共通鍵を前記秘密鍵を用いて前記秘密鍵復号化手段により復号化するようになっており、
     以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバ第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うとともに、前記クライアント第2暗号化復号化手段が送受信の対象となるデータに対して暗号化と復号化を行うことで、前記クライアントとの間で共通鍵方式の暗号化通信を行うようになっている、
     サーバ。
  8.  前記サーバ解生成手段で生成された解を用いた暗号化を行うことができるサーバ第1暗号化復号化手段を備えているとともに、
     前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信するに先立って、前記サーバ解生成手段で予め定められた条件下で2つ目或いはそれ以降の解を生成するとともに、前記サーバ解生成手段で生成された前記解を用いて、前記サーバ第1暗号化復号化手段により、前記サーバ証明書及び前記SSL証明書を暗号化させ、その暗号化された前記サーバ証明書及び前記SSL証明書を、前記クライアントに送信するようになっているとともに、
     前記クライアントは、前記クライアント解生成手段で生成された解を用いて、同じ解が用いられる場合には前記サーバ第1暗号化復号化手段で暗号化されたデータを復号化することができるクライアント第1暗号化復号化手段を備えており、前記クライアント解生成手段は、クライアントが暗号化された前記サーバ証明書及び前記SSL証明書を受取った場合には、前記サーバで前記サーバ証明書及び前記SSL証明書を暗号化するときに用いられた解が前記サーバ解生成手段で生成されたときと同じ条件下で2つ目或いはそれ以降の解を生成するようになっているとともに、前記クライアント第1暗号化復号化手段は、前記クライアント解生成手段が生成した前記2つ目或いはそれ以降の解を用いて、暗号化された前記サーバ証明書及び前記SSL証明書を復号化するようになっている、
     請求項7記載のサーバ。
  9.  前記サーバ第1暗号化復号化手段により暗号化された前記サーバ証明書を前記クライアントに送信するようになっているのに加えて、暗号化されていない状態の前記サーバ証明書を前記クライアントに送信するようになっており、
     前記クライアントでは、前記クライアント第1暗号化復号化手段により復号化された前記サーバ証明書と、前記サーバから暗号化されずに送信されてきた前記サーバ証明書とが同一であった場合にのみ、前記クライアント認証手段が、前記サーバから送られてきた前記サーバ証明書が正当なものか否かの認証を実行するようになっている、
     請求項8記載のサーバ。
  10.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、
     所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、
     を含んで構成される暗号化通信システムの前記クライアントとして、コンピュータを機能させるためのコンピュータプログラムであって、
     前記コンピュータに、
     その解生成手段で解を生成させ、その解を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記クライアントから前記ネットワークを介して前記解を受取り、その解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証するとともに、前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信した場合に、前記サーバ証明書及び前記SSL証明書を受取る過程、
     前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書が正当なものかの認証を試みる過程、
     前記サーバ証明書が正当なものと認証された場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化する過程、
     前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する過程、
     前記サーバが、前記暗号化された共通鍵を受取り、前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する処理を実行することにより前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記サーバとの間で、共通鍵方式の暗号化通信を行う過程、
     を実行させるためのコンピュータプログラム。
  11.  所定のネットワークに接続可能なサーバであり、秘密鍵と、前記秘密鍵と対になる公開鍵を含む電子署名が付された当該サーバの正当性を証明するためのサーバ証明書と、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、解を連続して生成することのできる解生成手段と、を有しているものと、
     所定のネットワークに接続可能なクライアントであり、前記サーバ証明書に付された電子署名の正当性を証明するためのSSL証明書と、共通条件下で生成されたもの同士を比較すれば前記サーバの解生成手段で生成されたものと同じものとなる解を連続して生成することのできる解生成手段を備えるものと、
     を含んで構成される暗号化通信システムの前記サーバとして、コンピュータを機能させるためのコンピュータプログラムであって、
     前記コンピュータに、
     前記クライアントが、その解生成手段で解を生成させ、前記ネットワークを介して送ってきた前記解を受取る過程、
     前記サーバの解生成手段で前記クライアントの前記解生成手段で解が生成されたのと同一条件下で解を生成させ、前記サーバの解生成手段で生成した解と、前記クライアントから受取った解とを比較して、両者が一致した場合には、前記クライアントを正当なものと認証する過程、
     前記クライアントが正当だとの認証が前記サーバで行われた場合に、前記サーバが持っていた前記サーバ証明書及び前記SSL証明書を、前記ネットワークを介して前記クライアントに送信する過程、
     前記クライアントが、前記サーバから前記ネットワークを介して前記サーバ証明書及び前記SSL証明書を受取り、前記サーバから送られてきた前記SSL証明書と、前記クライアントが持っていた前記SSL証明書とを用いて、前記サーバから送られてきた前記サーバ証明書を正当なものと認証した場合に、前記サーバ証明書に含まれていた前記公開鍵を用いて、前記クライアントが持つ共通鍵を暗号化して、前記暗号化された共通鍵を前記ネットワークを介して前記サーバに送信する処理を行った場合に、前記暗号化された共通鍵を受取る過程、
     前記暗号化された共通鍵を前記サーバが持っている前記秘密鍵により復号化する過程、
     以上により前記サーバと前記クライアントで共有されることになった前記共通鍵を用いて、前記クライアントとの間で、共通鍵方式の暗号化通信を行う過程、
     を実行させるためのコンピュータプログラム。
  12.  前記共通鍵方式の暗号化通信を行う場合の暗号化と復号化を、クライアントを構成する前記コンピュータ上における、前記コンピュータ上で実行される暗号化の対象となる平文のデータを扱う所定のアプリケーションと、TCP/IPとの間で実行させるようになっているとともに、
     前記アプリケーションで生成された平文を暗号化してから前記サーバに送信するために前記TCP/IPに渡し、前記TCP/IPから渡された前記サーバから送られてきた暗号化されたデータを平文に復号化してから前記アプリケーションに渡すようになっている、
     請求項10記載のコンピュータプログラム。
  13.  前記共通鍵方式の暗号化通信を行う場合の暗号化と復号化を、サーバを構成する前記コンピュータ上における、前記コンピュータ上で実行される暗号化の対象となる平文のデータを扱う所定のアプリケーションと、TCP/IPとの間で実行させるようになっているとともに、
     前記アプリケーションで生成された平文を暗号化してから前記クライアントに送信するために前記TCP/IPに渡し、前記TCP/IPから渡された前記クライアントから送られてきた暗号化されたデータを平文に復号化してから前記アプリケーションに渡すようになっている、
     請求項11記載のコンピュータプログラム。
PCT/JP2017/028392 2016-08-08 2017-08-04 Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム WO2018030289A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/322,530 US20220029819A1 (en) 2016-08-08 2017-08-04 Ssl communication system, client, server, ssl communication method, and computer program
EP17839360.9A EP3499794A4 (en) 2016-08-08 2017-08-04 SSL COMMUNICATION SYSTEM, CLIENT, SERVER, SSL COMMUNICATION METHOD, AND COMPUTER PROGRAM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-155832 2016-08-08
JP2016155832A JP6627043B2 (ja) 2016-08-08 2016-08-08 Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム

Publications (1)

Publication Number Publication Date
WO2018030289A1 true WO2018030289A1 (ja) 2018-02-15

Family

ID=61162157

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/028392 WO2018030289A1 (ja) 2016-08-08 2017-08-04 Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム

Country Status (4)

Country Link
US (1) US20220029819A1 (ja)
EP (1) EP3499794A4 (ja)
JP (1) JP6627043B2 (ja)
WO (1) WO2018030289A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445802A (zh) * 2019-08-16 2019-11-12 国家计算机网络与信息安全管理中心 基于数字证书的威胁发现模型构建技术
US11356253B2 (en) 2017-09-15 2022-06-07 Nti, Inc. Communication system, first communication device, second communication device, method, and computer program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6644037B2 (ja) * 2017-09-08 2020-02-12 株式会社東芝 通信制御システム
KR102086739B1 (ko) * 2018-06-27 2020-03-09 주식회사 수산아이앤티 보안 소켓 계층 복호화 장치에서 다양한 전자 서명 알고리즘을 지원하기 위한 전자 재서명 방법
CN110049007B (zh) * 2019-03-08 2021-09-10 视联动力信息技术股份有限公司 视联网传输方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234048A (ja) * 2007-03-16 2008-10-02 Quality Kk 電子ファイル管理システムおよび電子ファイル管理プログラム
JP2009253650A (ja) * 2008-04-04 2009-10-29 N-Crypt Lab Inc 送受信システム、送信装置、受信装置、認証装置、ユーザ装置、それらで実行される方法、並びにプログラム
JP2016018502A (ja) * 2014-07-10 2016-02-01 キヤノン株式会社 通信装置および通信方法、ならびに通信システム

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7975139B2 (en) * 2001-05-01 2011-07-05 Vasco Data Security, Inc. Use and generation of a session key in a secure socket layer connection
JP2004254027A (ja) * 2003-02-19 2004-09-09 Toshiba Corp サーバ装置、鍵管理装置、暗号通信方法及びプログラム
JP2006253746A (ja) * 2005-03-08 2006-09-21 N-Crypt Inc データ処理装置、データ処理システム、及びデータ処理方法
JP2009294945A (ja) * 2008-06-05 2009-12-17 Sony Corp 受信装置、コンテンツ再生方法、および供給装置
CN103716280B (zh) * 2012-09-28 2018-09-04 腾讯科技(深圳)有限公司 数据传输方法、服务器及系统
JP2015115893A (ja) * 2013-12-13 2015-06-22 富士通株式会社 通信方法、通信プログラム、および中継装置
US9838205B2 (en) * 2014-09-16 2017-12-05 Keypasco Ab Network authentication method for secure electronic transactions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234048A (ja) * 2007-03-16 2008-10-02 Quality Kk 電子ファイル管理システムおよび電子ファイル管理プログラム
JP2009253650A (ja) * 2008-04-04 2009-10-29 N-Crypt Lab Inc 送受信システム、送信装置、受信装置、認証装置、ユーザ装置、それらで実行される方法、並びにプログラム
JP2016018502A (ja) * 2014-07-10 2016-02-01 キヤノン株式会社 通信装置および通信方法、ならびに通信システム

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP3499794A4 *
YOICHI SETO ET AL.: "Engineer no Tame no Joho Security Nyumon Dai 11 Kai Ninsho Gijustu", GEKKAN JIDO NINSHIKI, vol. 25, no. 6, 10 May 2012 (2012-05-10), pages 67 - 72 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11356253B2 (en) 2017-09-15 2022-06-07 Nti, Inc. Communication system, first communication device, second communication device, method, and computer program
CN110445802A (zh) * 2019-08-16 2019-11-12 国家计算机网络与信息安全管理中心 基于数字证书的威胁发现模型构建技术

Also Published As

Publication number Publication date
EP3499794A1 (en) 2019-06-19
EP3499794A4 (en) 2020-02-26
JP2018026631A (ja) 2018-02-15
US20220029819A1 (en) 2022-01-27
JP6627043B2 (ja) 2020-01-08

Similar Documents

Publication Publication Date Title
WO2018025991A1 (ja) 通信システム、通信用クライアント、通信用サーバ、通信方法、プログラム
CN109309565B (zh) 一种安全认证的方法及装置
US8132020B2 (en) System and method for user authentication with exposed and hidden keys
US8209744B2 (en) Mobile device assisted secure computer network communication
US8332921B2 (en) Enhanced security for user instructions
US8407475B2 (en) Augmented single factor split key asymmetric cryptography-key generation and distributor
US8327142B2 (en) System and method for facilitating secure online transactions
US20120284506A1 (en) Methods and apparatus for preventing crimeware attacks
WO2018030289A1 (ja) Ssl通信システム、クライアント、サーバ、ssl通信方法、コンピュータプログラム
JP2011515961A (ja) クライアント側証明書認証情報の認証保存方法と認証保存システム
US20110179478A1 (en) Method for secure transmission of sensitive data utilizing network communications and for one time passcode and multi-factor authentication
WO2006119184A2 (en) Protecting one-time-passwords against man-in-the-middle attacks
WO2015158228A1 (zh) 一种服务器、用户设备以及用户设备与服务器的交互方法
CN114244508A (zh) 数据加密方法、装置、设备及存储介质
US20060053288A1 (en) Interface method and device for the on-line exchange of content data in a secure manner
JP5186648B2 (ja) 安全なオンライン取引を容易にするシステム及び方法
Raddum et al. Security analysis of mobile phones used as OTP generators
CN106230840A (zh) 一种高安全性的口令认证方法
JP6165044B2 (ja) 利用者認証装置、システム、方法及びプログラム
Guo et al. 2FA Communication Protocol to Secure Metro Control Devices
KR100744603B1 (ko) 생체 데이터를 이용한 패킷 레벨 사용자 인증 방법
Nielson Cryptographic Systems Technologies
Haunts et al. Final Summary
Kamboj et al. Security Keys: Modern Security Feature of Web
WO2012166669A2 (en) Methods and apparatus for preventing crimeware attacks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17839360

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017839360

Country of ref document: EP

Effective date: 20190311