[INJIMOB-3518] - Update readme about vc verification support for both platforms Android and iOS (#2070)

Signed-off-by: swatigoel <meet2swati@gmail.com>
This commit is contained in:
Swati Goel
2025-09-03 14:58:54 +05:30
committed by GitHub
parent cec4771c39
commit 840fafcc20

View File

@@ -8,8 +8,6 @@ It offers a secure, trustworthy, and dependable mobile Verifiable Credentials wa
- Enable users to log in to relying parties with their credential
- Generate a QR code for the credential to be shared offline with relying parties
> Signature verification is currently bypassed for **MSO mDoc** and **SD-JWT** credential formats in iOS, as the [vc-verifier](https://github.com/mosip/vc-verifier) library is not yet available for iOS. This allows seamless testing and interoperability across platforms.
for more details refer [here](https://docs.mosip.io/inji/inji-wallet/overview)
## Setup PreRequisites
@@ -89,6 +87,38 @@ More info here:
- [React Native - Publishing to the App Store](https://reactnative.dev/docs/publishing-to-app-store)
- [Apple Developer - Distributing Your App for Beta Testing and Releases](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases)
## VC Verification Support
### Android
There is kotlin library [vc-verifier](https://github.com/mosip/vc-verifier) which is used for signature verification for ldp_vc, mso_mdoc and vc+sd-jwt/dc+sd-jwt credential formats.
Following are the details about support for different credential formats:
* For ldp_vc,
* RSA(PS256 & RS256), EdDSA and ECDSA(ES256 & ES256K) signature algorithms are supported.
* For mso_mdoc,
* only ECDSA(ES256) signature algorithm is supported.
* For vc+sd-jwt/dc+sd-jwt,
* only ECDSA(ES256 & ES256K) signature algorithm is supported.
### iOS
🚨 There is no library available for iOS for signature verification that can support all credential formats ldp_vc, mso_mdoc and vc+sd-jwt/dc+sd-jwt.
So we have by-passed verification to allow seamless testing and interoperability across platforms.
Following are the details about support and bypass for different credential formats:
* For ldp_vc,
* RSA(PS256 & RS256) signature algorithm is supported and verified using digital bazaar library.
* Other algorithms like ECDSA and EdDSA are not supported and vc verification is by-passed.
* For mso_mdoc,
* vc verification is by-passed.
* For vc+sd-jwt/dc+sd-jwt,
* vc verification is by-passed.
### Note
When application is built via IDE, metro need to be started manually (For instance, if building app via XCode open metro manually, as metro hook has been removed from building via XCode - [reference](https://github.com/facebook/react-native/issues/42173#issuecomment-1921091973)).