Package io.anyline.nfc.bouncycastle.asn1
Class DERSequence
-
- 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 DERSequence extends ASN1Sequence
Definite length SEQUENCE, encoding tells explicit number of bytes that the content of this sequence occupies.
For X.690 syntax rules, see ASN1Sequence.
-
-
Constructor Summary
Constructors Constructor Description DERSequence()Create an empty sequence DERSequence(ASN1Encodable element)Create a sequence containing one object DERSequence(ASN1EncodableVector elementVector)Create a sequence containing a vector of objects. DERSequence(Array<ASN1Encodable> elements)Create a sequence containing an array of objects.
-
Method Summary
Modifier and Type Method Description static DERSequenceconvert(ASN1Sequence seq)-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Sequence
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
-
DERSequence
DERSequence()
Create an empty sequence
-
DERSequence
DERSequence(ASN1Encodable element)
Create a sequence containing one object- Parameters:
element- the object to go in the sequence.
-
DERSequence
DERSequence(ASN1EncodableVector elementVector)
Create a sequence containing a vector of objects.- Parameters:
elementVector- the vector of objects to make up the sequence.
-
DERSequence
DERSequence(Array<ASN1Encodable> elements)
Create a sequence containing an array of objects.- Parameters:
elements- the array of objects to make up the sequence.
-
-
Method Detail
-
convert
static DERSequence convert(ASN1Sequence seq)
-
-
-
-