public class org.bouncycastle.jce.provider.MultiCertStoreSpi extends java.security.cert.CertStoreSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.MultiCertStoreSpi
super_class: java.security.cert.CertStoreSpi
{
private org.bouncycastle.jce.MultiCertStoreParameters params;
descriptor: Lorg/bouncycastle/jce/MultiCertStoreParameters;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.security.cert.CertStoreParameters);
descriptor: (Ljava/security/cert/CertStoreParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
start local 1 // java.security.cert.CertStoreParameters params
0: .line 26
aload 0 /* this */
aload 1 /* params */
invokespecial java.security.cert.CertStoreSpi.<init>:(Ljava/security/cert/CertStoreParameters;)V
1: .line 28
aload 1 /* params */
instanceof org.bouncycastle.jce.MultiCertStoreParameters
ifne 3
2: .line 30
new java.security.InvalidAlgorithmParameterException
dup
new java.lang.StringBuilder
dup
ldc "org.bouncycastle.jce.provider.MultiCertStoreSpi: parameter must be a MultiCertStoreParameters object\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* params */
invokevirtual java.lang.Object.toString:()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.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
3: .line 33
StackMap locals: org.bouncycastle.jce.provider.MultiCertStoreSpi java.security.cert.CertStoreParameters
StackMap stack:
aload 0 /* this */
aload 1 /* params */
checkcast org.bouncycastle.jce.MultiCertStoreParameters
putfield org.bouncycastle.jce.provider.MultiCertStoreSpi.params:Lorg/bouncycastle/jce/MultiCertStoreParameters;
4: .line 34
return
end local 1 // java.security.cert.CertStoreParameters params
end local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/MultiCertStoreSpi;
0 5 1 params Ljava/security/cert/CertStoreParameters;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
public java.util.Collection engineGetCertificates(java.security.cert.CertSelector);
descriptor: (Ljava/security/cert/CertSelector;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
start local 1 // java.security.cert.CertSelector certSelector
0: .line 39
aload 0 /* this */
getfield org.bouncycastle.jce.provider.MultiCertStoreSpi.params:Lorg/bouncycastle/jce/MultiCertStoreParameters;
invokevirtual org.bouncycastle.jce.MultiCertStoreParameters.getSearchAllStores:()Z
istore 2 /* searchAllStores */
start local 2 // boolean searchAllStores
1: .line 40
aload 0 /* this */
getfield org.bouncycastle.jce.provider.MultiCertStoreSpi.params:Lorg/bouncycastle/jce/MultiCertStoreParameters;
invokevirtual org.bouncycastle.jce.MultiCertStoreParameters.getCertStores:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3 /* iter */
start local 3 // java.util.Iterator iter
2: .line 41
iload 2 /* searchAllStores */
ifeq 3
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 4
StackMap locals: int java.util.Iterator
StackMap stack:
3: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
4: astore 4 /* allCerts */
start local 4 // java.util.List allCerts
5: .line 43
goto 13
6: .line 45
StackMap locals: java.util.List
StackMap stack:
aload 3 /* iter */
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.CertStore
astore 5 /* store */
start local 5 // java.security.cert.CertStore store
7: .line 46
aload 5 /* store */
aload 1 /* certSelector */
invokevirtual java.security.cert.CertStore.getCertificates:(Ljava/security/cert/CertSelector;)Ljava/util/Collection;
astore 6 /* certs */
start local 6 // java.util.Collection certs
8: .line 48
iload 2 /* searchAllStores */
ifeq 11
9: .line 50
aload 4 /* allCerts */
aload 6 /* certs */
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: .line 51
goto 13
11: .line 52
StackMap locals: java.security.cert.CertStore java.util.Collection
StackMap stack:
aload 6 /* certs */
invokeinterface java.util.Collection.isEmpty:()Z
ifne 13
12: .line 54
aload 6 /* certs */
areturn
end local 6 // java.util.Collection certs
end local 5 // java.security.cert.CertStore store
13: .line 43
StackMap locals:
StackMap stack:
aload 3 /* iter */
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: .line 58
aload 4 /* allCerts */
areturn
end local 4 // java.util.List allCerts
end local 3 // java.util.Iterator iter
end local 2 // boolean searchAllStores
end local 1 // java.security.cert.CertSelector certSelector
end local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/jce/provider/MultiCertStoreSpi;
0 15 1 certSelector Ljava/security/cert/CertSelector;
1 15 2 searchAllStores Z
2 15 3 iter Ljava/util/Iterator;
5 15 4 allCerts Ljava/util/List;
7 13 5 store Ljava/security/cert/CertStore;
8 13 6 certs Ljava/util/Collection;
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
certSelector
public java.util.Collection engineGetCRLs(java.security.cert.CRLSelector);
descriptor: (Ljava/security/cert/CRLSelector;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
start local 1 // java.security.cert.CRLSelector crlSelector
0: .line 64
aload 0 /* this */
getfield org.bouncycastle.jce.provider.MultiCertStoreSpi.params:Lorg/bouncycastle/jce/MultiCertStoreParameters;
invokevirtual org.bouncycastle.jce.MultiCertStoreParameters.getSearchAllStores:()Z
istore 2 /* searchAllStores */
start local 2 // boolean searchAllStores
1: .line 65
aload 0 /* this */
getfield org.bouncycastle.jce.provider.MultiCertStoreSpi.params:Lorg/bouncycastle/jce/MultiCertStoreParameters;
invokevirtual org.bouncycastle.jce.MultiCertStoreParameters.getCertStores:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3 /* iter */
start local 3 // java.util.Iterator iter
2: .line 66
iload 2 /* searchAllStores */
ifeq 3
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 4
StackMap locals: int java.util.Iterator
StackMap stack:
3: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
StackMap locals:
StackMap stack: java.util.List
4: astore 4 /* allCRLs */
start local 4 // java.util.List allCRLs
5: .line 68
goto 13
6: .line 70
StackMap locals: java.util.List
StackMap stack:
aload 3 /* iter */
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.CertStore
astore 5 /* store */
start local 5 // java.security.cert.CertStore store
7: .line 71
aload 5 /* store */
aload 1 /* crlSelector */
invokevirtual java.security.cert.CertStore.getCRLs:(Ljava/security/cert/CRLSelector;)Ljava/util/Collection;
astore 6 /* crls */
start local 6 // java.util.Collection crls
8: .line 73
iload 2 /* searchAllStores */
ifeq 11
9: .line 75
aload 4 /* allCRLs */
aload 6 /* crls */
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
10: .line 76
goto 13
11: .line 77
StackMap locals: java.security.cert.CertStore java.util.Collection
StackMap stack:
aload 6 /* crls */
invokeinterface java.util.Collection.isEmpty:()Z
ifne 13
12: .line 79
aload 6 /* crls */
areturn
end local 6 // java.util.Collection crls
end local 5 // java.security.cert.CertStore store
13: .line 68
StackMap locals:
StackMap stack:
aload 3 /* iter */
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: .line 83
aload 4 /* allCRLs */
areturn
end local 4 // java.util.List allCRLs
end local 3 // java.util.Iterator iter
end local 2 // boolean searchAllStores
end local 1 // java.security.cert.CRLSelector crlSelector
end local 0 // org.bouncycastle.jce.provider.MultiCertStoreSpi this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/jce/provider/MultiCertStoreSpi;
0 15 1 crlSelector Ljava/security/cert/CRLSelector;
1 15 2 searchAllStores Z
2 15 3 iter Ljava/util/Iterator;
5 15 4 allCRLs Ljava/util/List;
7 13 5 store Ljava/security/cert/CertStore;
8 13 6 crls Ljava/util/Collection;
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
crlSelector
}
SourceFile: "MultiCertStoreSpi.java"