8.11.2 The contents octets shall consist of the complete encoding of a data value from each of the types listed in the ASN.1 definition of the set type, in an order chosen by the sender, unless the type was referenced with the keyword OPTIONAL or the keyword DEFAULT.
8.11.3 The encoding of a data value may, but need not, be present for a type which was referenced with the keyword OPTIONAL or the keyword DEFAULT.
NOTE — The order of data values in a set value is not significant, and places no constraints on the order during transfer
NOTE — Where a component of the set is an untagged choice type, the location of that component in the ordering will depend on the tag of the choice component being encoded.
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | encode(ASN1OutputStream out)
Implements abstract org. As DL requires the constructed, definite-length model to be used for structured types, this varies slightly from the ASN.1 descriptions given. |
| pack-priv int | encodedLength()
Implements abstract org. |
| private int |
| bodyLength | back to summary |
|---|---|
| private int bodyLength | |
| DLSet | back to summary |
|---|---|
| public DLSet() create an empty set | |
| DLSet | back to summary |
|---|---|
public DLSet(ASN1Encodable obj)
| |
| DLSet | back to summary |
|---|---|
public DLSet(ASN1EncodableVector v)
| |
| DLSet | back to summary |
|---|---|
| public DLSet(ASN1Encodable[] a) create a set from an array of objects. | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out) throws IOException Implements abstract org. A note on the implementation: As DL requires the constructed, definite-length model to be used for structured types, this varies slightly from the ASN.1 descriptions given. Rather than just outputting SET, we also have to specify CONSTRUCTED, and the objects length. | |
| 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 | |