For X.690 syntax rules, see ASN1Set.
For short: Constructing this form does sort the supplied elements,
and the sorting happens also before serialization (if necesssary).
This is different from the way BERSet,DLSet does things.
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | DERSet(ASN1EncodableVector
the vector of objects to make up the set. v)create a set containing a vector of objects. |
| public | DERSet(ASN1Encodable[]
the array of objects to make up the set. a)create a set containing an array of objects. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv int | encodedLength()
Implements abstract org. |
| private int |
| bodyLength | back to summary |
|---|---|
| private int bodyLength | |
| DERSet | back to summary |
|---|---|
| public DERSet() create an empty set | |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1Encodable obj) create a set containing one object
| |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1EncodableVector v) create a set containing a vector of objects.
| |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1Encodable[] a) create a set containing an array of objects.
| |
| DERSet | back to summary |
|---|---|
| pack-priv DERSet(ASN1EncodableVector v, boolean doSort) | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out) throws IOException Implements abstract org. | |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength() throws IOException Implements abstract org. Doc from org. Return the length of the encoding this object will produce.
| |
| getBodyLength | back to summary |
|---|---|
| private int getBodyLength() throws IOException | |