Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release 0.13.0 #126

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
needs: [ build-gradle, unit-tests ]
strategy:
matrix:
api-level: [26,33]
api-level: [ 33 ]
target: [google_apis]
arch: [x86_64]
permissions:
Expand Down
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The library provides the following functionality:
- [x] Authorization Code Flow
- [x] Pre-authorization Code Flow
- [x] Support for mso_mdoc format
- [ ] Support for sd-jwt-vc format
- [x] Support for sd-jwt-vc format
- [x] Support credential offer
- [x] Support for DPoP JWT in authorization
- [x] Support for JWT proof types
Expand Down Expand Up @@ -107,7 +107,7 @@ file.

```groovy
dependencies {
implementation "eu.europa.ec.eudi:eudi-lib-android-wallet-core:0.12.3"
implementation "eu.europa.ec.eudi:eudi-lib-android-wallet-core:0.13.0"
// required when using the built-in AndroidKeystoreSecureArea implementation provided by the library
// for user authentication with biometrics
implementation "androidx.biometric:biometric-ktx:1.2.0-alpha05"
Expand Down Expand Up @@ -463,14 +463,17 @@ class by calling the `EudiWallet.createOpenId4VciManager` method.

There are two ways to issue a document using OpenID4VCI:

1. Using the `OpenId4VciManager.issueDocumentByDocType` method, when the document's docType is
known.
1. Using the `OpenId4VciManager.issueDocumentByFormat` method, when the document's format is
known. In case of MsoMdoc format, the docType is required. In case of SdJwtVc format, vct is
required.
2. Using the `OpenId4VciManager.issueDocumentByOffer` or `OpenId4VciManager.issueDocumentByOfferUri`
methods, when an OpenId4VCI offer is given.
3. Using the `issueDocumentByConfigurationIdentifier` method, when the document's configuration
identifier is known. The configuration identifiers can be retrieved from the issuer's metadata,
using the `getIssuerMetadata` method.

__Important note__:

- Currently, only mso_mdoc format is supported
- Currently, only the ES256 algorithm is supported for signing OpenId4CVI proof of possession of the
publicKey.
- See
Expand Down Expand Up @@ -686,7 +689,8 @@ From the user's perspective, the application must provide a way to input the tra
When the transaction code is provided, the issuance process can be resumed by calling any of the
following methods:

- `EudiWallet.issueDocumentByDocType`
- `EudiWallet.issueDocumentByConfigurationIdentifier`
- `EudiWallet.issueDocumentByFormat`
- `EudiWallet.issueDocumentByOfferUri`
- `EudiWallet.issueDocumentByOffer`

Expand Down Expand Up @@ -789,10 +793,11 @@ wallet.addTransferEventListener { event ->
// ...
// application must create the DisclosedDocuments object
val disclosedDocuments = DisclosedDocuments(
// assume that the document is in mso_mdoc format
DisclosedDocument(
documentId = "document-id",
disclosedItems = listOf(
DocItem(
MsoMdocItem(
namespace = "eu.europa.ec.eudi.pid.1",
elementIdentifier = "first_name"
),
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

See release notes in project's github repository.

## [0.11.0-SNAPSHOT]

__ 25 Jul 2024__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
constructor(documentManager: DocumentManager, resolvedRequestObject: ResolvedRequestObject,
inputDescriptorMap: [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)
<InputDescriptorId, [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
<DocumentId>>, requestedDocuments: RequestedDocuments)
<DocumentId>>, requestedDocuments: RequestedDocuments,
msoMdocNonce: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?)
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@ class [ProcessedGenericOpenId4VpRequest](index.md)(documentManager: DocumentMana
resolvedRequestObject: ResolvedRequestObject,
inputDescriptorMap: [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)
<InputDescriptorId, [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)
<DocumentId>>, requestedDocuments: RequestedDocuments) :
<DocumentId>>, requestedDocuments: RequestedDocuments, val
msoMdocNonce: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?) :
RequestProcessor.ProcessedRequest.Success

## Constructors

| | |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ProcessedGenericOpenId4VpRequest](-processed-generic-open-id4-vp-request.md) | [androidJvm]<br>constructor(documentManager: DocumentManager, resolvedRequestObject: ResolvedRequestObject, inputDescriptorMap: [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)&lt;InputDescriptorId, [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;&gt;, requestedDocuments: RequestedDocuments) |
| | |
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ProcessedGenericOpenId4VpRequest](-processed-generic-open-id4-vp-request.md) | [androidJvm]<br>constructor(documentManager: DocumentManager, resolvedRequestObject: ResolvedRequestObject, inputDescriptorMap: [Map](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)&lt;InputDescriptorId, [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)&lt;DocumentId&gt;&gt;, requestedDocuments: RequestedDocuments, msoMdocNonce: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?) |

## Properties

| Name | Summary |
|---------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| [requestedDocuments](index.md#1436173325%2FProperties%2F1615067946) | [androidJvm]<br>val [requestedDocuments](index.md#1436173325%2FProperties%2F1615067946): RequestedDocuments |
| Name | Summary |
|---------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
| [msoMdocNonce](mso-mdoc-nonce.md) | [androidJvm]<br>val [msoMdocNonce](mso-mdoc-nonce.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? |
| [requestedDocuments](index.md#1436173325%2FProperties%2F1615067946) | [androidJvm]<br>val [requestedDocuments](index.md#1436173325%2FProperties%2F1615067946): RequestedDocuments |

## Functions

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//[wallet-core](../../../index.md)/[eu.europa.ec.eudi.wallet.transfer.openId4vp](../index.md)/[ProcessedGenericOpenId4VpRequest](index.md)/[msoMdocNonce](mso-mdoc-nonce.md)

# msoMdocNonce

[androidJvm]\
val [msoMdocNonce](mso-mdoc-nonce.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?
Loading
Loading