Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class ASN1EncodableVector

extends Object
Class Inheritance
Imports
java.util.Enumeration, .Vector

Mutable class for building ASN.1 constructed objects such as SETs or SEQUENCEs.

Field Summary

Modifier and TypeField and Description
private final Vector<E>
v

Constructor Summary

AccessConstructor and Description
public
ASN1EncodableVector()

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public void
add(ASN1Encodable
the encodable to add.
obj
)

Add an encodable to the vector.

public void
addAll(ASN1EncodableVector
the vector to add.
other
)

Add the contents of another vector.

public ASN1Encodable

Returns:

the object at position i.
get
(int
the index of the object of interest.
i
)

Return the object at position i in this vector.

public int

Returns:

the object count in the vector.
size
()

Return the size of the vector.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

vback to summary
private final Vector<E> v

Constructor Detail

ASN1EncodableVectorback to summary
public ASN1EncodableVector()

Base constructor.

Method Detail

addback to summary
public void add(ASN1Encodable obj)

Add an encodable to the vector.

Parameters
obj:ASN1Encodable

the encodable to add.

addAllback to summary
public void addAll(ASN1EncodableVector other)

Add the contents of another vector.

Parameters
other:ASN1EncodableVector

the vector to add.

getback to summary
public ASN1Encodable get(int i)

Return the object at position i in this vector.

Parameters
i:int

the index of the object of interest.

Returns:ASN1Encodable

the object at position i.

sizeback to summary
public int size()

Return the size of the vector.

Returns:int

the object count in the vector.