-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement OID4VP for mdocs #157
Conversation
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
# Conflicts: # src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/SdJwtRecordExtensions.cs
Signed-off-by: Kevin <[email protected]>
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.
looks good to me
{ | ||
var sigStructureByteString = sigStructure.ToCborByteString(); | ||
var signature = await _keyStore.Sign(keyId, sigStructureByteString.EncodeToBytes()); | ||
return new CoseSignature(signature); |
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.
Is the COSE signature just the DER-encoded bytes?
|
||
namespace WalletFramework.Core.Cryptography.Models; | ||
|
||
public record PublicKey(Base64UrlString X, Base64UrlString Y) |
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.
This actually looks like a JWK object
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
# Conflicts: # src/WalletFramework.Oid4Vc/Oid4Vci/Implementations/SdJwtRecordExtensions.cs # src/WalletFramework.Oid4Vc/Oid4Vp/Models/AuthorizationRequest.cs # src/WalletFramework.Oid4Vc/Oid4Vp/Models/ClientMetadata.cs # test/WalletFramework.Oid4Vc.Tests/Oid4Vp/Services/Oid4VpHaipClientTests.cs # test/WalletFramework.Oid4Vc.Tests/PresentationExchange/Services/PexServiceTests.cs
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Signed-off-by: Kevin <[email protected]>
Short description of what this resolves:
This PR adds OID4VP support for mdocs
Changes proposed in this pull request: