Patent ID: 8737616
Filing Date: 2014-05-27
Classification: H04L

Abstract:
1. A method for determining a public key, comprising: selecting, by a sending node having at least a hardware processor, at least one candidate public key among N candidate public keys deployed locally beforehand as a potential public key, wherein N is a positive integer; using, by the sending node, the potential public key to protect a first message; sending, by the sending node, the first message protected to a receiving node; receiving, by the receiving node, the first message protected before the sending node uses the potential public key as the public key through negotiation with the receiving node; obtaining, by the receiving node, a type of the potential public key according to the first message; determining, by the receiving node, whether the potential public key is supported by the receiving node according to the type of potential the potential public key; and when the potential public key is supported by the receiving node, the receiving node uses the potential public key to protect a second message and send the second message to the sending node; the sending node obtains the type of the potential public key according to the second message and uses the potential public key as the public key through negotiation with the receiving node according to the type of the potential public key, wherein the potential public key comprises a Cryptographically Generated Address (CGA) key, and wherein the receiving node comprises at least a hardware processor and a non-transitory storage accessible to the hardware processor.