Class KeyUsage
java.lang.Object
org.jpos.security.KeyUsage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExtKeyUsage
Defines the primary usage of the key contained in the key block.
Each value repesents bytes 5-6 of the keyblock header.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyUsageTR-31 BDK Base Derivation Key.static final KeyUsageTR-31 CVK Card Verification Key.static final KeyUsageTR-31 Application Cryptograms Key.static final KeyUsageTR-31 Card Personalization Key.static final KeyUsageTR-31 Data Authentication Code Key.static final KeyUsageTR-31 Dynamic Numbers Key.static final KeyUsageTR-31 Master Personalization Key.static final KeyUsageTR-31 Chip card Master Key.static final KeyUsageTR-31 Secure Messaging for Confidentiality Key.static final KeyUsageTR-31 Secure Messaging for Integrity.static final KeyUsageTR-31 Data Encryption Key.static final KeyUsageTR-31 DUKPT Initial Key (IKEY aka IPEK).static final KeyUsageTR-31 Initialization Value.static final KeyUsageTR-31 ISO 16609 MAC algorithm 1 Key (using 3-DES).static final KeyUsageTR-31 ISO 9797-1 MAC algorithm 1 Key.static final KeyUsageTR-31 ISO 9797-1 MAC algorithm 2 Key.static final KeyUsageTR-31 ISO 9797-1 MAC algorithm 3 Key.static final KeyUsageTR-31 ISO 9797-1 MAC algorithm 4 Key.static final KeyUsageTR-31 ISO 9797-1 MAC algorithm 5 Key.static final KeyUsageTR-31 Generic Key Encryption / Wrapping Key.static final KeyUsageTR-31 Key Block Protection Key.static final KeyUsageTR-31 Generic PIN Encription Key.static final KeyUsageTR-31 PIN Verification Key (IBM 3624 algorithm).static final KeyUsageTR-31 Generic PIN Verification Key.static final KeyUsageTR-31 PIN Verification Key (Visa PVV algorithm). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TR31MAP
-
BDK
-
IKEY
-
CVK
-
ENC
-
INIT
-
KEK
-
KEKWRAP
-
ISOMAC0
-
ISOMAC1
-
ISOMAC2
-
ISOMAC3
-
ISOMAC4
-
ISOMAC5
-
PINENC
-
PINVER
-
PINV3624
-
VISAPVV
-
EMVACMK
-
EMVSCMK
-
EMVSIMK
-
EMVDAMK
-
EMVDNMK
-
EMVCPMK
-
EMVOTMK
-
EMVMPMK
-
-
Constructor Details
-
KeyUsage
-
-
Method Details
-
getCode
-
getName
-
toString
-
valueOfByCode
Returns the enum constant of this type with the specifiedcode.- Parameters:
code-- Returns:
- the enum constant with the specified processing code or
nullif unknown.
-
entries
-