Package Credentials as Presentation for the Selective Disclosure Request
For security reasons, the credentials cannot be handed over directly by the holder to the verifier as the personal information certificate. The credentials to be submitted to the verifier should be packaged as VerifiablePresentation, which will include the purpose of the credentials, the authentication session, and the signature of the holder of the valid credentials.
Below is an example of packaging the credentials as VerifiablePresentation:
The credentials packaged in the VerifiablePresentation only belong to the DID holder who created it, while the credentials of others cannot be packaged. The packaged credentials can be safely handed over to the verifier as the personal information credentials submitted by individuals.
Last updated