apdu4j | Java code for APDU level smart cards

 by   martinpaljak Java Version: 21.05.06 License: MIT

kandi X-RAY | apdu4j Summary

kandi X-RAY | apdu4j Summary

apdu4j is a Java library. apdu4j has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

Command line tool and library of useful Java classes for working with smart cards and smart card readers via JSR268 (commonly known as javax.smartcardio). While focus is on desktop PC/SC readers, some code can be re-used with arbitrary "APDU-command-response-ish" interfaces, either as CommandAPDU/ResponseAPDU pairs or plain byte arrays.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              apdu4j has a low active ecosystem.
              It has 102 star(s) with 48 fork(s). There are 14 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 23 have been closed. On average issues are closed in 479 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of apdu4j is 21.05.06

            kandi-Quality Quality

              apdu4j has 0 bugs and 0 code smells.

            kandi-Security Security

              apdu4j has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              apdu4j code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              apdu4j is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              apdu4j releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 4132 lines of code, 348 functions and 48 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed apdu4j and discovered the below as its top functions. This is intended to give you an instant insight into apdu4j implemented functionality, and help decide if they suit your requirements.
            • This method sends a message to the wire
            • Gets the SWIM 1 value
            • Gets the SWIM2 value
            • Starts the maven wrapper
            • Downloads a file from the provided URL
            • Deserialization
            • Parse the attribute
            • Replace the hex bytes with the given value
            • Decode a hexadecimal string into a byte array
            • Called when a card is removed
            • Handles exception
            • Transwards to the wrapped byte array
            • Is hex
            • Close the transport
            • Cancel the current thread
            • Waits for the result to complete
            • Run the result
            • Decode a string into bytes
            • Called when the card is present
            • Returns true if the specified ObjectAPDU are equals
            • Attempts to transmit the given APdu
            • Gets the state of the card present
            • Start the app
            • Get the raw data
            • Compares this object with the specified value
            • Returns the data of the apdu
            Get all kandi verified functions for this library.

            apdu4j Key Features

            No Key Features are available at this moment for apdu4j.

            apdu4j Examples and Code Snippets

            No Code Snippets are available at this moment for apdu4j.

            Community Discussions

            QUESTION

            How to access Pinpad of a Smartcard Reader when developing a Javacard Applet
            Asked 2021-Nov-12 at 10:47

            I am relatively new to Javacard and I am in the process of developing my own Javacard Applet which works quite well until now. I am also writing a host program to communicate with my card (via APDUs), this program is written in Java and uses the javax.smartcardio library as well as apdu4j.

            My goal now is to use my reader's integrated Pinpad to ask the user for a PIN and then forward the entered PIN to the Smartcard which will verify the PIN. I already wrote the code on the card which will verify the PIN (CLA: 0x80, INS: 0x04, P1: 0x00, P2: 0x00, pin data), but I have no idea how to tell the Reader to probe for a PIN and then forward this information to the Card.

            My Card is a J3H145 by NXP (Javacard 3.0.4 / ISO7816 / ISO14443) and my Reader is a ReinerSCT cyberJack RFID standard.

            Thank you in advance.

            ...

            ANSWER

            Answered 2021-Nov-12 at 10:47

            If anyone is wondering, I found out how to do it.

            Source https://stackoverflow.com/questions/69659941

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install apdu4j

            You can download it from GitHub, Maven.
            You can use apdu4j like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the apdu4j component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            martin@martinpaljak.net
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/martinpaljak/apdu4j.git

          • CLI

            gh repo clone martinpaljak/apdu4j

          • sshUrl

            git@github.com:martinpaljak/apdu4j.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by martinpaljak

            GlobalPlatformPro

            by martinpaljakJava

            ant-javacard

            by martinpaljakJava

            AppletPlayground

            by martinpaljakJava

            oracle_javacard_sdks

            by martinpaljakHTML

            vJCRE

            by martinpaljakJava