Class Apdu

  • Direct Known Subclasses:
    CommandApdu, ResponseApdu

    public class Apdu
    extends java.lang.Object
    Application Programming Data Unit (APDU) para comunicación con tarjeta inteligente.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] apduBytes
      Codificación binaria de la APDU.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Apdu()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()
      Obtiene los octetos que conforman la APDU.
      protected void setBytes​(byte[] apdu)
      Establece los octetos que conforman la APDU.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • apduBytes

        private transient byte[] apduBytes
        Codificación binaria de la APDU.
    • Constructor Detail

      • Apdu

        protected Apdu()
        Constructor.
    • Method Detail

      • getBytes

        public byte[] getBytes()
        Obtiene los octetos que conforman la APDU.
        Returns:
        Array de octetos que conforman la APDU.
      • setBytes

        protected void setBytes​(byte[] apdu)
        Establece los octetos que conforman la APDU.
        Parameters:
        apdu - Array de octetos que conforman la APDU.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object