Class PresentationRequest
java.lang.Object
com.pingidentity.sdk.pingonewallet.types.PresentationRequest
PresentationRequest received in
WalletCallbackHandler.handleCredentialRequest(PresentationRequest)
Includes the requested keys and information about the requestor.-
Constructor Summary
ConstructorsConstructorDescriptionPresentationRequest
(String applicationInstanceId, com.pingidentity.sdk.pingonewallet.types.CredentialRequest credentialRequest, com.pingidentity.did.sdk.w3c.verifiableCredential.VerifiablePresentationRequest verifiablePresentationRequest) -
Method Summary
Modifier and TypeMethodDescriptioncom.pingidentity.sdk.pingonewallet.types.CredentialRequest
getKeys()
Returns a List object that contains the requested keys of a presentation requestReturns an Optional purpose StringReturns a String of the applicationInstanceID of the requestorReturns a String of the unique ID for the presentation sessionReturns a List object that contains the requested keys of a presentation requestcom.pingidentity.did.sdk.w3c.verifiableCredential.VerifiablePresentationRequest
boolean
void
setApplicationInstanceId
(String applicationInstanceId)
-
Constructor Details
-
PresentationRequest
public PresentationRequest(String applicationInstanceId, com.pingidentity.sdk.pingonewallet.types.CredentialRequest credentialRequest, com.pingidentity.did.sdk.w3c.verifiableCredential.VerifiablePresentationRequest verifiablePresentationRequest)
-
-
Method Details
-
getApplicationInstanceId
-
setApplicationInstanceId
-
getCredentialRequest
public com.pingidentity.sdk.pingonewallet.types.CredentialRequest getCredentialRequest() -
getVerifiablePresentationRequest
public com.pingidentity.did.sdk.w3c.verifiableCredential.VerifiablePresentationRequest getVerifiablePresentationRequest() -
getRequestor
Returns a String of the applicationInstanceID of the requestor- Returns:
String
id of the requestor
-
getSessionId
Returns a String of the unique ID for the presentation session- Returns:
String
for the session
-
getAction
-
getPurpose
Returns an Optional purpose String- Returns:
String
purpose
-
getKeys
Returns a List object that contains the requested keys of a presentation request- Returns:
List
of requested keys
-
getStringKeys
Returns a List object that contains the requested keys of a presentation request -
isPairingRequest
public boolean isPairingRequest() -
getPairingRequest
-