Nitrokey3A use for login access

Hello Experts!
Anybody who can guide me how to integrate Nitrokey3A for authentication purposes in my desktop java application?
I have made login page in desktop application(using java swing , application runs on Ubuntu OS) containing username and password. I want to implement second factor authentication using Nitrokey.
How Nitrokey will be accessed/integrated using my java desktop application for authentication.

Regards,
Engr

Hello All!
Would anyone like to guide me, how nitrokey uses authentication key to sign a challenge ? how challenge is sent to nitrokey and get back signed challenge from nitrokey ? Which commands are used to perform authentication using auth key present in nitrokey?

I can’t speak for the Nitrokey 3A, but for the Nitrokey-HSM you could integrate the JCE-Provider and then use Device Authentication to validate the unique device identifier.

The same authentication mechanism is used for login into the PKI-as-a-Service portal, so it works locally and remote.