public class ASN1Set extends ASN1Object
| Modifier and Type | Field and Description |
|---|---|
static ASN1ObjectIdentifier |
oid |
static ASN1Tag |
tag |
| Constructor and Description |
|---|
ASN1Set() |
ASN1Set(ASN1Object... children) |
ASN1Set(ASN1Tag tag) |
ASN1Set(ASN1Tag tag,
ASN1Object... children) |
ASN1Set(ASN1Tag tag,
java.util.List<ASN1Object> children) |
ASN1Set(java.util.List<ASN1Object> children) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(ASN1Object objects) |
void |
addChildren(ASN1Object... objects) |
void |
addChildren(java.util.Collection<ASN1Object> objects) |
ASN1Object |
get(int index) |
java.util.List<ASN1Object> |
getChildren() |
ASN1ObjectIdentifier |
getOID() |
ASN1Tag |
getTag() |
boolean |
isEmpty() |
void |
render(Codec c) |
long |
renderLength() |
void |
set(int index,
ASN1Object object) |
void |
setLength(long length) |
int |
size() |
java.lang.String |
toString() |
void |
visit(Visitor v) |
compareTag, toBER, toDERpublic static final ASN1ObjectIdentifier oid
public static final ASN1Tag tag
public ASN1Set()
public ASN1Set(ASN1Tag tag)
public ASN1Set(ASN1Object... children)
public ASN1Set(ASN1Tag tag, ASN1Object... children)
public ASN1Set(java.util.List<ASN1Object> children)
public ASN1Set(ASN1Tag tag, java.util.List<ASN1Object> children)
public void setLength(long length)
public void set(int index,
ASN1Object object)
public void addChild(ASN1Object objects)
public void addChildren(ASN1Object... objects)
public void addChildren(java.util.Collection<ASN1Object> objects)
public ASN1Object get(int index)
public java.util.List<ASN1Object> getChildren()
public int size()
public boolean isEmpty()
isEmpty in class ASN1Objectpublic long renderLength()
renderLength in class ASN1Objectpublic void render(Codec c) throws CodecException
render in interface PumpCodecExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic ASN1ObjectIdentifier getOID()
getOID in class ASN1Objectpublic ASN1Tag getTag()
getTag in class ASN1Objectpublic void visit(Visitor v)
visit in class ASN1Object