KR20160137082A - Method for distributing encrypt key, card reader and system for distributing encrypt key thereof - Google Patents
Method for distributing encrypt key, card reader and system for distributing encrypt key thereof Download PDFInfo
- Publication number
- KR20160137082A KR20160137082A KR1020150071669A KR20150071669A KR20160137082A KR 20160137082 A KR20160137082 A KR 20160137082A KR 1020150071669 A KR1020150071669 A KR 1020150071669A KR 20150071669 A KR20150071669 A KR 20150071669A KR 20160137082 A KR20160137082 A KR 20160137082A
- Authority
- KR
- South Korea
- Prior art keywords
- authentication
- server
- van
- card reader
- reader module
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3247—Cryptographic 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3263—Cryptographic 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Finance (AREA)
- Mobile Radio Communication Systems (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
Description
본 발명은 카드 정보를 암호화하기 위한 암호키를 안전하게 배포하기 위한 방법 및 시스템에 관한 것이다.The present invention relates to a method and system for securely distributing an encryption key for encrypting card information.
전자결제 인프라가 확충되면서 신용 카드, 체크카드, 직불카드 등(이하, "신용 카드")의 카드결제를 기반으로 하는 신용 결제 서비스가 일반화되었다. 상기 신용 결제 서비스는 사용자가 가맹점에서 물품 또는 서비스를 카드 결제로 구매한 후, 대금 결제일에 카드사 등에 상기 물품 또는 서비스의 이용대금을 납부하며, 가맹점은 상기 물품 또는 서비스의 판매대금을 상기 카드사 등으로부터 지불 받는 전자결제 인프라를 이용한 결제방식을 말한다.With the expansion of the electronic payment infrastructure, credit payment services based on credit card, check card, and debit card payment (hereinafter "credit card") settlement became common. After the user purchases the goods or services from the merchant through card payment, the credit payment service pays a fee for use of the goods or services to the credit card company on the payment date, and the merchant pays the sales price of the goods or services from the credit card company or the like The payment method using the payment settlement electronic payment infrastructure.
상기 신용 결제 서비스를 제공하는 시스템은 다수의 가맹점들에 구비된 다수의 카드 단말기들과, 다수의 가맹점들과 카드사 사이에서 카드 결제와 관련된 결제 대행 서비스를 제공하는 밴(Value Added Network : VAN) 사의 서버(이하, "결제 대행 서버"), 사용자에게 신용 카드를 발행한 카드사의 서버가 통신망을 통해 연결되어 구성된다. 상기 VAN은 카드 단말기들과 카드사 서버 사이에서 결제 트랜잭션(transaction)을 위한 결제 네트워크를 의미한다.The system for providing the credit settlement service includes a plurality of card terminals provided at a plurality of merchant stores, and a Value Added Network (VAN) company providing a settlement agency service relating to card settlement between a plurality of merchants and card companies Server (hereinafter referred to as "settlement proxy server"), and a server of a card company who issued a credit card to the user are connected through a communication network. The VAN means a payment network for a payment transaction between the card terminals and the card issuer server.
위와 같은 결제 서비스를 제공함에 있어서, 카드리더 모듈로부터 POS 단말기로 전송되어 승인 요청 전문을 생성하기 위해 이용되는 카드 정보는, POS 단말기와 카드리더 모듈 사이의 연결 인터페이스, POS 단말기 내부 또는 POS 단말기와 VAN 서버 사이의 네트워크 단에서 해킹의 위험을 내포하고 있다.In providing the settlement service, the card information, which is transmitted from the card reader module to the POS terminal and used to generate the approval request telegram, includes a connection interface between the POS terminal and the card reader module, a POS terminal, a POS terminal, There is a risk of hacking at the network end between the servers.
또한, 카드 단말기와 카드사 서버 사이의 결제 대행 서버를 이용한 결제 시스템에서, 결제 대행 서버와 카드 단말기 사이 또는 결제 대행 서버와 카드 단말기 사이의 통신 네트워크에 장애가 발생하여 데이터(또는 메시지) 송수신이 원활하지 않는 경우, 해당 카드 결제가 정상적으로 이루어지지 않을 수 있다.Further, in a payment system using a payment agent server between a card terminal and a card issuer server, in a case where a failure occurs in the communication network between the payment agent server and the card terminal or between the payment agent server and the card terminal, , The card settlement may not be normally performed.
최근 들어 카드 결제 건수의 급증에 따른 통신 지연 등으로 인해 위와 같은 통신 장애 상황이 더욱 빈번하게 발생되고 있으며, 그에 따라 결제 시스템의 신뢰도가 저하되는 문제가 있었다.In recent years, the above communication troubles have occurred more frequently due to the communication delay due to the rapid increase in the number of card settlement, and thus the reliability of the settlement system has been reduced.
본 발명은 카드 정보를 암호화하기 위한 암호키를 카드리더 모듈로 안전하게 배포하기 위한 암호키 배포 방법, 그를 이용한 카드리더 모듈 및 암호키 배포 시스템을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a cipher key distribution method for securely distributing a cipher key for encrypting card information to a card reader module, a card reader module using the cipher key distribution system, and a cipher key distribution system using the same.
본 발명의 일실시예에 따른 암호키 배포 방법은 카드리더 모듈에서 수행되며, 이용하고자 하는 VAN의 식별 정보와 상기 카드리더 모듈의 식별 정보를 포함하는 기관 인증 정보를 생성하는 단계; 상기 생성된 기관 인증 정보를 인증 서버로 전송하는 단계; VAN 서버로부터 기관 인증 정보와 암호키를 수신하는 단계; 상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 인증하는 단계; 및 상기 인증 결과 상기 VAN 서버로부터 수신한 기관 인증 정보가 유효한 경우, 상기 수신된 암호키를 상기 VAN 서버에 대한 암호키로 저장하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for distributing cryptographic keys, the method comprising: generating institutional authentication information including identification information of a VAN to be used and identification information of the card reader module; Transmitting the generated organization authentication information to an authentication server; Receiving institution authentication information and an encryption key from a VAN server; Comparing the institution authentication information received from the VAN server with the generated institution authentication information; And storing the received encryption key as an encryption key for the VAN server when the authentication result received from the VAN server is valid as a result of the authentication.
본 발명의 일실시예에 따른 카드리더 모듈은, 이용하고자 하는 VAN의 식별 정보와 상기 카드리더 모듈의 식별 정보를 포함하는 기관 인증 정보를 생성하여 인증 서버로 전송하고, VAN 서버로부터 기관 인증 정보와 암호키를 수신하며, 상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 유효한 경우 상기 수신된 암호키를 상기 VAN 서버에 대한 암호키로 저장한다.The card reader module according to an embodiment of the present invention generates institution authentication information including identification information of a VAN to be used and identification information of the card reader module and transmits the same to an authentication server. Compares the institution authentication information received from the VAN server with the generated institution authentication information, and stores the received cryptographic key as a cryptographic key for the VAN server when it is valid.
본 발명의 일실시예에 따른 암호키 배포 시스템은, 카드 정보를 암호화하기 위한 암호키가 보관된 VAN 서버; 상기 VAN 서버와 통신 가능한 인증 서버; 및 이용하고자 하는 VAN의 식별 정보와 장치 식별 정보를 포함하는 기관 인증 정보를 생성하여 상기 인증 서버로 전송하고, 상기 VAN 서버로부터 기관 인증 정보와 암호키를 수신하며, 상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 유효한 경우 상기 수신된 암호키를 상기 VAN 서버에 대한 암호키로 저장하는 카드리더 모듈을 포함하고, 상기 인증 서버는 상기 카드리더 모듈로부터 수신한 기관 인증 정보를 상기 VAN 서버로 전송한다.An encryption key distribution system according to an embodiment of the present invention includes a VAN server storing an encryption key for encrypting card information; An authentication server capable of communicating with the VAN server; And transmits the generated authentication information to the authentication server, receives institution authentication information and an encryption key from the VAN server, and transmits the institution authentication information including the institution authentication information received from the VAN server And a card reader module for comparing the received information with the generated organization authentication information, and storing the received encryption key as an encryption key for the VAN server if valid, wherein the authentication server obtains the organization authentication information received from the card reader module To the VAN server.
한편, 상기 암호키 배포 방법은 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체로 구현될 수 있다.Meanwhile, the cipher key distribution method may be implemented by a computer-readable recording medium on which a program for execution by a computer is recorded.
본 발명의 일실시예에 의하면, 카드리더 모듈에서 생성된 기관 인증 정보를 인증 서버를 통해 해당 기관의 VAN 서버로 전송하고, VAN 서버로부터 암호키와 함께 수신되는 기관 인증 정보의 유효성을 인증한 후 해당 암호화키를 카드리더 모듈에 주입시킴으로써, VAN의 암호키를 안전하고 용이하게 카드리더 모듈로 배포할 수 있다.According to an embodiment of the present invention, the institution authentication information generated by the card reader module is transmitted to the VAN server of the corresponding institution through the authentication server, and the validity of the institution authentication information received together with the encryption key is authenticated from the VAN server The encryption key of the VAN can be securely and easily distributed to the card reader module by injecting the encryption key into the card reader module.
그에 따라, 카드리더 모듈의 제조사는 각 결제 대행 기관의 암호키를 직접 주입하지 않고, 각 결제 대행 기관이 자신의 VAN 서버에 대한 암호키를 제조사에 관계없이 카드리더 모듈에 직접 배포할 수 있도록 함으로써, 결제 대행 기관별로 암호키를 편리하게 운영 및 배포할 수 있다.Accordingly, the manufacturer of the card reader module can directly distribute the encryption key for the VAN server to the card reader module regardless of the manufacturer, without directly injecting the encryption key of each settlement agency , The cryptographic key can be conveniently operated and distributed for each settlement agency.
또한, 복수의 암호키들이 카드리더 모듈에 수신되어 저장되고, 카드 결제 시 카드리더 모듈이 복수의 암호키들로 카드 정보를 암호화하여 POS 단말로 전달하도록 함으로써, 복수의 결제 대행 기관들을 이용하는 환경에서 결제가 용이하도록 할 수 있다.In addition, when a plurality of cipher keys are received and stored in the card reader module, the card reader module transmits the card information to the POS terminal by encrypting the card information with a plurality of cipher keys, .
도 1은 본 발명의 일실시예에 따른 암호키 배포 시스템의 구성을 나타내는 블록도이다.
도 2는 본 발명의 일실시예에 따른 암호키 배포 방법을 나타내는 흐름도이다.
도 3 내지 도 8은 암호키를 배포하는 구체적인 방법에 대한 실시예들을 설명하기 위한 도면들이다.
도 9는 복수의 VAN 서버들에 대한 암호키를 카드리더 모듈로 배포하는 방법에 대한 일실시예를 설명하기 위한 블록도이다.
도 10은 복수의 암호키들을 이용하여 카드 정보를 처리하는 방법에 대한 일실시예를 설명하기 위한 타이밍도이다.1 is a block diagram showing a configuration of an encryption key distribution system according to an embodiment of the present invention.
2 is a flowchart illustrating a cipher key distribution method according to an embodiment of the present invention.
FIGS. 3 to 8 are diagrams for explaining embodiments of concrete methods of distributing cryptographic keys.
9 is a block diagram for explaining an embodiment of a method of distributing an encryption key for a plurality of VAN servers to a card reader module.
10 is a timing chart for explaining an embodiment of a method of processing card information using a plurality of cryptographic keys.
이하, 첨부된 도면들을 참조하여 본 발명의 실시예에 따른 암호키 배포 방법, 그를 이용한 카드리더 모듈 및 암호키 배포 시스템에 관하여 상세히 설명한다.Hereinafter, an encryption key distribution method according to an embodiment of the present invention, a card reader module using the same, and an encryption key distribution system will be described in detail with reference to the accompanying drawings.
본 발명의 상술한 목적, 특징들 및 장점은 첨부된 도면과 관련된 다음의 상세한 설명을 통하여 보다 분명해질 것이다. 이하 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예들을 상세히 설명한다. 명세서 전체에 걸쳐서 동일한 참조번호들은 동일한 구성요소들을 나타낸다. 또한, 본 발명과 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우, 그 상세한 설명을 생략한다.The foregoing objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Like reference numerals designate like elements throughout the specification. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
도 1은 본 발명의 일실시예에 따른 암호키 배포 시스템의 구성을 블록도로 도시한 것으로, 암호키 배포 시스템(10)은 VAN 서버(100), 인증 서버(200), POS 단말기(300) 및 카드리더 모듈(400)을 포함하여 구성될 수 있다.1 is a block diagram illustrating the configuration of an encryption key distribution system according to an embodiment of the present invention. The encryption
먼저, 통상적으로 카드리더 모듈(400)과 POS 단말기(300)는 결합되어 있는 경우가 많고, 이를 일반적으로 'POS 단말', 또는 POS라고 지칭하기도 한다. 다만 이하에서는 구별의 명확성을 위해 카드리더 모듈(400)과 POS 단말기(300)가 결합된 형태를 POS 시스템으로 지칭한다.First, the
한편, 카드리더 모듈(400)은 POS 단말기(300)와 분리되어 존재할 수 있으며, 적절한 인터페이스로 연결된다면 PC, 스마트폰과 같은 모바일 컴퓨팅 디바이스, PDA(personal digital assistant), 또는 태블릿(tablet) 등과 결합하여 사용될 수 있다.The
이하에서는, 암호키 배포 시스템(10)이 POS 단말기(300)를 포함하는 것을 예로 들어 본 발명의 일실시예를 설명하나, 본 발명은 이에 한정되지 아니하며, 이하에서 설명할 POS 단말기(300)의 동작은 그 이외에 다양한 단말 장치에 의해 수행될 수도 있다.Hereinafter, an embodiment of the present invention will be described by way of example in which the cryptographic
또한, 카드리더 모듈(400)은 카드 번호 등을 포함하는 카드 정보를 획득하기 위한 장치로서, 예를 들어 마그네틱 카드로부터 카드 정보를 리딩하는 MSR(Magnetic Strip Reader), IC(Integrated Circuit) 카드로부터 카드 정보를 리딩하는 IC 카드리더, 근거리 무선 통신 방식을 이용해 카드 정보를 수신하는 NFC 리더 또는 바코드(barcode)를 이용해 카드 정보를 리딩하는 바코드 리더 등 다양한 장치일 수 있다.The
다만, 본 발명에 따른 카드리더 모듈(400)은 상기한 바와 같이 카드 정보를 리딩 또는 수신하는 장치에 한정되지 아니하며, 사용자로부터 카드 정보를 입력받기 위한 입력 장치일 수도 있다.However, the
도 1을 참조하면, POS 단말기(300)는 카드리더 모듈(400)로부터 수신된 카드 정보를 이용하여 승인 요청 전문을 생성하는 기능을 수행한다. 흔히 가맹점에서 결제 행위가 일어날 때, 카드리더 모듈(400)에 의해 리딩된 카드 정보와 POS 단말기(300)의 입력 인터페이스를 통해 입력되거나 미리 전산으로 처리되어 저장되어 있는 결제 금액, 결제 내역 등에 대한 정보, 및 결제자의 서명 정보를 받아서 승인 요청 전문을 생성한 후 VAN 서버(100)로 전송하는 기능이 POS 단말기(300)에서 수행된다.Referring to FIG. 1, the
상기와 같이 생성된 승인 요청 전문은 해당 POS 단말기(300)와 네트워크로 연결되어 있거나 또는 해당 전문이 지시하는 VAN 서버(예를 들어, 도 1에 도시된 VAN 서버들 중 어느 하나)로 승인 요청 전문을 보낸다.The authorization request message generated as described above is connected to the
POS 단말기(300)로부터 상기 승인 요청 전문을 수신한 VAN 서버는, 해당 승인 요청을 카드사를 중계하여 처리하여 상기 승인 요청 전문에 대한 응답인 승인 결과 전문을 POS 단말기(300)로 전송한다.The VAN server receiving the approval request telegram from the
한편, 상기와 같이 카드리더 모듈(400)로부터 POS 단말기(300)로 전송되어 승인 요청 전문을 생성하기 위해 이용되는 카드 정보는, POS 단말기(300)와 카드리더 모듈(400) 사이의 연결 인터페이스, POS 단말기(300) 내부 또는 POS 단말기(300)와 VAN 서버(100) 사이의 네트워크 단에서 해킹의 위험을 내포하고 있다.The card information transmitted from the
그에 따라, 해킹에 따른 유출을 방지하여 고객의 카드 정보를 안전하게 보호하기 위해, 카드리더 모듈(400)에 의해 획득되는 카드 정보(예를 들어, 카드 번호)는 암호화되어 POS 단말기(300)로 전송되어, 암호화된 상태로 VAN 서버(100)에 전달될 수 있다.Accordingly, the card information (for example, the card number) acquired by the
상기와 같은 카드 정보의 암호화를 위해 대칭형 암호화 알고리즘 또는 비대칭형 암호화 알고리즘 등이 사용될 수 있으며, VAN 서버(100)는 암호화된 카드 정보를 복호화하기 위한 암호키 또는 개인키를 보관하고 있을 수 있다.A symmetric encryption algorithm or an asymmetric encryption algorithm may be used for encrypting the card information as described above. The VAN
위와 같은 동작을 위하여, POS 단말기(300)는 카드리더 모듈(400)로부터 수신된 카드 정보를 이용하여 승인 요청 전문을 생성하기 위한 POS 모듈(미도시), VAN 서버(100) 등의 외부 서버와의 통신을 수행하기 위한 통신모듈(미도시), 데이터를 분배하는 일종의 관문(gateway) 역할을 수행하는 게이트웨이 모듈(미도시), VAN 코드 리스트 등의 데이터를 저장하거나 암호화된 카드 정보를 일시 저장하기 위한 레지스트리(미도시) 등을 포함하여 구성될 수 있다.For the above operation, the
한편, 이하에서 설명할 POS 단말기(300)의 암호키 배포 방법은 POS 단말기(300)에 구비된 게이트웨이 모듈에 의해 수행될 수도 있으며, 상기 게이트웨이의 구성은 카드리더 모듈(400)의 형태에 따라 PC 프로그램이나 POS 단말기(300) 내부의 통신 프로세스 등의 다양한 형태로 구현될 수 있다.Meanwhile, the cipher key distribution method of the
본 발명의 일실시예에 의하면, 카드리더 모듈(400)에서 생성된 기관 인증 정보를 인증 서버(300)를 통해 해당 기관의 VAN 서버(100)로 전송하고, VAN 서버(100)로부터 암호키와 함께 수신되는 기관 인증 정보의 유효성을 인증한 후 해당 암호화키를 카드리더 모듈(400)에 주입시킴으로써, VAN의 암호키를 안전하고 용이하게 카드리더 모듈로 배포할 수 있다.According to an embodiment of the present invention, the institution authentication information generated by the
예를 들어, 상기 기관 인증 정보는 VAN 서버(100)가 카드리더 모듈(400)로 암호키를 배포할 수 있도록 권한을 부여하는 것으로서, 해당 VAN에 대한 기관 식별 정보와 카드리더 모듈(400)의 식별 정보를 포함하여 카드리더 모듈(400)에서 생성될 수 있다. 한편, 상기 카드리더 모듈(400)에서 생성된 기관 인증 정보는 해시(hash) 값으로 암호화된 상태로 송수신될 수 있다.For example, the authority authentication information is used to authorize the VAN
한편, 인증 서버(200)는 카드리더 모듈(400)의 제조사에서 운영하는 서버일 수 있으며, 카드 리더기 사용 기관의 VAN 서버(100)로부터 카드리더 모듈(400)로 직접 암호키가 안전하게 배포될 수 있도록 중간에서 인증하는 역할을 할 수 있다.Meanwhile, the
그에 따라, 카드리더 모듈(400)의 제조사는 각 결제 대행 기관의 암호키를 직접 주입하지 않고, 각 결제 대행 기관이 자신의 VAN 서버(100)에 대한 암호키를 제조사에 관계없이 카드리더 모듈(400)에 직접 배포할 수 있도록 함으로써, 결제 대행 기관별로 암호키를 편리하게 운영 및 배포할 수 있다.Accordingly, the manufacturer of the
이하, 도 2에 도시된 흐름도를 참조하여, 도 1에 도시된 암호키 배포 시스템(10)의 동작 및 그에 따른 암호키 배포 방법에 대한 일실시예에 대해 설명하기로 한다.Hereinafter, an operation of the cryptographic
도 2는 본 발명의 일실시예에 따른 암호키 배포 방법을 흐름도로 도시한 것으로, 카드리더 모듈(400)에서 수행되는 단계들을 나타낸 것이다.FIG. 2 is a flowchart illustrating an encryption key distribution method according to an embodiment of the present invention, and shows steps performed in the
도 2를 참조하면, 카드리더 모듈(400)은 VAN 식별 정보와 장치 식별 정보를 포함하는 기관 인증 정보를 생성하여(S200 단계), 상기 생성된 기관 인증 정보를 인증 서버(300)로 전송한다(S210 단계).2, the
예를 들어, 카드리더 모듈(400)은 이용하고자 하는 결제 대행 기관에 대한 식별 정보인 VAN 코드와 카드리더 모듈(400)에 대한 식별 정보인 시리얼넘버(S/N, Serial Number)를 포함하는 기관 인증 정보를 생성할 수 있으며, 상기 생성된 기관 인증 정보는 상기 VAN 코드에 대응되는 VAN 서버(100)가 상기 시리얼넘버(S/N)에 대응되는 카드리더 모듈(400)에 암호키를 배포할 수 있는 권한을 카드리더 모듈(400)이 인증하였음을 의미할 수 있다.For example, the
한편, 카드리더 모듈(400)은 상기 생성된 기관 인증 정보를 해시 값으로 암호화한 후 인증 서버(300)로 전송할 수 있으며, 상기 해시 값으로 암호화된 기관 인증 정보는 추후 VAN 서버(100)로부터 수신되는 기관 인증 정보의 유효성 확인을 위해 VAN 코드와 함께 기관별로 메모리(미도시)에 저장될 수 있다.Meanwhile, the
카드리더 모듈(400)은 제조자 공개키가 저장되어 있는 상태로 출시되며, 인증 서버(200)는 상기 제조사 공개키에 대응되는 제조사 개인키를 보유하고 있을 수 있다.The
그에 따라, 카드리더 모듈(400)은 상기 저장된 제조사 공개키를 이용하여 구성된 보안 채널을 이용하여, 상기 기관 인증 정보를 인증 서버(300)로 전송할 수 있다.Accordingly, the
한편, 상기 인증 서버(300)로 전송된 기관 인증 정보는, 인증 서버(300)로부터 VAN 서버(100)로 전송될 수 있다.The authentication information transmitted to the
카드리더 모듈(400)은 VAN 서버(100)로부터 기관 인증 정보와 암호키를 수신한다(S220 단계).The
예를 들어, 카드리더 모듈(400)에는 인증용 공개키와 그에 대응되는 인증용 개인키가 생산 단계에서 주입되거나 내부에서 생성되어, 출시 시부터 저장되어 있으며, 상기 인증용 공개키는 상기 기관 인증 정보와 함께 인증 서버(300)를 통해 VAN 서버(100)로 전송될 수 있다.For example, in the
이 경우, 상기 VAN 서버(100)로 전송된 인증용 공개키를 이용하여 보안 채널이 구성되며, 상기 구성된 보안 채널을 통해 VAN 서버(100)로부터 기관 인증 정보와 암호키가 카드리더 모듈(400)로 전송될 수 있다.In this case, a secure channel is configured using the public key for authentication transmitted to the
그 후, 카드리더 모듈(400)은 상기 VAN 서버(100)로부터 수신한 기관 인증 정보를 상기 S200 단계에서 생성한 기관 인증 정보와 비교하여 유효한지 여부를 인증하고(S230 단계), 상기 인증 결과 상기 VAN 서버(100)로부터 수신한 기관 인증 정보가 유효한 경우 상기 수신된 암호키를 상기 VAN 식별 정보에 대응되는 해당 기관의 암호키로 저장한다(S240 단계).Thereafter, the
예를 들어, 상기 S220 단계에서 VAN 서버(100)로부터 수신한 기관 인증 정보(해시 값으로 암호화됨)가, 상기 S200 단계에서 카드리더 모듈(400)이 생성하여 저장하고 있는 기관 인증 정보(해시 값으로 암호화됨)와 일치하는 경우, 상기 S220 단계에서 기관 인증 정보와 함께 VAN 서버(100)로부터 수신된 암호키가 해당 기관의 암호키로 카드리더 모듈(400)에 저장되어 주입될 수 있다.For example, if the institution authentication information (encrypted with the hash value) received from the
한편, 상기 S220 단계에서 VAN 서버(100)로부터 수신한 기관 인증 정보(해시 값으로 암호화됨)가, 상기 S200 단계에서 카드리더 모듈(400)이 생성하여 저장하고 있는 기관 인증 정보(해시 값으로 암호화됨)와 일치하지 않는 경우, 유효하지 않은 인증 정보로 확인되어, VAN 서버(100)로부터 수신된 암호키가 카드리더 모듈(400)에 주입되지 아니한다.Meanwhile, in step S220, the institution authentication information (encrypted with the hash value) received from the
상기에서는 카드리더 모듈(400)이 인증 서버(300) 또는 VAN 서버(100)와 데이터를 송수신하는 것으로 본 발명의 일실시예에 따른 암호키 배포 방법을 설명하였으나, 카드리더 모듈(400)은 그와 연결된 POS 단말기(300)를 통해 인증 서버(300) 또는 VAN 서버(100)와 데이터를 송수신할 수 있다.Although the
한편, 상기한 바와 같은 보안 채널은 비대칭 암호화 알고리즘을 이용한 키교환 방식을 이용할 수 있으며, 예를 들어 상기 키교환은 ISO-11770 표준 등에서 규정한 방식에 따를 수 있다.Meanwhile, the secure channel may use a key exchange scheme using an asymmetric encryption algorithm. For example, the key exchange may be performed according to a method defined by the ISO-11770 standard.
이하, 도 3 내지 도 8을 참조하여 암호키를 배포하는 구체적인 방법에 대한 실시예들을 설명하기로 한다.Hereinafter, embodiments of a concrete method of distributing an encryption key will be described with reference to FIG. 3 to FIG.
도 3을 참조하면, VAN 서버(100)에는 암호키가 보관되어 있으며, 해당 기관을 통해 카드 결제를 수행하기 위하여 카드리더 모듈(400)에서 획득된 카드 정보를 상기 암호키를 이용해 암호화 및 복호화하여야 한다.3, an encryption key is stored in the
한편, 인증 서버(300)에는 제조사 개인키가 보관되어 있으며, 카드리더 모듈(400)에는 상기 제조사 개인키에 대응되는 제조사 공개키와 함께 인증용 공개키 및 인증용 개인키가 보관되어 있을 수 있다.Meanwhile, the manufacturer private key is stored in the
도 4를 참조하면, 카드리더 모듈(400)은 리더기 사용 기관(예를 들어, 결제에 이용하고자 하는 VAN)에 대한 식별 정보인 VAN 코드, 자신의 장치 식별 정보인 시리얼 넘버(S/N) 및 내부에 저장되어 있는 인증용 개인키를 포함하는 기관 인증 정보를 생성하여 해시 값으로 암호화한다(S401 단계).4, the
한편, 카드리더 모듈(400)과 연결된 POS 단말기(300)는 카드리더 모듈(400)에 저장된 제조사 공개키를 이용해 인증 서버(200)와의 보안 채널을 구성한 후, 상기 구성된 보안 채널을 통해 카드리더 모듈(400)에서 생성된 기관 인증 정보와 카드리더 모듈(400) 내부에 저장되어 있는 인증용 공개키를 인증 서버(200)로 전송할 수 있다.The
그를 위해, POS 단말기(300)는 인증 서버(200)와의 네트워크를 연결한다(S402 단계).For this purpose, the
카드리더 모듈(400)은 세션키를 생성하고(S403 단계), 상기 생성된 세션키를 제조사 공개키로 암호화해("[세션키]제조사공개키"로 표시함) POS 단말기(300)로 전송한다(S404 단계).The
POS 단말기(300)는 상기 카드리더 모듈(400)로부터 수신한 제조사 공개키로 암호화된 세션키를 인증 서버(200)로 전송한다(S405 단계).The
인증 서버(200)는 상기 POS 단말기(300)로부터 수신한 제조사 공개키로 암호화된 세션키를 제조사 개인키로 복호화하여 저장하고(S406 단계), 세션키 수신 응답 메시지를 세션키로 암호화하여 POS 단말기(300)로 전송한다(S407 단계).The
POS 단말기(300)가 상기 인증 서버(200)로부터 수신한 세션키로 암호화된 세션키 수신 응답 메시지를 카드리더 모듈(400)로 전송하여(S408 단계), 인증 서버(300)와의 보안 채널이 구성될 수 있다.The
그 후, 인증 서버(200)는 카드리더 모듈(400)의 사용 기관에 대한 기관 인증 정보의 전송을 POS 단말기(300)에 요청하여, 상기 기관 인증 정보 요청 메시지가 카드리더 모듈(400)로 전달된다(S410 단계).Thereafter, the
예를 들어, 인증 서버(200)는 기관 인증 정보를 수신하고자 하는 기관에 대한 식별 정보인 VAN 코드를 POS 단말기(300)로 전송하여, VAN 서버(100)에 대한 기관 인증 정보를 요청할 수 있다.For example, the
카드리더 모듈(400)은 상기 S401 단계에서 생성한 기관 인증 정보("[VAN코드+S/N+인증용개인키]HASH")와 내부에 저장되어 있는 인증용 공개키를 세션키로 암호화하여 POS 단말기(300)로 전송하고(S411 단계), POS 단말기(300)는 상기 카드리더 모듈(400)로부터 수신한 세션키로 암호화된 기관 인증 정보와 인증용 공개키를 인증 서버(200)로 전송한다(S412 단계).The
그 후, 인증 서버(200)는 세션키로 암호화된 기관 인증 정보와 인증용 공개키를 세션키로 복호화하여 저장하며(S413 단계), POS 단말기(300)가 인증 서버(200) 사이의 연결을 해제하여(S414 단계), 카드리더 모듈(400)로부터 인증 서버(200)로의 기관 인증 정보와 인증용 공개키 전송이 완료될 수 있다.Thereafter, the
도 4에서는 보안 채널의 구성에 앞서 카드리더 모듈(400)이 기관 인증 정보를 생성하는 것을 예로 들어 본 발명의 일실시예를 설명하였으나, 본 발명은 이에 한정되지 아니하며, 카드리더 모듈(400)은 상기 S410 단계에서 기관 인증 정보를 요청받은 후 상기 기관 인증 정보를 생성할 수도 있다.4, an embodiment of the present invention is described as an example in which the
도 5 참조하면, 도 3 및 도 4를 참조하여 설명한 바와 같은 방법에 의해 카드리더 모듈(400)에서 생성된 기관 인증 정보가 인증 서버(200)로 전송되어 기관 인증 정보 DB(350)에 저장될 수 있다.5, the institution authentication information generated by the
한편, 상기 인증 서버(200)와 연결된 DB(350)에는, 기관 인증 정보가 기관별/카드리더기별로 저장되어 있을 수 있다.Meanwhile, in the
또한, 출시 시부터 카드리더 모듈(400)에 저장되어 있는 인증용 공개키가 상기 기관 인증 정보와 함께 인증 서버(200)로 전송되어, 향후 VAN 서버(100)와의 보안 채널 구성에 이용될 수 있도록 인증 서버(200)에 보관될 수 있다.The authentication public key stored in the
VAN 서버(100)는 카드 정보를 암호화하기 위한 암호키를 카드리더 모듈(400)에 배포하기 위하여, 인증 서버(200)에 기관 인증 정보를 요청할 수 있다.The
예를 들어, VAN 서버(100)는 해당 기관의 식별 정보인 VAN 코드와 결제를 위해 사용하고자 하는 카드리더 모듈(400)의 식별 정보인 S/N를 인증 서버(200)로 전송하여, VAN 서버(100)가 카드리더 모듈(400)로 암호키를 배포할 수 있도록 하는 기관 인증 정보를 획득할 수 있다.For example, the
상기 기관 인증 정보 요청에 응답하여, 인증 서버(200)는 해당 기관 및 해당 카드리더 모듈(400)에 대한 기관 인증 정보를 DB(350)에서 검색하여 VAN 서버(100)로 전송할 수 있다.In response to the institution authentication information request, the
그에 따라, 도 6에 도시된 바와 같이, VAN 서버(100)는 카드리더 모듈(400)에 암호키를 배포할 수 있는 기관 인증 정보를 획득할 수 있다.Accordingly, as shown in FIG. 6, the
또한, VAN 서버(100)는 인증 서버(200)로부터 카드리더 모듈(400)에 저장되어 있던 인증용 공개키를 수신하여, 카드 정보를 암호화하기 위한 암호키 및 상기 인증 서버(200)로부터 수신된 기관 인증 정보와 함께 보관할 수 있다.The
본 발명의 일실시예에 따르면, 카드리더 모듈(400)에서 획득되는 카드 정보는 대칭형 암호키를 이용하여 암호화될 수 있다.According to an embodiment of the present invention, the card information obtained in the
상기 대칭형 암호키는 대칭형 암호화 알고리즘을 이용해 카드리더 모듈(400)에서 획득되는 카드 정보에 대한 암호화 및 복호화에 사용되며, VAN 서버(100)는 각각 매번 새로운 키를 생성하여 제공할 수 있다. The symmetric encryption key is used for encrypting and decrypting the card information obtained by the
대칭형 암호키는, 공개키/개인키 방식의 비대칭 암호키를 사용할 때에 비하여, 카드리더 모듈(400) 등에서의 처리 속도와 전송 속도가 향상되는 장점이 있을 수 있다.The symmetric encryption key may be advantageous in that the processing speed and transmission speed in the
그러나, 본 발명은 이에 한정되지 아니하며, 카드리더 모듈(400)에서 획득되는 카드 정보는 공개키/개인키를 이용한 비대칭형 암호화 알고리즘을 이용하여 암호화, 복호화될 수도 있다.However, the present invention is not limited to this, and the card information obtained by the
도 7을 참조하면, VAN 서버(100)는 인증 서버(200)로부터 수신된 인증용 공개키를 이용해 POS 단말기(300)와의 보안 채널을 구성한 후, 상기 구성된 보안 채널을 통해 VAN 코드, 기관 인증 정보 및 암호키를 카드리더 모듈(400)로 전송할 수 있다.7, the
그를 위해, VAN 서버(100)는 먼저 POS 단말기(300)와의 네트워크를 연결한다(701 단계).For this purpose, the
VAN 서버(100)는 세션키를 생성하고(S702 단계), 상기 생성된 세션키를 카드리더 모듈(400)의 인증용 공개키로 암호화해 POS 단말기(300)로 전송한다(S703 단계).The
POS 단말기(300)는 상기 VAN 서버(100)로부터 수신한 인증용 공개키로 암호화된 세션키를 카드리더 모듈(400)로 전송한다(S704 단계).The
카드리더 모듈(400)은 상기 POS 단말기(300)로부터 수신한 인증용 공개키로 암호화된 세션키를 인증용 개인키로 복호화하여 저장하고(S705 단계), 세션키 수신 응답 메시지를 세션키로 암호화하여 POS 단말기(300)로 전송한다(S706 단계).The
POS 단말기(300)가 상기 카드리더 모듈(400)로부터 수신한 세션키로 암호화된 세션키 수신 응답 메시지를 VAN 서버(100)로 전송하여(S707 단계), 보안 채널이 구성될 수 있다.The
그 후, VAN 서버(100)는 해당 기관의 식별 정보인 VAN 코드 및 인증 서버(200)로부터 수신한 기관 인증 정보와 함께 암호키를 세션키로 암호화하여 POS 단말기(300)로 전송한다(S708 단계).Then, the
POS 단말기(300)는 상기 S708 단계에서 수신한 세션키로 암호화된 VAN 코드, 기관 인증 정보 및 암호키를 카드리더 모듈(400)로 전송한다(S709 단계).The
카드리더 모듈(400)은 상기 수신한 세션키로 암호화된 VAN 코드, 기관 인증 정보 및 암호키를 세션키로 복호화하고, 상기 복호화된 기관 인증 정보를 인증하여 유효하면 상기 복호화된 암호키를 저장한다(S710 단계).The
예를 들어, 카드리더 모듈(400)은 상기 VAN 서버(100)로부터 수신되어 복호화된 기관 인증 정보(해시 값으로 암호화됨)를, 해당 기관에 대해 이전에 생성하여 메모리에 저장하고 있던 기관 인증 정보(해시 값으로 암호화됨)와 비교하여, 일치하는 경우 상기 VAN 서버(100)로부터 수신된 기관 인증 정보가 유효하다고 판단할 수 있다.For example, the
이 경우, 카드리더 모듈(400)은 상기 VAN 서버(100)가 자신에게 암호키를 배포할 권한이 있다고 판단하여, 상기 VAN 서버(100)로부터 수신된 후 복호화된 암호키를 해당 기관에 대한 암호키로 저장할 수 있다.In this case, the
상기와 같이 VAN 서버(100)로부터 카드리더 모듈(400)의 암호키 배포가 완료된 후, VAN 서버(100)와 POS 단말기(300) 사이의 연결이 해제된다(S711 단계).After the cipher key distribution of the
도 8을 참조하면, 도 5 내지 도 7을 참조하여 설명한 바와 같은 방법에 의해 카드리더 모듈(400)에서 생성된 기관 인증 정보를 이용한 인증을 통해 VAN 서버(100)로부터 카드리더 모듈(400)로 암호키가 직접 안전하게 배포되어, 카드리더 모듈(400)에 암호키가 보관될 수 있다.Referring to FIG. 8, from the
본 발명의 또 다른 실시예에 따르면, POS 단말기(300)가 복수의 결제 대행 기관들(즉, 복수의 VAN사들)을 통해 카드 결제를 수행할 수 있도록 하여, VAN사가 변경되더라도 POS 단말기(300) 또는 카드리더 모듈(400)을 교체하지 않고 이용 가능하도록 하며, 또한 복수의 VAN사들 중 어느 하나에 장애가 발생하는 경우 다른 결제 대행 기관을 통해 결제가 수행되도록 할 수 있다.According to another embodiment of the present invention, the
위와 같이 복수의 VAN사들로 운영되는 결제 시스템을 구성하기 위해서는, 카드리더 모듈(400)은 카드 정보를 암호화하기 위한 키(예를 들어, VAN 서버가 보유한 암호키와 동일한 대칭형 암호키 또는 VAN 서버가 보유한 개인키에 대응되는 공개키)를, 복수의 VAN 서버들에 각각에 대응되도록 복수개 보유하고 있어야 한다.In order to configure a billing system operated by a plurality of VAN companies as described above, the
그를 위해, 도 9에 도시된 바와 같이, 암호키 배포 시스템(10)은 인증 서버(200)와 복수의 VAN 서버들(110 내지 130)들을 포함하여, 복수의 VAN 서버(100)들 각각에 대응되는 복수의 암호키들이 카드리더 모듈(400)로 배포되도록 한다.9, the cryptographic
예를 들어, 도 1 내지 도 8을 참조하여 설명한 바와 같은 암호키 배포 방법이 복수의 VAN 서버들(110 내지 130)들 각각에 대해 반복하여 수행됨으로써, 복수의 VAN 서버들(110 내지 130) 각각에 대응되는 복수의 암호키들이 카드리더 모듈(400)로 배포될 수 있다.For example, the cipher key distribution method as described with reference to Figs. 1 to 8 is repeatedly performed for each of the plurality of
그에 따라, 카드리더 모듈(400)의 제조사는 VAN 서버들(110 내지 130) 각각의 암호키를 카드리더 모듈(400)에 직접 주입하지 않고, 각각의 VAN 서버들(110 내지 130)이 카드리더 모듈(400)에서 생성된 기관 인증 정보를 인증 서버(200)로부터 전달받아 자신의 암호키를 카드리더 모듈(400)에 직접 배포할 수 있도록 한다.Accordingly, the manufacturer of the
또한, 위와 같이 복수의 암호키들이 카드리더 모듈(400)에 수신되어 저장되어, 카드 결제 시 카드리더 모듈(400)이 복수의 암호키들로 카드 정보를 암호화하여 POS 단말기(300)로 전달하도록 함으로써, 복수의 VAN사들로 운영되는 환경에서 결제가 용이하게 수행되도록 할 수 있다.In addition, when a plurality of cipher keys are received and stored in the
도 10은 배포된 암호키들을 이용하여 카드 정보를 처리하는 방법에 대한 일실시예를 타이밍도로 도시한 것이다.10 is a timing diagram illustrating an embodiment of a method of processing card information using distributed cryptographic keys.
먼저, 상기한 바와 같은 암호키 배포 방법에 의해, 카드리더 모듈(400)에는 복수의 VAN 서버들(110 내지 130) 각각에 대응되는 복수의 암호키들이 보관되어 있을 수 있다.First, in the
본 발명의 일실시예에 따르면, 카드리더 모듈(400)은, POS 단말기(300)가 이용하고자 하는 VAN 서버에 관계없이, 보관하고 있는 복수의 암호화키들 각각을 이용해 카드 정보를 암호화하여 POS 단말기(300)로 모두 전송하고, POS 단말기(300)는 상기 카드리더 모듈(400)로부터 수신한 암호화된 카드 정보들 중 일부를 이용하고자 하는 VAN 서버로 전송할 수 있다.According to an embodiment of the present invention, the
도 10을 참조하면, 카드 결제시 카드리더 모듈(400)은 카드(또는 카드 정보가 저장된 단말기)로부터 카드 정보를 리딩한 후(S1001 단계), 상기 리딩된 카드 정보를 보관되어 있는 복수의 암호키들로 암호화한다(S1002 단계).10, the
예를 들어, 제1 VAN 서버(110)의 "암호키 1"로 암호화된 카드 정보, 제2 VAN 서버(120)의 "암호키 2"로 암호화된 카드 정보, ... , 제n VAN 서버(130)의 "암호키 n"으로 암호화된 카드 정보, 총 n개의 서로 다른 암호키들로 암호화된 카드 정보가 생성될 수 있다.For example, the card information encrypted with the "
그 후, 카드리더 모듈(400)은 상기 서로 다른 암호키들로 각각 암호화된 카드 정보들을 POS 단말기(300)로 전송한다(S1003 단계).Thereafter, the
예를 들어, POS 단말기(300)에서 제1 VAN 서버(110)를 이용하여 카드 결제를 하고자 하는 경우, POS 단말기(300)는 상기 서로 다른 암호키들로 각각 암호화된 카드 정보들 중 "암호키 1"로 암호화된 카드 정보를 제1 VAN 서버(110)로 전송한다(S1004 단계).For example, in a case where the
상기 S1004 단계에서, POS 단말기(300)는 상기 "암호키 1"로 암호화된 카드 정보를 포함하는 승인 요청 전문을 생성하여 제1 VAN 서버(110)로 전송할 수 있다.In step S1004, the
제1 VAN 서버(110)는 POS 단말기(300)로부터 수신한 "암호키 1"로 암호화된 카드 정보를 "암호키 1"로 복호화하여(S1005 단계), 결제에 사용될 카드 정보를 획득할 수 있다.The
한편, 카드 결제에 제2 VAN 서버(120)를 이용하고자 하는 경우 "암호키 2"로 암호화된 카드 정보가 제2 VAN 서버(120)로 전송되며, 카드 결제에 제n VAN 서버(130)를 이용하고자 하는 경우에는 "암호키 n"으로 암호화된 카드 정보가 제n VAN 서버(130)로 전송될 수 있다.On the other hand, when the
상술한 본 발명에 따른 암호키 배포 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.The encryption key distribution method according to the present invention may be stored in a computer-readable recording medium. The computer-readable recording medium may be a ROM, a RAM, a CD-ROM , A magnetic tape, a floppy disk, an optical data storage device, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet).
컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer readable recording medium may be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And, functional programs, codes and code segments for implementing the above method can be easily inferred by programmers of the technical field to which the present invention belongs.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.
Claims (20)
이용하고자 하는 VAN의 식별 정보와 상기 카드리더 모듈의 식별 정보를 포함하는 기관 인증 정보를 생성하는 단계;
상기 생성된 기관 인증 정보를 인증 서버로 전송하는 단계;
VAN 서버로부터 기관 인증 정보와 암호키를 수신하는 단계;
상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 인증하는 단계; 및
상기 인증 결과 상기 VAN 서버로부터 수신한 기관 인증 정보가 유효한 경우, 상기 수신된 암호키를 상기 VAN 식별 정보에 대응되는 기관의 암호키로 저장하는 단계를 포함하는 암호키 배포 방법.A cryptographic key distribution method performed by a card reader module,
Generating institutional authentication information including identification information of a VAN to be used and identification information of the card reader module;
Transmitting the generated organization authentication information to an authentication server;
Receiving institution authentication information and an encryption key from a VAN server;
Comparing the institution authentication information received from the VAN server with the generated institution authentication information; And
And storing the received cryptographic key as an cryptographic key of an institution corresponding to the VAN identification information when the authentication result received from the VAN server is valid as a result of the authentication.
상기 생성된 기관 인증 정보는 상기 인증 서버로부터 상기 VAN 서버로 전송되는 암호키 배포 방법.The method according to claim 1,
And the generated authority authentication information is transmitted from the authentication server to the VAN server.
상기 카드리더 모듈에 저장되어 있는 제조사 공개키를 이용하여, 제조사 개인키가 보관된 상기 인증 서버와의 보안 채널을 구성하는 단계를 더 포함하고,
상기 생성된 기관 인증 정보는 상기 구성된 보안 채널을 통해 상기 인증 서버로 전송되는 암호키 배포 방법.The method according to claim 1,
Further comprising configuring a secure channel with the authentication server in which the manufacturer private key is stored using the manufacturer public key stored in the card reader module,
And the generated authority authentication information is transmitted to the authentication server through the configured secure channel.
상기 카드리더 모듈에 저장된 인증용 개인키를 더 포함하는 암호키 배포 방법.The system according to claim 1,
And an authentication private key stored in the card reader module.
해시(hash) 값으로 암호화된 상태로 송수신되는 암호키 배포 방법.The system according to claim 1,
A method of distributing a cryptographic key that is transmitted and received in an encrypted state with a hash value.
상기 기관 인증 정보와 함께 상기 카드리더 모듈에 저장되어 있는 인증용 공개키를 상기 인증 서버로 전송하는 암호키 배포 방법.2. The method of claim 1,
And transmits the authentication public key stored in the card reader module together with the institution authentication information to the authentication server.
상기 인증용 공개키는 상기 인증 서버로부터 상기 VAN 서버로 전송되며,
상기 인증용 공개키를 이용하여 구성된 상기 VAN 서버와의 보안 채널을 통해, 상기 기관 인증 정보와 상기 암호키가 수신되는 암호키 배포 방법.The method according to claim 6,
Wherein the authentication public key is transmitted from the authentication server to the VAN server,
Wherein the institution authentication information and the encryption key are received through a secure channel with the VAN server configured using the public key for authentication.
상기 VAN 서버로부터, 상기 기관 인증 정보 및 상기 암호키와 함께 VAN 식별 정보를 수신하는 암호키 배포 방법.2. The method of claim 1,
And receives VAN identification information from the VAN server together with the institution authentication information and the encryption key.
복수의 VAN 서버들 각각에 대해 상기 단계들을 반복하여, 상기 복수의 VAN 서버들 각각에 대응되는 복수의 암호키를 저장하는 암호키 배포 방법.The method according to claim 1,
And repeating the steps for each of the plurality of VAN servers to store a plurality of cipher keys corresponding to each of the plurality of VAN servers.
상기 카드리더 모듈에서 리딩된 카드 정보는 상기 저장된 복수의 암호키들 각각을 이용하여 암호화되는 암호키 배포 방법.10. The method of claim 9,
Wherein the card information read by the card reader module is encrypted using each of the stored plurality of cryptographic keys.
상기 카드리더 모듈과 연결된 POS 단말기를 통해, 상기 인증 서버 또는 상기 VAN 서버와 데이터를 송수신하는 암호키 배포 방법.The method according to claim 1,
And transmitting and receiving data to and from the authentication server or the VAN server through a POS terminal connected to the card reader module.
이용하고자 하는 VAN의 식별 정보와 상기 카드리더 모듈의 식별 정보를 포함하는 기관 인증 정보를 생성하여 인증 서버로 전송하고, VAN 서버로부터 기관 인증 정보와 암호키를 수신하며, 상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 유효한 경우 상기 수신된 암호키를 상기 VAN 식별 정보에 대응되는 기관의 암호키로 저장하는 카드리더 모듈.A card reader module for acquiring card information and encrypting it using an encryption key,
The VAN server receives the institution authentication information and the encryption key from the VAN server, and transmits the institution authentication information including the identification information of the VAN and the card reader module to the authentication server, Compares the authentication information with the generated organization authentication information, and stores the received encryption key as an encryption key of the organization corresponding to the VAN identification information, if valid.
상기 생성된 기관 인증 정보는 상기 인증 서버로부터 상기 VAN 서버로 전송되는 카드리더 모듈.14. The method of claim 13,
Wherein the generated institutional authentication information is transmitted from the authentication server to the VAN server.
제조사 공개키, 인증용 개인키 및 상기 인증용 개인키에 대응하는 인증용 공개키를 저장하고 있는 카드리더 모듈.14. The method of claim 13,
And a public key for authentication corresponding to the manufacturer public key, the private key for authentication, and the private key for authentication.
상기 기관 인증 정보에 포함되는 카드리더 모듈.16. The method according to claim 15, wherein the authentication private key
And a card reader module included in the institution authentication information.
상기 인증 서버를 통해 상기 VAN 서버로 전송되며,
상기 인증용 공개키를 이용하여 구성된 상기 VAN 서버와의 보안 채널을 통해, 상기 기관 인증 정보와 상기 암호키가 수신되는 카드리더 모듈.16. The method of claim 15,
Wherein the authentication server transmits the authentication information to the VAN server,
Wherein the institution authentication information and the encryption key are received through a secure channel with the VAN server configured using the public key for authentication.
복수의 VAN 서버들 각각에 대응되는 복수의 암호키들을 저장하며,
카드 정보를 리딩하여 상기 복수의 암호키들 각각을 이용해 암호화한 후 POS 단말기로 전송하는 카드리더 모듈.14. The method of claim 13,
Storing a plurality of cipher keys corresponding to each of the plurality of VAN servers,
Reading the card information, encrypting each of the plurality of cipher keys, and transmitting the encrypted data to the POS terminal.
POS 단말기를 통해 상기 인증 서버 또는 상기 VAN 서버와 데이터를 송수신하는 카드리더 모듈.14. The method of claim 13,
A card reader module for communicating data with the authentication server or the VAN server via a POS terminal.
상기 VAN 서버와 통신 가능한 인증 서버; 및
이용하고자 하는 VAN의 식별 정보와 장치 식별 정보를 포함하는 기관 인증 정보를 생성하여 상기 인증 서버로 전송하고, 상기 VAN 서버로부터 기관 인증 정보와 암호키를 수신하며, 상기 VAN 서버로부터 수신한 기관 인증 정보를 상기 생성한 기관 인증 정보와 비교하여 유효한 경우 상기 수신된 암호키를 상기 VAN 식별 정보에 대응되는 기관의 암호키로 저장하는 카드리더 모듈을 포함하고,
상기 인증 서버는 상기 카드리더 모듈로부터 수신한 기관 인증 정보를 상기 VAN 서버로 전송하는 암호키 배포 시스템.A VAN server storing an encryption key for encrypting card information;
An authentication server capable of communicating with the VAN server; And
And transmits the generated authentication information to the authentication server, receives institution authentication information and an encryption key from the VAN server, receives institution authentication information from the VAN server, And a card reader module for storing the received cryptographic key as an cryptographic key of an institution corresponding to the VAN identification information when the generated cryptographic key is valid,
Wherein the authentication server transmits institution authentication information received from the card reader module to the VAN server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150071669A KR101710950B1 (en) | 2015-05-22 | 2015-05-22 | Method for distributing encrypt key, card reader and system for distributing encrypt key thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150071669A KR101710950B1 (en) | 2015-05-22 | 2015-05-22 | Method for distributing encrypt key, card reader and system for distributing encrypt key thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160137082A true KR20160137082A (en) | 2016-11-30 |
KR101710950B1 KR101710950B1 (en) | 2017-03-02 |
Family
ID=57707540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150071669A KR101710950B1 (en) | 2015-05-22 | 2015-05-22 | Method for distributing encrypt key, card reader and system for distributing encrypt key thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101710950B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180129102A (en) * | 2017-05-25 | 2018-12-05 | 주식회사 코밴 | Method of payment processing and security card reader device performing the same |
KR20190081191A (en) | 2017-12-29 | 2019-07-09 | 한국정보통신주식회사 | A method for processing encryption of card information and an appapratus using it |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090019576A (en) * | 2007-08-21 | 2009-02-25 | (주)에이티솔루션 | Certification method and system for a mobile phone |
KR20100006004A (en) * | 2008-07-08 | 2010-01-18 | 나이스데이터(주) | Autentification processing method and system using card, card terminal for authentification processing using card |
KR20130019498A (en) | 2011-08-17 | 2013-02-27 | 경북대학교 산학협력단 | System and method for user authentication |
KR101517914B1 (en) | 2014-03-31 | 2015-05-19 | 한국정보통신주식회사 | Pos system and managing method for public key of the same |
-
2015
- 2015-05-22 KR KR1020150071669A patent/KR101710950B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090019576A (en) * | 2007-08-21 | 2009-02-25 | (주)에이티솔루션 | Certification method and system for a mobile phone |
KR20100006004A (en) * | 2008-07-08 | 2010-01-18 | 나이스데이터(주) | Autentification processing method and system using card, card terminal for authentification processing using card |
KR20130019498A (en) | 2011-08-17 | 2013-02-27 | 경북대학교 산학협력단 | System and method for user authentication |
KR101517914B1 (en) | 2014-03-31 | 2015-05-19 | 한국정보통신주식회사 | Pos system and managing method for public key of the same |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180129102A (en) * | 2017-05-25 | 2018-12-05 | 주식회사 코밴 | Method of payment processing and security card reader device performing the same |
KR20190081191A (en) | 2017-12-29 | 2019-07-09 | 한국정보통신주식회사 | A method for processing encryption of card information and an appapratus using it |
Also Published As
Publication number | Publication date |
---|---|
KR101710950B1 (en) | 2017-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11876905B2 (en) | System and method for generating trust tokens | |
US11240219B2 (en) | Hybrid integration of software development kit with secure execution environment | |
US10785287B2 (en) | Secure binding of software application to a communication device | |
US11170379B2 (en) | Peer forward authorization of digital requests | |
US11657392B2 (en) | On-boarding server for remotely authorizing use of a terminal | |
JP6704919B2 (en) | How to secure your payment token | |
CN113196813B (en) | Provisioning initiated from contactless device | |
KR101702748B1 (en) | Method, system and recording medium for user authentication using double encryption | |
KR20120108599A (en) | Credit card payment service using online credit card payment device | |
US20130061051A1 (en) | Method for authenticating electronic transaction, server, and terminal | |
KR101710950B1 (en) | Method for distributing encrypt key, card reader and system for distributing encrypt key thereof | |
KR101691169B1 (en) | Method for distributing encrypt key, card reader, authentification server and system for distributing encrypt key thereof | |
KR20130100811A (en) | Method to approve payments | |
KR20170111524A (en) | A method of processing card information for preventing re-use of card information, an appratus thereof and a method for operating financial server | |
KR101871686B1 (en) | A method of processing card information for preventing re-use of card information based on a shared encryption key, an appratus thereof and a method for operating financial server | |
KR101701461B1 (en) | Method for distributing encrypt key, terminal, card reader and system for distributing encrypt key thereof | |
KR101912254B1 (en) | A method of processing transaction information for preventing re-use of transaction information based on a shared encryption key, an appratus thereof | |
KR20180040869A (en) | Method for processing payment, potable terminal and payment system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
A302 | Request for accelerated examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
X091 | Application refused [patent] | ||
AMND | Amendment | ||
J201 | Request for trial against refusal decision | ||
J301 | Trial decision |
Free format text: TRIAL NUMBER: 2016101001454; TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20160307 Effective date: 20161005 |
|
S901 | Examination by remand of revocation | ||
E902 | Notification of reason for refusal | ||
GRNO | Decision to grant (after opposition) | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20200106 Year of fee payment: 4 |