Class ClaimPresentationHelper

java.lang.Object
com.pingidentity.sdk.pingonewallet.utils.ClaimPresentationHelper

public class ClaimPresentationHelper extends Object
  • Method Details

    • getVerifiableCredentialsFromClaim

      public static List<com.pingidentity.did.sdk.types.VerifiableCredential> getVerifiableCredentialsFromClaim(@NonNull com.pingidentity.did.sdk.types.Claim claim)
      Utility function to extract jwt-vc from native Claim format
      Parameters:
      claim - Claim containing `jwt-vc`
      Returns:
      Collection of VerifiableCredential if exists
    • getSharesForRequest

      public static List<CredentialMatcherResult> getSharesForRequest(@NonNull List<RequestedKey> requestedKeys, @NonNull List<com.pingidentity.did.sdk.types.Claim> claims)