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. elementVector)create a set containing a vector of objects. |
| public | DERSet(ASN1Encodable[]
the array of objects to make up the set. elements)create a set containing an array of objects. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static DERSet | |
| pack-priv void | encode(ASN1OutputStream out, boolean withTag)
Implements abstract org.
|
| pack-priv int | encodedLength(boolean withTag)
Implements abstract org.
|
| private int | |
| pack-priv ASN1Primitive | toDERObject()
Overrides org. Change current SET object to be encoded as |
| pack-priv ASN1Primitive | toDLObject()
Overrides org. Change current SET object to be encoded as |
| contentsLength | back to summary |
|---|---|
| private int contentsLength | |
| DERSet | back to summary |
|---|---|
| public DERSet() create an empty set | |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1Encodable element) create a set containing one object
| |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1EncodableVector elementVector) create a set containing a vector of objects.
| |
| DERSet | back to summary |
|---|---|
| public DERSet(ASN1Encodable[] elements) create a set containing an array of objects.
| |
| DERSet | back to summary |
|---|---|
| pack-priv DERSet(boolean isSorted, ASN1Encodable[] elements) | |
| checkSorted | back to summary |
|---|---|
| private static boolean checkSorted(boolean isSorted) | |
| convert | back to summary |
|---|---|
| public static DERSet convert(ASN1Set set) | |
| encode | back to summary |
|---|---|
| pack-priv void encode(ASN1OutputStream out, boolean withTag) throws IOException Implements abstract org. | |
| encodedLength | back to summary |
|---|---|
| pack-priv int encodedLength(boolean withTag) throws IOException Implements abstract org. | |
| getContentsLength | back to summary |
|---|---|
| private int getContentsLength() throws IOException | |
| toDERObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDERObject() Overrides org. Doc from org. Change current SET object to be encoded as
| |
| toDLObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDLObject() Overrides org. Doc from org. Change current SET object to be encoded as
| |