what-the-bank/sources/org/bouncycastle/asn1/ASN1EncodableVector.java

29 lines
706 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.asn1;
import java.util.Enumeration;
import java.util.Vector;
/* loaded from: classes6.dex */
public class ASN1EncodableVector {
private final Vector v = new Vector();
public int size() {
return this.v.size();
}
public ASN1Encodable get(int i) {
return (ASN1Encodable) this.v.elementAt(i);
}
public void addAll(ASN1EncodableVector aSN1EncodableVector) {
Enumeration elements = aSN1EncodableVector.v.elements();
while (elements.hasMoreElements()) {
this.v.addElement(elements.nextElement());
}
}
public void add(ASN1Encodable aSN1Encodable) {
this.v.addElement(aSN1Encodable);
}
}