Skip to content

Commit

Permalink
Merge pull request #9 from niscy-eudiw/main
Browse files Browse the repository at this point in the history
issuer & Verifier config updates
  • Loading branch information
stzouvaras authored Feb 6, 2024
2 parents f9029b6 + e95dfe6 commit 54abd1d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import eu.europa.ec.eudi.wallet.transfer.openid4vp.ClientIdScheme
import eu.europa.ec.eudi.wallet.transfer.openid4vp.EncryptionAlgorithm
import eu.europa.ec.eudi.wallet.transfer.openid4vp.EncryptionMethod
import eu.europa.ec.eudi.wallet.transfer.openid4vp.PreregisteredVerifier
import eu.europa.ec.resourceslogic.R

internal class WalletCoreConfigImpl(
private val context: Context
Expand All @@ -30,7 +31,7 @@ internal class WalletCoreConfigImpl(
companion object {
const val VERIFIER_API_URI = "https://dev.verifier.eudiw.dev"
const val VERIFIER_CLIENT_ID = "Verifier"
const val VCI_ISSUER_URL = "https://preprod.issuer.eudiw.dev/oidc"
const val VCI_ISSUER_URL = "https://issuer.eudiw.dev/oidc"
const val VCI_CLIENT_ID = "wallet-dev"
}

Expand Down Expand Up @@ -62,6 +63,7 @@ internal class WalletCoreConfigImpl(
withIssuerUrl(issuerUrl = VCI_ISSUER_URL)
withClientId(clientId = VCI_CLIENT_ID)
}
.trustedReaderCertificates(R.raw.eudi_pid_issuer_ut)
.build()
}
return _config!!
Expand Down
19 changes: 19 additions & 0 deletions resources-logic/src/main/res/raw/eudi_pid_issuer_ut.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDHTCCAqOgAwIBAgIUVqjgtJqf4hUYJkqdYzi+0xwhwFYwCgYIKoZIzj0EAwMw
XDEeMBwGA1UEAwwVUElEIElzc3VlciBDQSAtIFVUIDAxMS0wKwYDVQQKDCRFVURJ
IFdhbGxldCBSZWZlcmVuY2UgSW1wbGVtZW50YXRpb24xCzAJBgNVBAYTAlVUMB4X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