-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/signature services #127
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will look further if ready to review
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
f5339f9
to
fb932fe
Compare
Rebase to #131 |
fcbb39d
to
c211cc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add test code that uses the classes, if possible
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
...ain/kotlin/at/asitplus/dif/rqes/CollectionEntries/DocumentDigestEntries/CscDocumentDigest.kt
Outdated
Show resolved
Hide resolved
@@ -79,6 +81,7 @@ sealed class AuthorizationDetails { | |||
* Credential Configuration in the [IssuerMetadata.supportedCredentialConfigurations]. The Wallet MUST use these | |||
* identifiers together with an Access Token in subsequent Credential Requests. | |||
*/ | |||
// TODO is required in OID4VCI! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, see #145
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For uc5 we get this after credential enrollment but this is out of scope for UC5 spec as well as CSC spec...
@@ -15,6 +15,7 @@ data class CredentialRequestParameters( | |||
* specific parameters such as those defined in Appendix A MUST NOT be present | |||
*/ | |||
@SerialName("credential_identifier") | |||
// TODO Update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo?
openid-data-classes/src/commonMain/kotlin/at/asitplus/openid/TokenResponseParameters.kt
Outdated
Show resolved
Hide resolved
openid-data-classes/src/commonMain/kotlin/at/asitplus/openid/rqes/RqesRequest.kt
Outdated
Show resolved
Hide resolved
import at.asitplus.wallet.lib.oauth2.OAuth2Client | ||
import com.benasher44.uuid.uuid4 | ||
|
||
class RqesWalletService( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused class ... please use in tests
Extend RequestParsing to SignatureRequests
Adds remaining necessary data classes for the proposed UC5 remote signature flow.
This should finish the implementation of the OAuth2/CSC portion of the process.
Does not (yet) include OIDVCI extensions. Does not include any
credential/info
data classes or logic defined by CSCHelper classes also still rough.