Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Suggestion for adding methods

Open
#1,675 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
security

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.

Description

feature request

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

Dominant language
Java
Stars
8.9k
Forks
1.7k
Avg merge
1d 13h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from java-native-access/jna

All issues in java-native-access/jna

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.