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

init vp_format support #252

Merged
merged 7 commits into from
Jan 17, 2025
Merged

init vp_format support #252

merged 7 commits into from
Jan 17, 2025

Conversation

JoTiTu
Copy link
Contributor

@JoTiTu JoTiTu commented Jan 14, 2025

Short description of what this resolves:

add support for vp_format

Signed-off-by: Johannes Tuerk <[email protected]>
@JoTiTu JoTiTu requested a review from kenkosmowski January 14, 2025 14:34
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
/// <returns>An array of credential candidates, each containing a list of credentials that match the input descriptors.</returns>
Task<PresentationCandidates[]> FindCredentialCandidates(IEnumerable<InputDescriptor> inputDescriptors);
Task<PresentationCandidates[]> FindCredentialCandidates(IEnumerable<InputDescriptor> inputDescriptors, Formats? supportedFormatSigningAlgorithms = null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option instead of Formats?

@@ -40,23 +42,18 @@ public Task<PresentationSubmission> CreatePresentationSubmission(
}

/// <inheritdoc />
public virtual async Task<PresentationCandidates[]> FindCredentialCandidates(IEnumerable<InputDescriptor> inputDescriptors)
public virtual async Task<PresentationCandidates[]> FindCredentialCandidates(IEnumerable<InputDescriptor> inputDescriptors, Formats? supportedFormatSigningAlgorithms)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option instead of Formats?

@@ -83,7 +80,7 @@ public virtual async Task<PresentationCandidates[]> FindCredentialCandidates(IEn
return result.ToArray();
}

private async Task<List<ICredential>> GetMatchingCredentials(InputDescriptor inputDescriptor)
private async Task<List<ICredential>> GetMatchingCredentials(InputDescriptor inputDescriptor, Formats? supportedFormatSigningAlgorithms)
Copy link
Contributor

@kenkosmowski kenkosmowski Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option< Formats > instead of Formats?

@kenkosmowski kenkosmowski merged commit 474107c into main Jan 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants