com.pax.dal

Interface ISle4442


  • Deprecated.

    @Deprecated
    public interface ISle4442
    Since:
    V2.00.01
    • Method Detail

      • sle4442Open

        @Deprecated
        void sle4442Open(int slot)
                               throws Sle4442DevException
        Deprecated. 
        上电复位SLE4442模块、检查模块的初始状态是否正常
        Power on and reset Sle4442 module, and check whether initial staus of the module is normal.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Throws:
        Sle4442Exception
        Sle4442DevException
      • sle4442Close

        @Deprecated
        void sle4442Close(int slot)
                                throws Sle4442DevException
        Deprecated. 
        下电SLE4442模块,并设置其为停用态
        Close Sle4442 module, and make it in stop status.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Throws:
        Sle4442DevException
      • sle4442Reset

        @Deprecated
        byte[] sle4442Reset(int slot)
                                  throws Sle4442DevException
        Deprecated. 
        复位 IC卡,并返回卡的ATR
        Reset IC card and return ATR of the card.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Returns:
        返回的卡的ATR
        ATR Answer To Reset information of the card.
        Throws:
        Sle4442DevException
      • sle4442ReadMMem

        @Deprecated
        byte[] sle4442ReadMMem(int slot,
                                            int Addr,
                                            int length)
                                     throws Sle4442DevException
        Deprecated. 
        读取数据
        Read data.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Addr -
        开始读取的位置,范围在0~255
        the start address to read, its valid range is 0~255.
        length -
        要读取的数据的长度,范围为1至256。
        the length of the data to be read, its valid range is 1~256.
        Returns:
        被读取到的数据
        the data has been read
        Throws:
        Sle4442DevException
      • sle4442WriteMMem

        @Deprecated
        void sle4442WriteMMem(int slot,
                                           int Addr,
                                           int length,
                                           byte[] dataIn)
                                    throws Sle4442DevException
        Deprecated. 
        写入数据
        Write data.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Addr -
        开始写入的位置,范围在0~255
        the start address to write, its valid range is 0~255.
        length -
        要写入的数据长度,范围在0~255
        the length of the data to be writen, its valid range is 0~255.
        dataIn -
        数据字节
        number bytes of data
        Throws:
        Sle4442DevException
      • sle4442ReadProMMem

        @Deprecated
        byte[] sle4442ReadProMMem(int slot)
                                        throws Sle4442DevException
        Deprecated. 
        读取被保护的数据
        Read proteceted data.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Returns:
        被读到的数据
        the data has been read
        Throws:
        Sle4442DevException
      • sle4442WriteProMMem

        @Deprecated
        void sle4442WriteProMMem(int slot,
                                              int Addr,
                                              int length,
                                              byte[] dataIn)
                                       throws Sle4442DevException
        Deprecated. 
        写入被保护的数据
        Write proteceted data.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        Addr -
        开始写入的位置,范围在0~31
        the start address to write, its valid range is 0~31.
        length -
        要写入的数据长度,范围在1~32
        the length of the data to be writen, its valid range is 1~32.
        dataIn -
        数据字节
        number bytes of data
        Throws:
        Sle4442DevException
      • sle4442VerifySc

        @Deprecated
        void sle4442VerifySc(int slot,
                                          byte[] pwd)
                                   throws Sle4442DevException
        Deprecated. 
        验证密码
        Verify password.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        pwd -
        密码数据字节,需要3个字节
        number bytes of password, should be 3 bytes
        Throws:
        Sle4442DevException
      • sle4442UpdateSc

        @Deprecated
        void sle4442UpdateSc(int slot,
                                          byte[] newPwd)
                                   throws Sle4442DevException
        Deprecated. 
        更新密码
        Update password.
        Parameters:
        slot -
        目标通道号。 目前仅支持0
        the number of card channel which should be initialized. alway 0 now
        newPwd -
        新的密码数据字节,需要3个字节
        number bytes of password,should be 3 bytes
        Throws:
        Sle4442DevException