You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation assumes to have one Verifiable Credential inside a Verifiable Presentation. The Builder component inside the VerifiablePresentation class has an attribute verifiableCredential instead of a List.
Moreover the getVerifiableCredential() method will fail if the presentation has more than one `` Verifiable Credential:
The code produces an error when we are in the case of the verifiableCredentialObject instanceof List
The class VerifiableCredential should have another method like this to be called in the List case: public static Set<VerifiableCredential> getFromJsonLDObject(JsonLDObject jsonLdObject)
which iterates over the List.
Are you planning to merge the PR mentioned in the other issue?
Are you planning to support multiple VCs in a VP?
The text was updated successfully, but these errors were encountered:
This issue strongly relates to this issue
The current implementation assumes to have one
Verifiable Credential
inside aVerifiable Presentation
. TheBuilder
component inside theVerifiablePresentation
class has an attributeverifiableCredential
instead of aList.
Moreover the
getVerifiableCredential() method will fail if the presentation has more than one `` Verifiable Credential
:The code produces an error when we are in the case of the
verifiableCredentialObject instanceof List
The class
VerifiableCredential
should have another method like this to be called in theList
case:public static Set<VerifiableCredential> getFromJsonLDObject(JsonLDObject jsonLdObject)
which iterates over the
List
.Are you planning to merge the PR mentioned in the other issue?
Are you planning to support multiple VCs in a VP?
The text was updated successfully, but these errors were encountered: