aQute.libg.asn1
Class PDU

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

public class PDU
extends Object
implements Types, Iterable<PDU>


Field Summary
 
Fields inherited from interface aQute.libg.asn1.Types
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CHARACTER_STRING, CLASSES, CLASSMASK, CONSTRUCTED, CONTEXT, EMBEDDED_PDV, ENUMERATED, EOC, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_DESCRIPTOR, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, PRIVATE, REAL, RELATIVE_OID, SEQUENCE, SET, T61_STRING, TAGMASK, TAGS, UNIVERSAL, UNIVERSAL_STRING, UTCTIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
 
Constructor Summary
PDU(BitSet bits)
           
PDU(boolean value)
           
PDU(byte[] data)
           
PDU(Date payload)
           
PDU(int n)
           
PDU(int top, int l1, int... remainder)
           
PDU(int id, Object payload)
           
PDU(int tag, PDU... set)
           
PDU(PDU... set)
           
PDU(String s)
           
 
Method Summary
 BitSet getBits()
           
 Boolean getBoolean()
           
 byte[] getBytes()
           
 PDU[] getChildren()
           
 Date getDate()
           
 int getInt()
           
 int[] getOID()
           
 String getString()
           
 int getTag()
           
 boolean isConstructed()
           
 Iterator<PDU> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getTag

public int getTag()

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()


Copyright © 2010 aQute SARL. All Rights Reserved.