com.pax.dal.entity
Class RSAPinKey
- java.lang.Object
-
- com.pax.dal.entity.RSAPinKey
-
public class RSAPinKey extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description RSAPinKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte[]getExponent()加密公钥指数,高字节在前,低字节在后,不足位前补0When exponent less than 4 bytes,padded with 0x00 on the leftbyte[]getIccRandom()从卡取得的随机数the random from iccbyte[]getModulus()加密公钥模数,高字节在前,低字节在后,不足位前补0If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the leftintgetModulusLen()加密公钥模数长modulus lengthvoidsetExponent(byte[] exponent)加密公钥指数,高字节在前,低字节在后,不足位前补0When exponent less than 4 bytes,padded with 0x00 on the leftvoidsetIccRandom(byte[] iccRandom)从卡取得的随机数the random from iccvoidsetModulus(byte[] modulus)加密公钥模数,高字节在前,低字节在后,不足位前补0If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the leftvoidsetModulusLen(int modulusLen)加密公钥模数长modulus length
-
-
-
Constructor Detail
-
RSAPinKey
public RSAPinKey()
-
-
Method Detail
-
getModulusLen
public int getModulusLen()
加密公钥模数长modulus length- Returns:
-
setModulusLen
public void setModulusLen(int modulusLen)
加密公钥模数长modulus length- Parameters:
modulusLen-
-
getModulus
public byte[] getModulus()
加密公钥模数,高字节在前,低字节在后,不足位前补0If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the left- Returns:
-
setModulus
public void setModulus(byte[] modulus)
加密公钥模数,高字节在前,低字节在后,不足位前补0If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the left- Parameters:
modulus-
-
getExponent
public byte[] getExponent()
加密公钥指数,高字节在前,低字节在后,不足位前补0When exponent less than 4 bytes,padded with 0x00 on the left- Returns:
-
setExponent
public void setExponent(byte[] exponent)
加密公钥指数,高字节在前,低字节在后,不足位前补0When exponent less than 4 bytes,padded with 0x00 on the left- Parameters:
exponent-
-
getIccRandom
public byte[] getIccRandom()
从卡取得的随机数the random from icc- Returns:
-
setIccRandom
public void setIccRandom(byte[] iccRandom)
从卡取得的随机数the random from icc- Parameters:
iccRandom-
-
-