org.bouncycastle.asn1.ASN1EncodableVector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk16 Show documentation
Show all versions of bcprov-jdk16 Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.6.
The newest version!
package org.bouncycastle.asn1;
import java.util.Vector;
/**
* the parent class for this will eventually disappear. Use this one!
*/
public class ASN1EncodableVector
extends DEREncodableVector
{
Vector v = new Vector();
public ASN1EncodableVector()
{
}
public void add(DEREncodable obj)
{
v.addElement(obj);
}
public DEREncodable get(int i)
{
return (DEREncodable)v.elementAt(i);
}
public int size()
{
return v.size();
}
}