The additional options to use upon presentation generation.
Optional
challenge?: stringChallenge which will be part of the presentation signature. If not specified, all attributes are shown. If set to an empty array, we hide all attributes inside the claim for the presentation.
The credential to create the presentation for.
Optional
selectedAll properties of the claim which have been requested by the verifier and therefore must be publicly presented.
The callback to sign the presentation.
Creates a public presentation which can be sent to a verifier. This presentation is signed.
Returns
A deep copy of the Credential with all but
publicAttributes
removed.