public class org.bouncycastle.cert.jcajce.JcaCertStore extends org.bouncycastle.util.CollectionStore
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.jcajce.JcaCertStore
super_class: org.bouncycastle.util.CollectionStore
{
public void <init>(java.util.Collection);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.cert.jcajce.JcaCertStore.convertCerts:(Ljava/util/Collection;)Ljava/util/Collection;
invokespecial org.bouncycastle.util.CollectionStore.<init>:(Ljava/util/Collection;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStore;
0 2 1 collection Ljava/util/Collection;
Exceptions:
throws java.security.cert.CertificateEncodingException
MethodParameters:
Name Flags
collection
private static java.util.Collection convertCerts(java.util.Collection);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 11
3: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
instanceof java.security.cert.X509Certificate
ifeq 10
5: aload 3
checkcast java.security.cert.X509Certificate
astore 4
start local 4 6: aload 1
new org.bouncycastle.cert.X509CertificateHolder
dup
aload 4
invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
invokespecial org.bouncycastle.cert.X509CertificateHolder.<init>:([B)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 11
8: StackMap locals: java.util.Collection java.util.List java.util.Iterator java.lang.Object java.security.cert.X509Certificate
StackMap stack: java.io.IOException
astore 5
start local 5 9: new java.security.cert.CertificateEncodingException
dup
new java.lang.StringBuilder
dup
ldc "unable to read encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.cert.CertificateEncodingException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 1
aload 3
checkcast org.bouncycastle.cert.X509CertificateHolder
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 2 12: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 collection Ljava/util/Collection;
1 13 1 list Ljava/util/List;
2 12 2 it Ljava/util/Iterator;
4 11 3 o Ljava/lang/Object;
6 10 4 cert Ljava/security/cert/X509Certificate;
9 10 5 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
Exceptions:
throws java.security.cert.CertificateEncodingException
MethodParameters:
Name Flags
collection
}
SourceFile: "JcaCertStore.java"