Package io.anyline.nfc.bouncycastle.asn1
Class DERSet
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
,io.anyline.nfc.bouncycastle.util.Iterable
,java.lang.Iterable
public class DERSet extends ASN1Set
A DER encoded SET object
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.
-
-
Constructor Summary
Constructors Constructor Description DERSet()
create an empty set DERSet(ASN1Encodable element)
create a set containing one object DERSet(ASN1EncodableVector elementVector)
create a set containing a vector of objects. DERSet(Array<ASN1Encodable> elements)
create a set containing an array of objects.
-
Method Summary
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Set
getInstance, getInstance, getObjectAt, getObjects, hashCode, iterator, parser, size, toArray, toString
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
-
Methods inherited from class io.anyline.nfc.bouncycastle.util.Iterable
iterator
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DERSet
DERSet()
create an empty set
-
DERSet
DERSet(ASN1Encodable element)
create a set containing one object- Parameters:
element
- the object to go in the set
-
DERSet
DERSet(ASN1EncodableVector elementVector)
create a set containing a vector of objects.- Parameters:
elementVector
- the vector of objects to make up the set.
-
DERSet
DERSet(Array<ASN1Encodable> elements)
create a set containing an array of objects.- Parameters:
elements
- the array of objects to make up the set.
-
-
-
-