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

How does the C# verify method support SHA256WithRSA/PSS signatures ? #3

Open
ttljtw opened this issue Dec 17, 2021 · 1 comment
Open

Comments

@ttljtw
Copy link

ttljtw commented Dec 17, 2021

public static Boolean verifyRsaSign(String content, String sign, String publicKey)

The preceding method can be used to verify the SHA256WithRSA signature.
If the SHA256WithRSA/PSS signature is enabled on the AGC, how do I modify the code?

image

@ttljtw
Copy link
Author

ttljtw commented Dec 17, 2021

I think it's possible to refer to this code:
image

Here's how to test:
image

@ttljtw ttljtw closed this as completed Dec 17, 2021
@ttljtw ttljtw reopened this Dec 17, 2021
@ttljtw ttljtw changed the title How does the verify method support SHA256WithRSA/PSS signatures? How does the C# verify method support SHA256WithRSA/PSS signatures ? Dec 17, 2021
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

No branches or pull requests

1 participant