org.jpos.security.package.html Maven / Gradle / Ivy
Show all versions of jpos Show documentation
Key management, MAC, PIN encryption related classes.
Allows for the realization of the ANSI X9.17 and the ANSI X9.24.
It relies on a security module for performing the required cryptographic operations, so you do not need any knowledge about the JavaTM Cryptography Architecture (JCA) or the JavaTM Cryptography Extension (JCE) to use jPOS Security.
The term "Security Module" is so generic, it ranges from the big "Host Security Module" devices (HSMs) used by Interchanges and Hosts to the tiny smart card based TRSMs (Tamper Resistant Security Modules) that reside in Encrypting PIN Entry Devices (PEDs). There are also software based security modules like JCESecurityModule provided with jPOS security.
You will need a Security Module adapter for your specific security module to be able to use it with jPOS Security. The provided "JCE Security Module" does not need a separate adapter, it plugs automatically in jPOS. Implementing Adapters for other security modules (like Thales Host Security Modules) should be straight forward (just by extending BaseSMAdapter and implementing your Security Module's proprietary protocol)
Note: The terms "Security Module" (used in ANSI X9.24) and "Cryptographic Module" (used ANSI X9.17) are synonyms.
We will be using the term "Security Module" (SM for short).