public class DERSet extends ASN1Set
Modifier and Type | Field and Description |
---|---|
private int |
bodyLength |
Constructor and Description |
---|
DERSet()
create an empty set
|
DERSet(ASN1Encodable obj) |
DERSet(ASN1Encodable[] a)
create a set from an array of objects.
|
DERSet(ASN1EncodableVector v) |
DERSet(ASN1EncodableVector v,
boolean doSort) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(ASN1OutputStream out) |
(package private) int |
encodedLength() |
private int |
getBodyLength() |
asn1Equals, getInstance, getInstance, getObjectAt, getObjects, hashCode, isConstructed, parser, size, sort, toArray, toDERObject, toDLObject, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
private int bodyLength
public DERSet()
public DERSet(ASN1Encodable obj)
obj
- - a single object that makes up the set.public DERSet(ASN1EncodableVector v)
v
- - a vector of objects making up the set.public DERSet(ASN1Encodable[] a)
DERSet(ASN1EncodableVector v, boolean doSort)
private int getBodyLength() throws java.io.IOException
java.io.IOException
int encodedLength() throws java.io.IOException
encodedLength
in class ASN1Primitive
java.io.IOException
void encode(ASN1OutputStream out) throws java.io.IOException