java-native-access / java-native-access/jna
Suggestion for adding methods
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Dear Developrs,
It is a low hanging fruit, so I'd like to kindly ask you to add
- CryptAcquireCertificatePrivateKey method and its flag constants to Crypt32 interface
- NCryptDecrypt and NCryptFreeObject methods to a new NCrypt interface along with its PaddingInfo structures and flag constants
Thanks in advance, Tamas
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating JNA's existing Crypt32 interface and the patterns used for native interface and structure mappings. Add the requested CryptAcquireCertificatePrivateKey declarations and constants there, create the NCrypt interface with NCryptDecrypt, NCryptFreeObject, padding structures, and flags, then verify that the Windows crypto APIs are represented with the expected signatures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100