diff --git a/pollux/prex/src/main/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerification.scala b/pollux/prex/src/main/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerification.scala index f0e616a795..b708a4ce33 100644 --- a/pollux/prex/src/main/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerification.scala +++ b/pollux/prex/src/main/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerification.scala @@ -8,11 +8,11 @@ import org.hyperledger.identus.pollux.prex.PresentationSubmissionError.{ ClaimNotSatisfyInputConstraint, InvalidDataTypeForClaimFormat, InvalidJsonPath, + InvalidNestedPathDescriptorId, InvalidSubmissionId, JsonPathNotFound, SubmissionNotSatisfyInputDescriptors } -import org.hyperledger.identus.pollux.prex.PresentationSubmissionError.InvalidNestedPathDescriptorId import org.hyperledger.identus.pollux.vc.jwt.{JWT, JwtCredential, JwtPresentation} import org.hyperledger.identus.pollux.vc.jwt.CredentialPayload.Implicits.* import org.hyperledger.identus.pollux.vc.jwt.PresentationPayload.Implicits.* diff --git a/pollux/prex/src/test/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerificationSpec.scala b/pollux/prex/src/test/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerificationSpec.scala index 4f9e3a422e..f813cad3d2 100644 --- a/pollux/prex/src/test/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerificationSpec.scala +++ b/pollux/prex/src/test/scala/org/hyperledger/identus/pollux/prex/PresentationSubmissionVerificationSpec.scala @@ -3,12 +3,12 @@ package org.hyperledger.identus.pollux.prex import io.circe.* import io.circe.parser.* import org.hyperledger.identus.pollux.prex.PresentationSubmissionError.{ + ClaimFormatVerificationFailure, + ClaimNotSatisfyInputConstraint, InvalidNestedPathDescriptorId, InvalidSubmissionId, SubmissionNotSatisfyInputDescriptors } -import org.hyperledger.identus.pollux.prex.PresentationSubmissionError.ClaimFormatVerificationFailure -import org.hyperledger.identus.pollux.prex.PresentationSubmissionError.ClaimNotSatisfyInputConstraint import org.hyperledger.identus.pollux.vc.jwt.{ DID, ES256KSigner, @@ -16,13 +16,13 @@ import org.hyperledger.identus.pollux.vc.jwt.{ JWT, JwtCredential, JwtCredentialPayload, - JwtVc + JwtPresentation, + JwtPresentationPayload, + JwtVc, + JwtVerifiableCredentialPayload, + JwtVp, + VerifiableCredentialPayload } -import org.hyperledger.identus.pollux.vc.jwt.JwtPresentation -import org.hyperledger.identus.pollux.vc.jwt.JwtPresentationPayload -import org.hyperledger.identus.pollux.vc.jwt.JwtVerifiableCredentialPayload -import org.hyperledger.identus.pollux.vc.jwt.JwtVp -import org.hyperledger.identus.pollux.vc.jwt.VerifiableCredentialPayload import org.hyperledger.identus.shared.crypto.Apollo import zio.* import zio.json.ast.Json as ZioJson