This invention discloses a method for applying for identity credentials, comprising: a wallet
client sending an identity credential application request to a first operating institution; the first operating institution obtaining the public key of the corresponding wallet
client from the identity chain based on the user's distributed identity identifier; verifying the signature information of the wallet
client; generating an identity credential based on the private key of the first operating institution; generating a first-pass encrypted
ciphertext based on the user's first identity information; and sending the identity credential and the first-pass encrypted
ciphertext to the wallet client. This method ensures the security of identity information while reducing the need for secondary
verification by the user, thus improving the user experience. Corresponding devices, electronic devices, and computer-readable media are also provided.