Class PDU

java.lang.Object
aQute.libg.asn1.PDU
All Implemented Interfaces:
Types, Iterable<PDU>

public class PDU extends Object implements Types, Iterable<PDU>
  • Field Details

    • identifier

      final int identifier
    • payload

      final Object payload
    • data

      byte[] data
  • Constructor Details

    • PDU

      public PDU(int id, Object payload)
    • PDU

      public PDU(Date payload)
    • PDU

      public PDU(int n)
    • PDU

      public PDU(boolean value)
    • PDU

      public PDU(String s) throws Exception
      Throws:
      Exception
    • PDU

      public PDU(byte[] data)
    • PDU

      public PDU(BitSet bits)
    • PDU

      public PDU(int top, int l1, int... remainder)
    • PDU

      public PDU(int tag, PDU... set)
    • PDU

      public PDU(PDU... set)
  • Method Details

    • getTag

      public int getTag()
    • getClss

      int getClss()
    • isConstructed

      public boolean isConstructed()
    • getString

      public String getString()
    • iterator

      public Iterator<PDU> iterator()
      Specified by:
      iterator in interface Iterable<PDU>
    • getOID

      public int[] getOID()
    • getBoolean

      public Boolean getBoolean()
    • getBits

      public BitSet getBits()
    • getInt

      public int getInt()
    • getBytes

      public byte[] getBytes()
    • getChildren

      public PDU[] getChildren()
    • getDate

      public Date getDate()