-
Notifications
You must be signed in to change notification settings - Fork 2
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
Extend RequestParsing to SignatureRequests #143
Extend RequestParsing to SignatureRequests #143
Conversation
75c9ec4
to
a6c3259
Compare
It's hard to review this, since that other one #127 is still a draft... |
Admittedly the draft became quite unwieldy but it is not yet at a point where merging makes sense so I planned on splitting new changes into seperate merge requests and the draft in the end is the full feature implementation. What do you think of this?
Since they do not have a lot of fields in common I think it makes sense to keep the two seperate. We also talked about seperating some other classes at a previous time and I thought it would be good to not add more to these. So I introduced the interface We could realistically combine |
dac98f6
to
29cf053
Compare
On second look I agree that they look related and I have moved the vals they have in common to the interface. However CSC actually extends |
On a different note: |
dif-data-classes/src/commonMain/kotlin/at/asitplus/dif/rqes/CollectionEntries/Document.kt
Outdated
Show resolved
Hide resolved
vck-openid/src/commonTest/kotlin/at/asitplus/wallet/lib/oidc/OidcSiopInteropTest.kt
Outdated
Show resolved
Hide resolved
Yeah, now I get it ... it is really not a good idea to combine them |
It looks to me that the parsed |
adce946
to
a33f74b
Compare
a33f74b
to
01f693c
Compare
This is true. It is only used as a container for |
SignatureRequest
can be passed by reference just likeAuthenticationRequest
.Here we extend
AuthenticationRequestParser
to also handle requests by reference for signatures sent by the driving application/terminal service. For consistency we rename the class toRequestParser
and introduce theSignatureRequestFrom
data classes.