Method and device for storing information

The embodiment of the invention discloses a method and a device for storing information. One specific embodiment of the method comprises the steps of generating a key pair in response to a received key generation instruction, the key pair comprising a private key and a public key; acquiring user inf...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: SUN DONGKAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a method and a device for storing information. One specific embodiment of the method comprises the steps of generating a key pair in response to a received key generation instruction, the key pair comprising a private key and a public key; acquiring user information of a target user; generating a certificate signature request based on the public key and the user information, and sending the certificate signature request to a target server; and in response to receiving the requested certificate, storing the certificate in association with the private key. According to the embodiment, the private key information of the user can be classified and stored, and the user can manage the private key information conveniently. 本申请实施例公开了用于存储信息的方法和装置。该方法的一具体实施方式包括:响应于接收到密钥生成指令,生成密钥对,其中,密钥对包括私钥和公钥;获取目标用户的用户信息;基于公钥和用户信息,生成证书签名请求,以及向目标服务器发送证书签名请求;响应于接收到所请求的证书,将证书与私钥进行关联存储。该实施方式可以对用户的私钥信息进行归类存储,方便用户管理自己的私钥信息。