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()
      加密公钥指数,高字节在前,低字节在后,不足位前补0
      When exponent less than 4 bytes,padded with 0x00 on the left
      byte[] getIccRandom()
      从卡取得的随机数
      the random from icc
      byte[] getModulus()
      加密公钥模数,高字节在前,低字节在后,不足位前补0
      If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the left
      int getModulusLen()
      加密公钥模数长
      modulus length
      void setExponent(byte[] exponent)
      加密公钥指数,高字节在前,低字节在后,不足位前补0
      When exponent less than 4 bytes,padded with 0x00 on the left
      void setIccRandom(byte[] iccRandom)
      从卡取得的随机数
      the random from icc
      void setModulus(byte[] modulus)
      加密公钥模数,高字节在前,低字节在后,不足位前补0
      If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the left
      void setModulusLen(int modulusLen)
      加密公钥模数长
      modulus length
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getModulusLen

        public int getModulusLen()
        加密公钥模数长
        modulus length
        Returns:
      • setModulusLen

        public void setModulusLen(int modulusLen)
        加密公钥模数长
        modulus length
        Parameters:
        modulusLen -
      • getModulus

        public byte[] getModulus()
        加密公钥模数,高字节在前,低字节在后,不足位前补0
        If 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)
        加密公钥模数,高字节在前,低字节在后,不足位前补0
        If the length of modulus is less than 512 bytes, store from right, padded with 0x00 on the left
        Parameters:
        modulus -
      • getExponent

        public byte[] getExponent()
        加密公钥指数,高字节在前,低字节在后,不足位前补0
        When exponent less than 4 bytes,padded with 0x00 on the left
        Returns:
      • setExponent

        public void setExponent(byte[] exponent)
        加密公钥指数,高字节在前,低字节在后,不足位前补0
        When 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 -