public interface AlgorithmConstants
AlgorithmConstants
interface in the com.cloudpos package provides a comprehensive
collection of constants representing various encryption and hash algorithms. These constants
are integral for methods requiring specific algorithm parameters in encryption and hashing processes.Modifier and Type | Field and Description |
---|---|
static int |
ALG_3DES
Triple DES Encryption (DES-EDE), an extension of the original DES algorithm.
|
static int |
ALG_AES
AES (Advanced Encryption Standard) algorithm.
|
static int |
ALG_DES
Digital Encryption Standard (DES) as outlined in FIPS PUB 46-2.
|
static int |
ALG_MAC_METHOD_ECB
Electronic Codebook (ECB) Mode, defined by The National Institute of Standards and Technology
(NIST) in FIPS PUB 81, "DES Modes of Operation," U.S.
|
static int |
ALG_MAC_METHOD_ECB_FIRST
New land ECB MAC algorithm.
|
static int |
ALG_MAC_METHOD_SE919
MAC algorithm SE919, a specialized variant.
|
static int |
ALG_MAC_METHOD_X99
MAC X9.9 algorithm, typically used for generating message authentication codes.
|
static int |
ALG_RSA
RSA encryption algorithm.
|
static int |
ALG_SM2
GM SM2 asymmetric encryption algorithm, primarily used in China for digital signatures and key exchange.
|
static int |
ALG_SM3
GM SM3 hash algorithm, a cryptographic hash function widely used in China.
|
static int |
ALG_SM4
GM SM4 symmetric encryption algorithm, a standard in China for data encryption.
|
static int |
ALGO_CHECK_VALUE_DEFAULT
Default algorithm check value.
|
static int |
ALGO_CHECK_VALUE_SE919
Algorithm check value specifically for SE919.
|
static int |
PINPAD_ENCRYPT_STRING_MODE_CBC
Encryption mode: Cipher Block Chaining (CBC).
|
static int |
PINPAD_ENCRYPT_STRING_MODE_CFB
Encryption mode: Cipher Feedback (CFB).
|
static int |
PINPAD_ENCRYPT_STRING_MODE_EBC
Encryption mode: Electronic Code Book (EBC).
|
static int |
PINPAD_ENCRYPT_STRING_MODE_OFB
Encryption mode: Output Feedback (OFB).
|
static final int ALG_RSA
static final int ALG_MAC_METHOD_X99
static final int ALG_MAC_METHOD_ECB
static final int ALG_DES
static final int ALG_3DES
static final int ALG_SM2
static final int ALG_SM3
static final int ALG_SM4
static final int ALG_AES
static final int ALGO_CHECK_VALUE_DEFAULT
static final int ALGO_CHECK_VALUE_SE919
static final int PINPAD_ENCRYPT_STRING_MODE_EBC
static final int PINPAD_ENCRYPT_STRING_MODE_CBC
static final int PINPAD_ENCRYPT_STRING_MODE_CFB
static final int PINPAD_ENCRYPT_STRING_MODE_OFB
static final int ALG_MAC_METHOD_ECB_FIRST
static final int ALG_MAC_METHOD_SE919