public class org.bouncycastle.jce.provider.X509LDAPCertStoreSpi extends java.security.cert.CertStoreSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi
super_class: java.security.cert.CertStoreSpi
{
private org.bouncycastle.jce.X509LDAPCertStoreParameters params;
descriptor: Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
flags: (0x0002) ACC_PRIVATE
private static java.lang.String LDAP_PROVIDER;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String REFERRALS_IGNORE;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.String SEARCH_SECURITY_LEVEL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "none"
private static final java.lang.String URL_CONTEXT_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.url"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "com.sun.jndi.ldap.LdapCtxFactory"
putstatic org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.LDAP_PROVIDER:Ljava/lang/String;
1: ldc "ignore"
putstatic org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.REFERRALS_IGNORE:Ljava/lang/String;
2: return
LocalVariableTable:
Start End Slot Name Signature
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 start local 1 0: aload 0
aload 1
invokespecial java.security.cert.CertStoreSpi.<init>:(Ljava/security/cert/CertStoreParameters;)V
1: aload 1
instanceof org.bouncycastle.jce.X509LDAPCertStoreParameters
ifne 7
2: new java.security.InvalidAlgorithmParameterException
dup
3: new java.lang.StringBuilder
dup
ldc Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": parameter must be a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " object\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CertStoreParameters
StackMap stack:
aload 0
aload 1
checkcast org.bouncycastle.jce.X509LDAPCertStoreParameters
putfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 9 1 params Ljava/security/cert/CertStoreParameters;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
private javax.naming.directory.DirContext connectLDAP();
descriptor: ()Ljavax/naming/directory/DirContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: aload 1
ldc "java.naming.factory.initial"
getstatic org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.LDAP_PROVIDER:Ljava/lang/String;
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 1
ldc "java.naming.batchsize"
ldc "0"
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 1
ldc "java.naming.provider.url"
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getLdapURL:()Ljava/lang/String;
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
4: aload 1
ldc "java.naming.factory.url.pkgs"
ldc "com.sun.jndi.url"
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
5: aload 1
ldc "java.naming.referral"
getstatic org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.REFERRALS_IGNORE:Ljava/lang/String;
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
6: aload 1
ldc "java.naming.security.authentication"
7: ldc "none"
8: invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
9: new javax.naming.directory.InitialDirContext
dup
aload 1
invokespecial javax.naming.directory.InitialDirContext.<init>:(Ljava/util/Hashtable;)V
astore 2
start local 2 10: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
1 11 1 props Ljava/util/Properties;
10 11 2 ctx Ljavax/naming/directory/DirContext;
Exceptions:
throws javax.naming.NamingException
private java.lang.String parseDN(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 3
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
2: aload 2
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
3: invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 4: aload 3
iload 4
aload 2
invokevirtual java.lang.String.length:()I
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
5: aload 3
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmpne 12
7: aload 3
invokevirtual java.lang.String.length:()I
istore 5
8: goto 12
9: StackMap locals: java.lang.String int int
StackMap stack:
aload 3
bipush 44
iload 5
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 5
10: iload 5
iconst_m1
if_icmpne 12
11: aload 3
invokevirtual java.lang.String.length:()I
istore 5
12: StackMap locals:
StackMap stack:
aload 3
iload 5
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpeq 9
13: aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
14: aload 3
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 4
15: aload 3
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
16: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpne 18
17: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
18: StackMap locals:
StackMap stack:
aload 3
ldc "\""
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
19: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
20: StackMap locals:
StackMap stack:
aload 3
ldc "\""
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 22
21: aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
22: StackMap locals:
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 23 1 subject Ljava/lang/String;
0 23 2 subjectAttributeName Ljava/lang/String;
1 23 3 temp Ljava/lang/String;
4 23 4 begin I
6 23 5 end I
MethodParameters:
Name Flags
subject
subjectAttributeName
public java.util.Collection engineGetCertificates(java.security.cert.CertSelector);
descriptor: (Ljava/security/cert/CertSelector;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.cert.X509CertSelector
ifne 2
1: new java.security.cert.CertStoreException
dup
ldc "selector is not a X509CertSelector"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.cert.X509CertSelector
astore 2
start local 2 3: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 4: aload 0
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.getEndCertificates:(Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
astore 4
start local 4 5: aload 4
aload 0
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.getCACertificates:(Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
6: aload 4
aload 0
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.getCrossCertificates:(Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
7: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
start local 5 8: ldc "X.509"
9: getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
10: invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 6
start local 6 11: goto 40
12: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CertSelector java.security.cert.X509CertSelector java.util.Set java.util.Set java.util.Iterator java.security.cert.CertificateFactory
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 7
start local 7 13: aload 7
ifnull 40
aload 7
arraylength
ifne 15
14: goto 40
15: StackMap locals: byte[]
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 16: aload 8
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 7
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
18: invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
19: invokestatic org.bouncycastle.asn1.x509.CertificatePair.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/CertificatePair;
20: astore 9
start local 9 21: aload 8
invokeinterface java.util.List.clear:()V
22: aload 9
invokevirtual org.bouncycastle.asn1.x509.CertificatePair.getForward:()Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
ifnull 24
23: aload 8
aload 9
invokevirtual org.bouncycastle.asn1.x509.CertificatePair.getForward:()Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokevirtual org.bouncycastle.asn1.x509.X509CertificateStructure.getEncoded:()[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: StackMap locals: java.util.List org.bouncycastle.asn1.x509.CertificatePair
StackMap stack:
aload 9
invokevirtual org.bouncycastle.asn1.x509.CertificatePair.getReverse:()Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
ifnull 29
25: aload 8
aload 9
invokevirtual org.bouncycastle.asn1.x509.CertificatePair.getReverse:()Lorg/bouncycastle/asn1/x509/X509CertificateStructure;
invokevirtual org.bouncycastle.asn1.x509.X509CertificateStructure.getEncoded:()[B
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 26: goto 29
27: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CertSelector java.security.cert.X509CertSelector java.util.Set java.util.Set java.util.Iterator java.security.cert.CertificateFactory byte[] java.util.List
StackMap stack: java.io.IOException
pop
goto 29
28: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
29: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 30: goto 39
31: StackMap locals: java.util.Iterator
StackMap stack:
new java.io.ByteArrayInputStream
dup
32: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
33: invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 10
start local 10 34: aload 6
aload 10
invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
astore 11
start local 11 35: aload 2
aload 11
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 39
36: aload 3
aload 11
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 11 37: goto 39
38: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CertSelector java.security.cert.X509CertSelector java.util.Set java.util.Set java.util.Iterator java.security.cert.CertificateFactory byte[] java.util.List java.util.Iterator java.io.ByteArrayInputStream
StackMap stack: java.lang.Exception
pop
end local 10 39: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 31
end local 9 end local 8 end local 7 40: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 6 41: goto 46
42: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CertSelector java.security.cert.X509CertSelector java.util.Set java.util.Set java.util.Iterator
StackMap stack: java.lang.Exception
astore 6
start local 6 43: new java.security.cert.CertStoreException
dup
44: new java.lang.StringBuilder
dup
ldc "certificate cannot be constructed from LDAP result: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
end local 6 46: StackMap locals:
StackMap stack:
aload 3
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 47 1 selector Ljava/security/cert/CertSelector;
3 47 2 xselector Ljava/security/cert/X509CertSelector;
4 47 3 certSet Ljava/util/Set;
5 47 4 set Ljava/util/Set;
8 47 5 it Ljava/util/Iterator;
11 41 6 cf Ljava/security/cert/CertificateFactory;
13 40 7 bytes [B
16 40 8 bytesList Ljava/util/List;
21 26 9 pair Lorg/bouncycastle/asn1/x509/CertificatePair;
30 40 9 it2 Ljava/util/Iterator;
34 39 10 bIn Ljava/io/ByteArrayInputStream;
35 37 11 cert Ljava/security/cert/Certificate;
43 46 6 e Ljava/lang/Exception;
Exception table:
from to target type
17 26 27 Class java.io.IOException
17 26 28 Class java.lang.IllegalArgumentException
34 37 38 Class java.lang.Exception
8 41 42 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
selector
private java.util.Set certSubjectSerialSearch(java.security.cert.X509CertSelector, java.lang.String[], java.lang.String, java.lang.String);
descriptor: (Ljava/security/cert/X509CertSelector;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 5
start local 5 1: aload 1
invokevirtual java.security.cert.X509CertSelector.getSubjectAsBytes:()[B
ifnonnull 4
2: aload 1
invokevirtual java.security.cert.X509CertSelector.getSubjectAsString:()Ljava/lang/String;
ifnonnull 4
3: aload 1
invokevirtual java.security.cert.X509CertSelector.getCertificate:()Ljava/security/cert/X509Certificate;
ifnull 30
4: StackMap locals: java.util.Set
StackMap stack:
aconst_null
astore 6
start local 6 5: aconst_null
astore 7
start local 7 6: aload 1
invokevirtual java.security.cert.X509CertSelector.getCertificate:()Ljava/security/cert/X509Certificate;
ifnull 14
7: aload 1
invokevirtual java.security.cert.X509CertSelector.getCertificate:()Ljava/security/cert/X509Certificate;
8: invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
ldc "RFC1779"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
9: astore 6
10: aload 1
invokevirtual java.security.cert.X509CertSelector.getCertificate:()Ljava/security/cert/X509Certificate;
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
11: invokevirtual java.math.BigInteger.toString:()Ljava/lang/String;
12: astore 7
13: goto 22
14: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
invokevirtual java.security.cert.X509CertSelector.getSubjectAsBytes:()[B
ifnull 21
15: new javax.security.auth.x500.X500Principal
dup
aload 1
16: invokevirtual java.security.cert.X509CertSelector.getSubjectAsBytes:()[B
17: invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
18: ldc "RFC1779"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
19: astore 6
20: goto 22
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.security.cert.X509CertSelector.getSubjectAsString:()Ljava/lang/String;
astore 6
22: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 4
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.parseDN:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 23: aload 5
aload 0
aload 3
new java.lang.StringBuilder
dup
ldc "*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
24: aload 7
ifnull 34
25: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getSearchForSerialNumberIn:()Ljava/lang/String;
ifnull 34
26: aload 7
astore 8
27: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getSearchForSerialNumberIn:()Ljava/lang/String;
astore 3
28: aload 5
aload 0
aload 3
new java.lang.StringBuilder
dup
ldc "*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 8 end local 7 end local 6 29: goto 34
30: StackMap locals:
StackMap stack:
aload 5
aload 0
aload 3
ldc "*"
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
31: goto 34
32: StackMap locals:
StackMap stack: java.io.IOException
astore 6
start local 6 33: new java.security.cert.CertStoreException
dup
new java.lang.StringBuilder
dup
ldc "exception processing selector: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
end local 6 34: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 35 1 xselector Ljava/security/cert/X509CertSelector;
0 35 2 attrs [Ljava/lang/String;
0 35 3 attrName Ljava/lang/String;
0 35 4 subjectAttributeName Ljava/lang/String;
1 35 5 set Ljava/util/Set;
5 29 6 subject Ljava/lang/String;
6 29 7 serial Ljava/lang/String;
23 29 8 attrValue Ljava/lang/String;
33 34 6 e Ljava/io/IOException;
Exception table:
from to target type
1 31 32 Class java.io.IOException
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
xselector
attrs
attrName
subjectAttributeName
private java.util.Set getEndCertificates(java.security.cert.X509CertSelector);
descriptor: (Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getUserCertificateAttribute:()Ljava/lang/String;
aastore
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getLdapUserCertificateAttributeName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getUserCertificateSubjectAttributeName:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
aload 1
aload 2
aload 3
4: aload 4
5: invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.certSubjectSerialSearch:(Ljava/security/cert/X509CertSelector;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
astore 5
start local 5 6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 7 1 xselector Ljava/security/cert/X509CertSelector;
1 7 2 attrs [Ljava/lang/String;
2 7 3 attrName Ljava/lang/String;
3 7 4 subjectAttributeName Ljava/lang/String;
6 7 5 set Ljava/util/Set;
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
xselector
private java.util.Set getCACertificates(java.security.cert.X509CertSelector);
descriptor: (Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCACertificateAttribute:()Ljava/lang/String;
aastore
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getLdapCACertificateAttributeName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
3: invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCACertificateSubjectAttributeName:()Ljava/lang/String;
4: astore 4
start local 4 5: aload 0
aload 1
aload 2
aload 3
6: aload 4
7: invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.certSubjectSerialSearch:(Ljava/security/cert/X509CertSelector;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
astore 5
start local 5 8: aload 5
invokeinterface java.util.Set.isEmpty:()Z
ifeq 10
9: aload 5
aload 0
aconst_null
ldc "*"
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.X509CertSelector java.lang.String[] java.lang.String java.lang.String java.util.Set
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 11 1 xselector Ljava/security/cert/X509CertSelector;
1 11 2 attrs [Ljava/lang/String;
2 11 3 attrName Ljava/lang/String;
5 11 4 subjectAttributeName Ljava/lang/String;
8 11 5 set Ljava/util/Set;
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
xselector
private java.util.Set getCrossCertificates(java.security.cert.X509CertSelector);
descriptor: (Ljava/security/cert/X509CertSelector;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCrossCertificateAttribute:()Ljava/lang/String;
aastore
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getLdapCrossCertificateAttributeName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
3: invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCrossCertificateSubjectAttributeName:()Ljava/lang/String;
4: astore 4
start local 4 5: aload 0
aload 1
aload 2
aload 3
6: aload 4
7: invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.certSubjectSerialSearch:(Ljava/security/cert/X509CertSelector;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Set;
astore 5
start local 5 8: aload 5
invokeinterface java.util.Set.isEmpty:()Z
ifeq 10
9: aload 5
aload 0
aconst_null
ldc "*"
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.X509CertSelector java.lang.String[] java.lang.String java.lang.String java.util.Set
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 11 1 xselector Ljava/security/cert/X509CertSelector;
1 11 2 attrs [Ljava/lang/String;
2 11 3 attrName Ljava/lang/String;
5 11 4 subjectAttributeName Ljava/lang/String;
8 11 5 set Ljava/util/Set;
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
xselector
public java.util.Collection engineGetCRLs(java.security.cert.CRLSelector);
descriptor: (Ljava/security/cert/CRLSelector;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCertificateRevocationListAttribute:()Ljava/lang/String;
aastore
astore 2
start local 2 1: aload 1
instanceof java.security.cert.X509CRLSelector
ifne 3
2: new java.security.cert.CertStoreException
dup
ldc "selector is not a X509CRLSelector"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
checkcast java.security.cert.X509CRLSelector
astore 3
start local 3 4: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 5: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getLdapCertificateRevocationListAttributeName:()Ljava/lang/String;
astore 5
start local 5 6: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 7: aload 3
invokevirtual java.security.cert.X509CRLSelector.getIssuerNames:()Ljava/util/Collection;
ifnull 28
8: aload 3
invokevirtual java.security.cert.X509CRLSelector.getIssuerNames:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
start local 7 9: goto 25
10: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CRLSelector java.lang.String[] java.security.cert.X509CRLSelector java.util.Set java.lang.String java.util.Set java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 11: aconst_null
astore 9
start local 9 12: aload 8
instanceof java.lang.String
ifeq 18
13: aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
14: invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCertificateRevocationListIssuerAttributeName:()Ljava/lang/String;
15: astore 10
start local 10 16: aload 0
aload 8
checkcast java.lang.String
aload 10
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.parseDN:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 9
end local 10 17: goto 24
18: StackMap locals: java.lang.Object java.lang.String
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
19: invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getCertificateRevocationListIssuerAttributeName:()Ljava/lang/String;
20: astore 10
start local 10 21: aload 0
new javax.security.auth.x500.X500Principal
dup
aload 8
checkcast byte[]
invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
22: ldc "RFC1779"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
aload 10
23: invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.parseDN:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 9
end local 10 24: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 5
new java.lang.StringBuilder
dup
ldc "*"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 9 end local 8 25: StackMap locals:
StackMap stack:
aload 7
26: invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 7 27: goto 29
28: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 5
ldc "*"
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
29: StackMap locals:
StackMap stack:
aload 6
aload 0
aconst_null
ldc "*"
aload 2
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.search:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
30: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
start local 7 31: ldc "X.509"
32: getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
33: invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 8
start local 8 34: goto 40
35: StackMap locals: java.util.Iterator java.security.cert.CertificateFactory
StackMap stack:
aload 8
new java.io.ByteArrayInputStream
dup
aload 7
36: invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
37: invokevirtual java.security.cert.CertificateFactory.generateCRL:(Ljava/io/InputStream;)Ljava/security/cert/CRL;
astore 9
start local 9 38: aload 3
aload 9
invokevirtual java.security.cert.X509CRLSelector.match:(Ljava/security/cert/CRL;)Z
ifeq 40
39: aload 4
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 40: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
end local 8 41: goto 46
42: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.security.cert.CRLSelector java.lang.String[] java.security.cert.X509CRLSelector java.util.Set java.lang.String java.util.Set java.util.Iterator
StackMap stack: java.lang.Exception
astore 8
start local 8 43: new java.security.cert.CertStoreException
dup
44: new java.lang.StringBuilder
dup
ldc "CRL cannot be constructed from LDAP result "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
end local 8 46: StackMap locals:
StackMap stack:
aload 4
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 47 1 selector Ljava/security/cert/CRLSelector;
1 47 2 attrs [Ljava/lang/String;
4 47 3 xselector Ljava/security/cert/X509CRLSelector;
5 47 4 crlSet Ljava/util/Set;
6 47 5 attrName Ljava/lang/String;
7 47 6 set Ljava/util/Set;
9 27 7 it Ljava/util/Iterator;
11 25 8 o Ljava/lang/Object;
12 25 9 attrValue Ljava/lang/String;
16 17 10 issuerAttributeName Ljava/lang/String;
21 24 10 issuerAttributeName Ljava/lang/String;
31 47 7 it Ljava/util/Iterator;
34 41 8 cf Ljava/security/cert/CertificateFactory;
38 40 9 crl Ljava/security/cert/CRL;
43 46 8 e Ljava/lang/Exception;
Exception table:
from to target type
31 41 42 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
selector
private java.util.Set search(java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 1: aload 1
ifnonnull 3
2: aconst_null
astore 4
3: StackMap locals: java.lang.String
StackMap stack:
aconst_null
astore 5
start local 5 4: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 5: aload 0
invokevirtual org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.connectLDAP:()Ljavax/naming/directory/DirContext;
astore 5
6: new javax.naming.directory.SearchControls
dup
invokespecial javax.naming.directory.SearchControls.<init>:()V
astore 7
start local 7 7: aload 7
iconst_2
invokevirtual javax.naming.directory.SearchControls.setSearchScope:(I)V
8: aload 7
lconst_0
invokevirtual javax.naming.directory.SearchControls.setCountLimit:(J)V
9: iconst_0
istore 8
start local 8 10: goto 31
11: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.lang.String java.lang.String java.lang.String[] java.lang.String javax.naming.directory.DirContext java.util.Set javax.naming.directory.SearchControls int
StackMap stack:
iconst_1
anewarray java.lang.String
astore 9
start local 9 12: aload 9
iconst_0
aload 3
iload 8
aaload
aastore
13: aload 7
aload 9
invokevirtual javax.naming.directory.SearchControls.setReturningAttributes:([Ljava/lang/String;)V
14: new java.lang.StringBuilder
dup
ldc "(&("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=*))"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 15: aload 4
ifnonnull 17
16: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=*)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
17: StackMap locals: java.lang.String[] java.lang.String
StackMap stack:
aload 5
aload 0
getfield org.bouncycastle.jce.provider.X509LDAPCertStoreSpi.params:Lorg/bouncycastle/jce/X509LDAPCertStoreParameters;
invokevirtual org.bouncycastle.jce.X509LDAPCertStoreParameters.getBaseDN:()Ljava/lang/String;
18: aload 10
aload 7
19: invokeinterface javax.naming.directory.DirContext.search:(Ljava/lang/String;Ljava/lang/String;Ljavax/naming/directory/SearchControls;)Ljavax/naming/NamingEnumeration;
astore 11
start local 11 20: goto 29
21: StackMap locals: javax.naming.NamingEnumeration
StackMap stack:
aload 11
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.directory.SearchResult
astore 12
start local 12 22: aload 12
23: invokevirtual javax.naming.directory.SearchResult.getAttributes:()Ljavax/naming/directory/Attributes;
invokeinterface javax.naming.directory.Attributes.getAll:()Ljavax/naming/NamingEnumeration;
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.directory.Attribute
invokeinterface javax.naming.directory.Attribute.getAll:()Ljavax/naming/NamingEnumeration;
24: astore 13
start local 13 25: goto 28
26: StackMap locals: javax.naming.directory.SearchResult javax.naming.NamingEnumeration
StackMap stack:
aload 13
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
astore 14
start local 14 27: aload 6
aload 14
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 14 28: StackMap locals:
StackMap stack:
aload 13
invokeinterface javax.naming.NamingEnumeration.hasMore:()Z
ifne 26
end local 13 end local 12 29: StackMap locals:
StackMap stack:
aload 11
invokeinterface javax.naming.NamingEnumeration.hasMoreElements:()Z
ifne 21
end local 11 end local 10 end local 9 30: iinc 8 1
StackMap locals:
StackMap stack:
31: iload 8
aload 3
arraylength
if_icmplt 11
end local 8 end local 7 32: goto 43
33: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.lang.String java.lang.String java.lang.String[] java.lang.String javax.naming.directory.DirContext java.util.Set
StackMap stack: java.lang.Exception
astore 7
start local 7 34: new java.security.cert.CertStoreException
dup
35: new java.lang.StringBuilder
dup
ldc "Error getting results from LDAP directory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
end local 7 37: StackMap locals:
StackMap stack: java.lang.Throwable
astore 15
38: aload 5
ifnull 42
39: aload 5
invokeinterface javax.naming.directory.DirContext.close:()V
40: goto 42
41: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.lang.String java.lang.String java.lang.String[] java.lang.String javax.naming.directory.DirContext java.util.Set top top top top top top top top java.lang.Throwable
StackMap stack: java.lang.Exception
pop
42: StackMap locals:
StackMap stack:
aload 15
athrow
43: StackMap locals: org.bouncycastle.jce.provider.X509LDAPCertStoreSpi java.lang.String java.lang.String java.lang.String[] java.lang.String javax.naming.directory.DirContext java.util.Set
StackMap stack:
aload 5
ifnull 47
44: aload 5
invokeinterface javax.naming.directory.DirContext.close:()V
45: goto 47
46: StackMap locals:
StackMap stack: java.lang.Exception
pop
47: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lorg/bouncycastle/jce/provider/X509LDAPCertStoreSpi;
0 48 1 attributeName Ljava/lang/String;
0 48 2 attributeValue Ljava/lang/String;
0 48 3 attrs [Ljava/lang/String;
1 48 4 filter Ljava/lang/String;
4 48 5 ctx Ljavax/naming/directory/DirContext;
5 48 6 set Ljava/util/Set;
7 32 7 constraints Ljavax/naming/directory/SearchControls;
10 32 8 i I
12 30 9 temp [Ljava/lang/String;
15 30 10 filter2 Ljava/lang/String;
20 30 11 results Ljavax/naming/NamingEnumeration;
22 29 12 sr Ljavax/naming/directory/SearchResult;
25 29 13 enumeration Ljavax/naming/NamingEnumeration;
27 28 14 o Ljava/lang/Object;
34 37 7 e Ljava/lang/Exception;
Exception table:
from to target type
5 32 33 Class java.lang.Exception
5 37 37 any
38 40 41 Class java.lang.Exception
43 45 46 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertStoreException
MethodParameters:
Name Flags
attributeName
attributeValue
attrs
}
SourceFile: "X509LDAPCertStoreSpi.java"