File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
wallet-core/src/main/java/eu/europa/ec/eudi/wallet Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ package eu.europa.ec.eudi.wallet.document
25
25
object Constants {
26
26
27
27
// EU PID
28
- const val EU_PID_DOCTYPE = " eu.europa.ec.eudiw .pid.1"
29
- const val EU_PID_NAMESPACE = " eu.europa.ec.eudiw .pid.1"
28
+ const val EU_PID_DOCTYPE = " eu.europa.ec.eudi .pid.1"
29
+ const val EU_PID_NAMESPACE = " eu.europa.ec.eudi .pid.1"
30
30
31
31
// mDL
32
32
const val MDL_DOCTYPE = " org.iso.18013.5.1.mDL"
Original file line number Diff line number Diff line change @@ -76,11 +76,17 @@ internal class DefaultOpenId4VciManager(
76
76
ProofTypeFilter (config.proofTypes)
77
77
)
78
78
79
- val credentialConfigurationId =
80
- credentialIssuerMetadata.credentialConfigurationsSupported.filterValues { conf ->
81
- credentialConfigurationFilter(conf)
82
- }.keys.takeUnless { it.isEmpty() } ? : throw IllegalStateException (" No suitable configuration found" )
79
+ // val credentialConfigurationId =
80
+ // credentialIssuerMetadata.credentialConfigurationsSupported.filterValues { conf ->
81
+ // credentialConfigurationFilter(conf)
82
+ // }.keys.takeUnless { it.isEmpty() } ?: throw IllegalStateException("No suitable configuration found")
83
83
84
+
85
+ val credentialConfigurationId = listOf (
86
+ credentialIssuerMetadata.credentialConfigurationsSupported.keys.toList()[3 ],
87
+ credentialIssuerMetadata.credentialConfigurationsSupported.keys.toList()[4 ]
88
+ )
89
+
84
90
val credentialOffer = CredentialOffer (
85
91
credentialIssuerIdentifier = credentialIssuerId,
86
92
credentialIssuerMetadata = credentialIssuerMetadata,
You can’t perform that action at this time.
0 commit comments