# US 2013/0159715 A1 · Secure Peer-to-Peer Messaging Invitation Architecture

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0159715 A1
- Document ID: US20130159715A1
- Status: Published application
- Kind: A1
- Application number: 13/768,142
- Filed: 2013-02-15
- Published: 2013-06-20
- Earliest claimed: 2004-10-29
- Assignees: Research In Motion Limited
- Inventors: Gerhard Dietrich KLASSEN; Samer Fahmy; David Yach
- Web page: https://patentgrep.com/patent/US20130159715A1

## CPC

- G06Q 20/347: {Passive cards}
- G07F 7/10: together with a coded signal {, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data}
- G07F 7/1075: {PIN is checked remotely}
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0841: {involving Diffie-Hellman or related key agreement protocols}
- H04L 9/3226: {using a predetermined code, e.g. password, passphrase or PIN (network architectures or network communication protocols for supporting authentication of entities using passwords in a packet data network H04L63/083)}
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 63/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04W 12/02: Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04L 51/58: Message adaptation for wireless communication
- H04L 67/54: Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
- H04L 2209/80: Wireless
- 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
- G07F: COIN-FREED OR LIKE APPARATUS (coin sorting G07D3/00; coin testing G07D5/00; {handling coins or paper currencies apart from payment activated apparatus G07D; payment architectures, schemes or protocols G06Q20/00})
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

First and second communication devices respectively have first and second personal identification numbers (PINs). The first communication device transmits to the second communication device a first encryption key, and receives from the second communication device the second PIN that has been encrypted by the second communication device using the first encryption key. The first communication device receives from the second communication device a second encryption key, decrypts the encrypted second PIN, and encrypts the first PIN using the second encryption key, and transmits the encrypted first PIN to the second communication device. The first communication device conducts, with the second communication, device a peer-to-peer messaging session by transmitting to the second communication device peer-to-peer messages that contain the second PIN and receiving from the second communication device peer-to-peer messages that contain the first PIN. Each message is routed by a routing server based on the respective first and second PINs.

## Claims

### Claim 1

A method performed by a first communication device comprising:
preparing an invitation to engage in peer-to-peer messaging for a second communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number being encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
sending the invitation to the second communication device using a communication application different from the peer-to-peer messaging application;
receiving from the second communication device, an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number having been encrypted by the second communication device using a public key of the first communication device;
decrypting the encrypted second personal identification number using a private key corresponding to the public key of the first communication device; and
performing at least one of sending a first peer-to-peer message to the second communication device using the second personal identification number, and receiving a second peer-to-peer message from the second communication device, the second peer-to-peer message having been sent using the first personal identification number.

### Claim 2 (depends on 1)

The method of claim 1, further comprising sending the public key of the first communication device to the second communication device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the public key of the first communication device is sent with the invitation.

### Claim 4 (depends on 1)

The method of claim 1 wherein the first communication device is a mobile communication device.

### Claim 5 (depends on 1)

The method of claim 1 further comprising receiving public key of the second communication device from the second communication device.

### Claim 6 (depends on 5)

The method of claim 5, wherein the public key of the second communication device is sent with the acceptance message.

### Claim 7 (depends on 1)

The method of claim 1, wherein the communication application is any one of an email application, a short message service application, a multimedia messaging service application, an enhanced message service application, an Internet enabled messaging application, and a telephone based application.

### Claim 8 (depends on 1)

The method of claim 1, wherein the private key and public key of the first communication device are generated by the first communication device.

### Claim 9

A method performed by a second communication device comprising:
receiving an invitation to engage in peer-to-peer messaging from a first communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number having been encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
preparing an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number being encrypted by the second communication device using a public key of the first communication device;
sending the acceptance message to the first communication device using a communication application different from the peer-to-peer messaging application;
decrypting the encrypted first personal identification number using a private key corresponding to the public key of the second communication device; and
performing at least one of receiving a first peer-to-peer message from the first communication device, the first peer-to-peer message having been sent using the second personal identification number, and sending a second peer-to-peer message to the first communication device using the first personal identification number.

### Claim 10 (depends on 9)

The method of claim 9 further comprising displaying the invitation along with an accept option and a reject option relating to the invitation.

### Claim 11 (depends on 9)

The method of claim 9, further comprising receiving the public key of the first communication device from the first communication device.

### Claim 12 (depends on 11)

The method of claim 11, wherein the public key of the first communication device is received with the invitation.

### Claim 13 (depends on 9)

The method of claim 9 wherein the second communication device is a mobile communication device.

### Claim 14 (depends on 9)

The method of claim 9 further comprising sending the public key of the second communication device to the first communication device.

### Claim 15 (depends on 14)

The method of claim 14, wherein the public key of the second communication device is sent with the acceptance message.

### Claim 16 (depends on 9)

The method of claim 9, wherein the communication application is any one of an email application, a short message service application, a multimedia messaging service application, an enhanced message service application, an Internet enabled messaging application, and a telephone based application.

### Claim 17 (depends on 9)

The method of claim 9, wherein the private key and public key of the second communication device are generated by the first communication device.

### Claim 18

A computer readable medium comprising computer executable instructions to be performed by a first communication device, the computer executable instructions comprising instructions for:
preparing an invitation to engage in peer-to-peer messaging for a second communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number being encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
sending the invitation to the second communication device using a communication application different from the peer-to-peer messaging application;
receiving from the second communication device, an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number having been encrypted by the second communication device using a public key of the first communication device;
decrypting the encrypted second personal identification number using a private key corresponding to the public key of the first communication device; and
performing at least one of sending a first peer-to-peer message to the second communication device using the second personal identification number, and receiving a second peer-to-peer message from the second communication device, the second peer-to-peer message having been sent using the first personal identification number.

### Claim 19

A computer readable medium comprising computer executable instructions to be performed by a second communication device, the computer executable instructions comprising instructions for:
receiving an invitation to engage in peer-to-peer messaging from a first communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number having been encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
preparing an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number being encrypted by the second communication device using a public key of the first communication device;
sending the acceptance message to the first communication device using a communication application different from the peer-to-peer messaging application;
decrypting the encrypted first personal identification number using a private key corresponding to the public key of the second communication device; and
performing at least one of receiving a first peer-to-peer message from the first communication device, the first peer-to-peer message having been sent using the second personal identification number, and sending a second peer-to-peer message to the first communication device using the first personal identification number.

### Claim 20

A first communication device having a first personal identification number and configured to communicate with a second communication device having a second personal identification number different from the first personal identification number, the first communication device comprising:
a processor;
a memory;
a communication application; and
a peer-to-peer messaging application different from the communication application that is stored in the memory and executable by the processor to:
prepare an invitation to engage in peer-to-peer messaging for a second communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number being encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
send the invitation to the second communication device using a communication application different from the peer-to-peer messaging application;
receive from the second communication device, an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number having been encrypted by the second communication device using a public key of the first communication device;
decrypt the encrypted second personal identification number using a private key corresponding to the public key of the first communication device; and
perform at least one of sending a first peer-to-peer message to the second communication device using the second personal identification number, and receiving a second peer-to-peer message from the second communication device, the second peer-to-peer message having been sent using the first personal identification number.

### Claim 21

A second communication device having a second personal identification number and configured to communicate with a first communication device having a first personal identification number different from the second personal identification number, the second communication device comprising:
a processor;
a memory;
a communication application; and
a peer-to-peer messaging application different from the communication application that is stored in the memory and executable by the processor to:
receive an invitation to engage in peer-to-peer messaging from a first communication device, the invitation comprising an encrypted first personal identification number unique to the first communication device, the first personal identification number having been encrypted using a public key of the second communication device and utilized by a peer-to-peer messaging system to exchange messages using a peer-to-peer messaging application;
prepare an acceptance message, the acceptance message including an encrypted second personal identification number unique to the second communication device, the second personal identification number being encrypted by the second communication device using a public key of the first communication device;
send the acceptance message to the first communication device using a communication application different from the peer-to-peer messaging application;
decrypt the encrypted first personal identification number using a private key corresponding to the public key of the second communication device; and
perform at least one of receiving a first peer-to-peer message from the first communication device, the first peer-to-peer message having been sent using the second personal identification number, and sending a second peer-to-peer message to the first communication device using the first personal identification number.
