Package io.anyline.nfc.bouncycastle.asn1
Class ASN1EncodableVector
-
- All Implemented Interfaces:
public class ASN1EncodableVector
Mutable class for building ASN.1 constructed objects such as SETs or SEQUENCEs.
-
-
Constructor Summary
Constructors Constructor Description ASN1EncodableVector()
ASN1EncodableVector(int initialCapacity)
-
Method Summary
Modifier and Type Method Description void
add(ASN1Encodable element)
void
addAll(Array<ASN1Encodable> others)
void
addAll(ASN1EncodableVector other)
ASN1Encodable
get(int i)
Return the object at position i in this vector. int
size()
Return the size of the vector. -
-
Method Detail
-
add
void add(ASN1Encodable element)
-
addAll
void addAll(Array<ASN1Encodable> others)
-
addAll
void addAll(ASN1EncodableVector other)
-
get
ASN1Encodable get(int i)
Return the object at position i in this vector.
- Parameters:
i
- the index of the object of interest.- Returns:
the object at position i.
-
size
int size()
Return the size of the vector.
- Returns:
the object count in the vector.
-
-
-
-