📄 derconstructedset.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: DERConstructedSet.java
package jit.asn1;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Enumeration;
// Referenced classes of package jit.asn1:
// ASN1Set, DEROutputStream, DEREncodableVector, DEREncodable
public class DERConstructedSet extends ASN1Set
{
public DERConstructedSet()
{
}
public DERConstructedSet(DEREncodable obj)
{
addObject(obj);
}
public DERConstructedSet(DEREncodableVector v)
{
for(int i = 0; i != v.size(); i++)
addObject(v.get(i));
}
public void addObject(DEREncodable obj)
{
super.addObject(obj);
}
public int getSize()
{
return size();
}
void encode(DEROutputStream out)
throws IOException
{
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
DEROutputStream dOut = new DEROutputStream(bOut);
Object obj;
for(Enumeration e = getObjects(); e.hasMoreElements(); dOut.writeObject(obj))
obj = e.nextElement();
dOut.close();
byte bytes[] = bOut.toByteArray();
out.writeEncoded(49, bytes);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -