主权项 |
1. A key processing method, comprising:
obtaining, by a user equipment, a private key update message provided by a security device, wherein the private key update message comprises an update parameter generated when the security device enters an rth time sub-segment of an ith time segment, wherein i and r represent time index values and both are integers greater than or equal to 0; generating, when r is 0, a user's private key of the rth time sub-segment of the ith time segment by using the update parameter generated when the security device enters the rth time sub-segment of the ith time segment, a user's private key of a last time sub-segment of an (i−1)th time segment, and time index values of the rth time sub-segment of the ith time segment and the last time sub-segment of the (i−1)th time segment; and generating, when r is greater than 0, the user's private key of the rth time sub-segment of the ith time segment by using the update parameter generated when the security device enters the rth time sub-segment of the ith time segment, a user's private key of an (r−1)th time sub-segment of the ith time segment, and time index values of the rth time sub-segment and the (r−1)th time sub-segment of the ith time segment, wherein: a user's private key of a 0th time sub-segment of a 0th time segment is generated by using a first random parameter and a key Hash value, wherein the first random parameter is randomly selected from a preset value set, and the key Hash value is element data that belongs to a first cyclic group of bilinear mapping and is obtained by performing a Hash operation on a time index value of the 0th time sub-segment of the 0th time segment. |