Submit proof
Submits a proof to a verifier, sharing the selected credentials.
Function
- React Native
- iOS
- Android
holderSubmitProof(
interactionId: InvitationResultProofRequest["interactionId"],
credentials: Record<
PresentationDefinitionRequestedCredential["id"],
PresentationSubmitCredentialRequest
>,
didId: string,
keyId: string | undefined
): Promise<void>;
func holderSubmitProof(interactionId: String, submitCredentials: [String: PresentationSubmitCredentialRequestBindingDto], didId: String, keyId: String?) throws
fun `holderSubmitProof`(`interactionId`: String, `submitCredentials`: Map<String, PresentationSubmitCredentialRequestBindingDto>, `didId`: String, `keyId`: String?)
Parameters
-
interactionId
- The id associated with a particular verification interaction; value from Handle invitation. -
submitCredentials
orcredentials
- Set of credentials along with the individual claims from those credentials being submitted. -
didId
- Value from the create DID function. -
keyId
- If the associated DID supports multiple keys for authentication, specify which key to use. If no key is specified the first suitable key listed will be used.
Return value
A successful submission of proof returns no value.