-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add CertOpenStore to c.s.j.p.win32.Crypt32 #1418
Conversation
contrib/platform/test/com/sun/jna/platform/win32/Crypt32Test.java
Outdated
Show resolved
Hide resolved
contrib/platform/test/com/sun/jna/platform/win32/Crypt32Test.java
Outdated
Show resolved
Hide resolved
@@ -43,6 +43,63 @@ | |||
|
|||
Crypt32 INSTANCE = Native.load("Crypt32", Crypt32.class, W32APIOptions.DEFAULT_OPTIONS); | |||
|
|||
// Store providers for CertOpenStore |
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 should go into WinCrypt.java as definition comes from WinCrypt.h. The two encoding definitions are already there.
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.
The new constants should still be moved to WinCrypt.java
. As CertStoreProviderName
is not from a header it is debatable, but I would also move it.
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.
Done. I did not add a javadoc to each of them, from MSDN page it looks like a lot of text with references and we probably don't want to have it all copied to WinCrypt
contrib/platform/test/com/sun/jna/platform/win32/Crypt32Test.java
Outdated
Show resolved
Hide resolved
…or CertOpenStore
…nts to WinCrypt
Merged via af8458b. Thank you. |
No description provided.