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
>,
identifierId: string,
keyId: string | undefined
): Promise<void>;
func holderSubmitProof(interactionId: String, submitCredentials: [String: PresentationSubmitCredentialRequestBindingDto], identifierId: String, keyId: String?) throws
fun `holderSubmitProof`(`interactionId`: String, `submitCredentials`: Map<String, PresentationSubmitCredentialRequestBindingDto>, `identifierId`: 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. -
identifierId
- Value from the create identifier function. Choose the identifier that was used to accept the credential. -
keyId
- If you choose a DID and the DID supports multiple keys for authentication, specify which key to use. If no key is specified the first suitable key listed will be used.
Depracated
didId
- Choose the DID that matches the presented credentials.
Return value
A successful submission of proof returns no value.