Class SetPinAPDU


  • public class SetPinAPDU
    extends APDU
    • Constructor Detail

      • SetPinAPDU

        public SetPinAPDU​(byte p1,
                          byte p2,
                          TPSBuffer data)
        Constructs SetPin APDU. SecureSetPIN APDU format: CLA 0x80 INS 0x04 P1 P2 0x00 lc DATA Connection requirement: Secure Channel Possible error Status Codes: 9C 06 - unauthorized
        Parameters:
        p1 - Pin number: 0x00 - 0x07
        p2 - always 0x00
        data - pin
        See Also:
        APDU