-
Notifications
You must be signed in to change notification settings - Fork 1
support encrypted issuance message #84
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
support encrypted issuance message #84
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.
Pull Request Overview
This PR adds support for encrypted issuance messages in the protocol by introducing structures and utilities to handle encrypted credentials in different JWE serialization formats.
- Adds
EncryptedCredentialIssuanceMessage
struct and related types for handling encrypted credential payloads - Implements support for both JWE JSON and string serialization formats
- Adds comprehensive test coverage for encrypted credential issuance message parsing
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
protocol/credentials_encrypted.go | New file implementing encrypted credential structures, interfaces, and custom unmarshaling logic |
protocol/credentials_encrypted_test.go | New test file with comprehensive test cases for both JWE serialization formats |
protocol/credentials.go | Adds new message type constant for encrypted credential issuance response |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
LGTM
No description provided.