-
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
Added encryption, decryption and raw backup functions to Advapi32 #391
Conversation
@@ -23,6 +23,7 @@ Features | |||
* [#365](/~https://github.com/twall/jna/pull/365): Added `com.sun.jna.platform.win32.Kernel32.GetComputerNameEx` support - [@lgoldstein](/~https://github.com/lgoldstein). | |||
* [#368](/~https://github.com/twall/jna/pull/368): Added `com.sun.jna.platform.win32.Kernel32.VirtualQueryEx`, `com.sun.jna.platform.win32.WinNT.MEMORY_BASIC_INFORMATION` and `MEM_COMMIT`, `MEM_FREE`, `MEM_RESERVE`, `MEM_IMAGE`, `MEM_MAPPED`, `MEM_PRIVATE` constants to `com.sun.jna.platform.win32.WinNT` - [@apsk](/~https://github.com/apsk). | |||
* Allow interoperation with JNI revision changes - [@twall](/~https://github.com/twall). | |||
* Added `EncryptFileW`, `DecryptFileW`, `FileEncryptionStatusW`, `EncryptionDisable`, `OpenEncryptedFileRawW`, `ReadEncryptedFileRaw`, `WriteEncryptedFileRaw`, and `CloseEncryptedFileRaw` to `com.sun.jna.platform.win32.Advapi32` with related `Advapi32Util` helpers - [@khalidq](/~https://github.com/khalidq). |
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.
Amend prefixing this PR, please. Thx.
Very nice job, thank you. I did a quick pass and made some comments. Looking forward to an amended version. |
Thanks for the feedback. I'll make the amendments tomorrow. |
Don't close it :) Just amend and force push. |
I accidentally deleted the branch and it automatically closed the PR. Thanks for reopening it. |
Great, merging. |
Added encryption, decryption and raw backup functions to Advapi32
Motivation: A new netty release is out Modifications: Update to 4.1.75.Final Result: Use latest release
Added:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365005(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363783%28v=vs.85%29.aspx