public final class sun.security.provider.certpath.ldap.LDAPCertStore extends java.security.cert.CertStoreSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.provider.certpath.ldap.LDAPCertStore
super_class: java.security.cert.CertStoreSpi
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final java.lang.String USER_CERT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "userCertificate;binary"
private static final java.lang.String CA_CERT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cACertificate;binary"
private static final java.lang.String CROSS_CERT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "crossCertificatePair;binary"
private static final java.lang.String CRL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "certificateRevocationList;binary"
private static final java.lang.String ARL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "authorityRevocationList;binary"
private static final java.lang.String DELTA_CRL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "deltaRevocationList;binary"
private static final java.lang.String[] STRING0;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[][] BB0;
descriptor: [[B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.naming.directory.Attributes EMPTY_ATTRIBUTES;
descriptor: Ljavax/naming/directory/Attributes;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int DEFAULT_CACHE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 750
private static final int DEFAULT_CACHE_LIFETIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 30
private static final int LIFETIME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String PROP_LIFETIME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.security.certpath.ldap.cache.lifetime"
private java.security.cert.CertificateFactory cf;
descriptor: Ljava/security/cert/CertificateFactory;
flags: (0x0002) ACC_PRIVATE
private javax.naming.directory.DirContext ctx;
descriptor: Ljavax/naming/directory/DirContext;
flags: (0x0002) ACC_PRIVATE
private boolean prefetchCRLs;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final sun.security.util.Cache valueCache;
descriptor: Lsun/security/util/Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int cacheHits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cacheMisses;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int requests;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final sun.security.util.Cache certStoreCache;
descriptor: Lsun/security/util/Cache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: ldc "certpath"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;)Lsun/security/util/Debug;
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
1: iconst_0
anewarray java.lang.String
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.STRING0:[Ljava/lang/String;
2: iconst_0
anewarray byte[]
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.BB0:[[B
3: new javax.naming.directory.BasicAttributes
dup
invokespecial javax.naming.directory.BasicAttributes.<init>:()V
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.EMPTY_ATTRIBUTES:Ljavax/naming/directory/Attributes;
4: new sun.security.action.GetPropertyAction
dup
ldc "sun.security.certpath.ldap.cache.lifetime"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 6: aload 0
ifnull 9
7: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.LIFETIME:I
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
bipush 30
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.LIFETIME:I
end local 0 10: StackMap locals:
StackMap stack:
sipush 185
invokestatic sun.security.util.Cache.newSoftMemoryCache:(I)Lsun/security/util/Cache;
putstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
return
LocalVariableTable:
Start End Slot Name Signature
6 10 0 s Ljava/lang/String;
public void <init>(java.security.cert.CertStoreParameters);
descriptor: (Ljava/security/cert/CertStoreParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 0
iconst_0
putfield sun.security.provider.certpath.ldap.LDAPCertStore.prefetchCRLs:Z
2: aload 0
iconst_0
putfield sun.security.provider.certpath.ldap.LDAPCertStore.cacheHits:I
3: aload 0
iconst_0
putfield sun.security.provider.certpath.ldap.LDAPCertStore.cacheMisses:I
4: aload 0
iconst_0
putfield sun.security.provider.certpath.ldap.LDAPCertStore.requests:I
5: aload 1
instanceof java.security.cert.LDAPCertStoreParameters
ifne 9
6: new java.security.InvalidAlgorithmParameterException
dup
7: ldc "parameters must be LDAPCertStoreParameters"
8: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters
StackMap stack:
aload 1
checkcast java.security.cert.LDAPCertStoreParameters
astore 2
start local 2 10: aload 0
aload 2
invokevirtual java.security.cert.LDAPCertStoreParameters.getServerName:()Ljava/lang/String;
aload 2
invokevirtual java.security.cert.LDAPCertStoreParameters.getPort:()I
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.createInitialDirContext:(Ljava/lang/String;I)V
11: aload 0
ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
putfield sun.security.provider.certpath.ldap.LDAPCertStore.cf:Ljava/security/cert/CertificateFactory;
12: goto 17
StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters java.security.cert.LDAPCertStoreParameters
StackMap stack: java.security.cert.CertificateException
13: pop
14: new java.security.InvalidAlgorithmParameterException
dup
15: ldc "unable to create CertificateFactory for X.509"
16: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.LIFETIME:I
ifne 20
18: aload 0
invokestatic sun.security.util.Cache.newNullCache:()Lsun/security/util/Cache;
putfield sun.security.provider.certpath.ldap.LDAPCertStore.valueCache:Lsun/security/util/Cache;
19: goto 24
StackMap locals:
StackMap stack:
20: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.LIFETIME:I
ifge 23
21: aload 0
sipush 750
invokestatic sun.security.util.Cache.newSoftMemoryCache:(I)Lsun/security/util/Cache;
putfield sun.security.provider.certpath.ldap.LDAPCertStore.valueCache:Lsun/security/util/Cache;
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
sipush 750
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.LIFETIME:I
invokestatic sun.security.util.Cache.newSoftMemoryCache:(II)Lsun/security/util/Cache;
putfield sun.security.provider.certpath.ldap.LDAPCertStore.valueCache:Lsun/security/util/Cache;
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 25 1 params Ljava/security/cert/CertStoreParameters;
10 25 2 lparams Ljava/security/cert/LDAPCertStoreParameters;
Exception table:
from to target type
11 12 13 Class java.security.cert.CertificateException
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
static synchronized java.security.cert.CertStore getInstance(java.security.cert.LDAPCertStoreParameters);
descriptor: (Ljava/security/cert/LDAPCertStoreParameters;)Ljava/security/cert/CertStore;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokevirtual java.security.cert.LDAPCertStoreParameters.getServerName:()Ljava/lang/String;
aload 0
invokevirtual java.security.cert.LDAPCertStoreParameters.getPort:()I
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 0
invokevirtual sun.security.util.Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.cert.CertStore
astore 2
start local 2 4: aload 2
ifnonnull 8
5: ldc "LDAP"
aload 0
invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;)Ljava/security/cert/CertStore;
astore 2
6: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 0
aload 2
invokevirtual sun.security.util.Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
7: goto 10
8: StackMap locals: java.security.cert.CertStore
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 10
9: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.getInstance: cache hit"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 params Ljava/security/cert/LDAPCertStoreParameters;
1 11 1 security Ljava/lang/SecurityManager;
4 11 2 lcs Ljava/security/cert/CertStore;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
private void createInitialDirContext(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
ldc "ldap://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
astore 4
start local 4 2: aload 4
ldc "java.naming.factory.initial"
3: ldc "com.sun.jndi.ldap.LdapCtxFactory"
4: invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 4
ldc "java.naming.provider.url"
aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
new javax.naming.directory.InitialDirContext
dup
aload 4
invokespecial javax.naming.directory.InitialDirContext.<init>:(Ljava/util/Hashtable;)V
putfield sun.security.provider.certpath.ldap.LDAPCertStore.ctx:Ljavax/naming/directory/DirContext;
7: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.ctx:Ljavax/naming/directory/DirContext;
invokeinterface javax.naming.directory.DirContext.getEnvironment:()Ljava/util/Hashtable;
astore 5
start local 5 8: aload 5
ldc "java.naming.referral"
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 20
9: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.ctx:Ljavax/naming/directory/DirContext;
ldc "java.naming.referral"
ldc "throw"
invokeinterface javax.naming.directory.DirContext.addToEnvironment:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 10: goto 20
StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.lang.String int java.lang.String java.util.Hashtable
StackMap stack: javax.naming.NamingException
11: astore 5
start local 5 12: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 15
13: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.engineInit about to throw InvalidAlgorithmParameterException"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
14: aload 5
invokevirtual javax.naming.NamingException.printStackTrace:()V
15: StackMap locals: javax.naming.NamingException
StackMap stack:
new java.security.InvalidAlgorithmParameterException
dup
16: ldc "unable to create InitialDirContext using supplied parameters"
17: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
astore 6
start local 6 18: aload 6
aload 5
invokevirtual java.lang.Exception.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
19: aload 6
checkcast java.security.InvalidAlgorithmParameterException
athrow
end local 6 end local 5 20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 21 1 server Ljava/lang/String;
0 21 2 port I
1 21 3 url Ljava/lang/String;
2 21 4 env Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
8 10 5 currentEnv Ljava/util/Hashtable<**>;
12 20 5 e Ljavax/naming/NamingException;
18 20 6 ee Ljava/lang/Exception;
Exception table:
from to target type
6 10 11 Class javax.naming.NamingException
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
server
port
private java.util.Collection<java.security.cert.X509Certificate> getCertificates(sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest, java.lang.String, java.security.cert.X509CertSelector);
descriptor: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.getValues:(Ljava/lang/String;)[[B
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: javax.naming.NamingException
2: astore 5
start local 5 3: new java.security.cert.CertStoreException
dup
aload 5
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 4: StackMap locals: byte[][]
StackMap stack:
aload 4
arraylength
istore 5
start local 5 5: iload 5
ifne 7
6: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
7: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 23
10: StackMap locals: java.util.List int
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 4
iload 7
aaload
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 8
start local 8 11: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.cf:Ljava/security/cert/CertificateFactory;
aload 8
invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
astore 9
start local 9 12: aload 3
aload 9
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 22
13: aload 6
aload 9
checkcast java.security.cert.X509Certificate
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 14: goto 22
StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest java.lang.String java.security.cert.X509CertSelector byte[][] int java.util.List int java.io.ByteArrayInputStream
StackMap stack: java.security.cert.CertificateException
15: pop
16: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 22
17: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.getCertificates() encountered exception while parsing cert, skipping the bad data: "
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
18: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 9
start local 9 19: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
20: new java.lang.StringBuilder
dup
ldc "[ "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
aload 4
iload 7
aaload
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
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;
21: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 9 end local 8 22: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iload 5
if_icmplt 10
end local 7 24: 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 25 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 25 1 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
0 25 2 id Ljava/lang/String;
0 25 3 sel Ljava/security/cert/X509CertSelector;
1 2 4 encodedCert [[B
4 25 4 encodedCert [[B
3 4 5 namingEx Ljavax/naming/NamingException;
5 25 5 n I
8 25 6 certs Ljava/util/List<Ljava/security/cert/X509Certificate;>;
9 24 7 i I
11 22 8 bais Ljava/io/ByteArrayInputStream;
12 14 9 cert Ljava/security/cert/Certificate;
19 22 9 encoder Lsun/misc/HexDumpEncoder;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
11 14 15 Class java.security.cert.CertificateException
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
MethodParameters:
Name Flags
request
id
sel
private java.util.Collection<sun.security.provider.certpath.X509CertificatePair> getCertPairs(sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest, java.lang.String);
descriptor: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.getValues:(Ljava/lang/String;)[[B
astore 3
start local 3 1: goto 4
end local 3 StackMap locals:
StackMap stack: javax.naming.NamingException
2: astore 4
start local 4 3: new java.security.cert.CertStoreException
dup
aload 4
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 4: StackMap locals: byte[][]
StackMap stack:
aload 3
arraylength
istore 4
start local 4 5: iload 4
ifne 7
6: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
7: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
iload 4
invokespecial java.util.ArrayList.<init>:(I)V
8: astore 5
start local 5 9: iconst_0
istore 6
start local 6 10: goto 25
11: StackMap locals: java.util.List int
StackMap stack:
aload 3
iload 6
aaload
invokestatic sun.security.provider.certpath.X509CertificatePair.generateCertificatePair:([B)Lsun/security/provider/certpath/X509CertificatePair;
12: astore 7
start local 7 13: aload 5
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 14: goto 24
StackMap locals:
StackMap stack: java.security.cert.CertificateException
15: pop
16: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 24
17: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
18: ldc "LDAPCertStore.getCertPairs() encountered exception while parsing cert, skipping the bad data: "
19: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
20: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 7
start local 7 21: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
22: new java.lang.StringBuilder
dup
ldc "[ "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
aload 3
iload 6
aaload
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
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;
23: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 7 24: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
iload 4
if_icmplt 11
end local 6 26: 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 27 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 27 1 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
0 27 2 id Ljava/lang/String;
1 2 3 encodedCertPair [[B
4 27 3 encodedCertPair [[B
3 4 4 namingEx Ljavax/naming/NamingException;
5 27 4 n I
9 27 5 certPairs Ljava/util/List<Lsun/security/provider/certpath/X509CertificatePair;>;
10 26 6 i I
13 14 7 certPair Lsun/security/provider/certpath/X509CertificatePair;
21 24 7 encoder Lsun/misc/HexDumpEncoder;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
11 14 15 Class java.security.cert.CertificateException
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;)Ljava/util/Collection<Lsun/security/provider/certpath/X509CertificatePair;>;
MethodParameters:
Name Flags
request
id
private java.util.Collection<java.security.cert.X509Certificate> getMatchingCrossCerts(sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest, java.security.cert.X509CertSelector, java.security.cert.X509CertSelector);
descriptor: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/security/cert/X509CertSelector;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
ldc "crossCertificatePair;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCertPairs:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;)Ljava/util/Collection;
1: astore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
3: astore 5
start local 5 4: aload 4
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest java.security.cert.X509CertSelector java.security.cert.X509CertSelector java.util.Collection java.util.ArrayList top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.provider.certpath.X509CertificatePair
astore 6
start local 6 6: aload 2
ifnull 10
7: aload 6
invokevirtual sun.security.provider.certpath.X509CertificatePair.getForward:()Ljava/security/cert/X509Certificate;
astore 8
start local 8 8: aload 8
ifnull 10
aload 2
aload 8
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 10
9: aload 5
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 8 10: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest java.security.cert.X509CertSelector java.security.cert.X509CertSelector java.util.Collection java.util.ArrayList sun.security.provider.certpath.X509CertificatePair java.util.Iterator
StackMap stack:
aload 3
ifnull 14
11: aload 6
invokevirtual sun.security.provider.certpath.X509CertificatePair.getReverse:()Ljava/security/cert/X509Certificate;
astore 8
start local 8 12: aload 8
ifnull 14
aload 3
aload 8
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 14
13: aload 5
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 14: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest java.security.cert.X509CertSelector java.security.cert.X509CertSelector java.util.Collection java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
15: 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 16 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 16 1 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
0 16 2 forward Ljava/security/cert/X509CertSelector;
0 16 3 reverse Ljava/security/cert/X509CertSelector;
2 16 4 certPairs Ljava/util/Collection<Lsun/security/provider/certpath/X509CertificatePair;>;
4 16 5 matchingCerts Ljava/util/ArrayList<Ljava/security/cert/X509Certificate;>;
6 14 6 certPair Lsun/security/provider/certpath/X509CertificatePair;
8 10 8 cert Ljava/security/cert/X509Certificate;
12 14 8 cert Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/security/cert/X509CertSelector;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
MethodParameters:
Name Flags
request
forward
reverse
public synchronized java.util.Collection<java.security.cert.X509Certificate> engineGetCertificates(java.security.cert.CertSelector);
descriptor: (Ljava/security/cert/CertSelector;)Ljava/util/Collection;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 4
1: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() selector: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.security.cert.X509CertSelector
dup
invokespecial java.security.cert.X509CertSelector.<init>:()V
astore 1
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.cert.X509CertSelector
ifne 8
7: new java.security.cert.CertStoreException
dup
ldc "LDAPCertStore needs an X509CertSelector to find certs"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.cert.X509CertSelector
astore 2
start local 2 9: aload 2
invokevirtual java.security.cert.X509CertSelector.getBasicConstraints:()I
istore 3
start local 3 10: aload 2
invokevirtual java.security.cert.X509CertSelector.getSubjectAsString:()Ljava/lang/String;
astore 4
start local 4 11: aload 2
invokevirtual java.security.cert.X509CertSelector.getIssuerAsString:()Ljava/lang/String;
astore 5
start local 5 12: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 13: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 17
14: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() basicConstraints: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
17: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertSelector java.security.cert.X509CertSelector int java.lang.String java.lang.String java.util.HashSet
StackMap stack:
aload 4
ifnull 47
18: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 20
19: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.engineGetCertificates() subject is not null"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
new sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
dup
aload 0
aload 4
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.<init>:(Lsun/security/provider/certpath/ldap/LDAPCertStore;Ljava/lang/String;)V
astore 7
start local 7 21: iload 3
bipush -2
if_icmple 27
22: aload 7
ldc "crossCertificatePair;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
23: aload 7
ldc "cACertificate;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
24: aload 7
ldc "authorityRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
25: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.prefetchCRLs:Z
ifeq 27
26: aload 7
ldc "certificateRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
27: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
StackMap stack:
iload 3
ifge 29
28: aload 7
ldc "userCertificate;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
iload 3
bipush -2
if_icmple 40
30: aload 6
aload 0
aload 7
aload 2
aconst_null
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getMatchingCrossCerts:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/security/cert/X509CertSelector;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
31: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 35
32: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() after getMatchingCrossCerts(subject,xsel,null),certs.size(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 6
invokevirtual java.util.HashSet.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
35: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 7
ldc "cACertificate;binary"
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCertificates:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
36: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 40
37: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() after getCertificates(subject,CA_CERT,xsel),certs.size(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
38: aload 6
invokevirtual java.util.HashSet.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
40: StackMap locals:
StackMap stack:
iload 3
ifge 55
41: aload 6
aload 0
aload 7
ldc "userCertificate;binary"
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCertificates:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
42: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 55
43: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() after getCertificates(subject,USER_CERT, xsel),certs.size(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
44: aload 6
invokevirtual java.util.HashSet.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 7 46: goto 55
47: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 51
48: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
49: ldc "LDAPCertStore.engineGetCertificates() subject is null"
50: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
51: StackMap locals:
StackMap stack:
iload 3
bipush -2
if_icmpne 53
52: new java.security.cert.CertStoreException
dup
ldc "need subject to find EE certs"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
53: StackMap locals:
StackMap stack:
aload 5
ifnonnull 55
54: new java.security.cert.CertStoreException
dup
ldc "need subject or issuer to find certs"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
55: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 57
56: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.engineGetCertificates() about to getMatchingCrossCerts..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
57: StackMap locals:
StackMap stack:
aload 5
ifnull 74
iload 3
bipush -2
if_icmple 74
58: new sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
dup
aload 0
aload 5
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.<init>:(Lsun/security/provider/certpath/ldap/LDAPCertStore;Ljava/lang/String;)V
astore 7
start local 7 59: aload 7
ldc "crossCertificatePair;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
60: aload 7
ldc "cACertificate;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
61: aload 7
ldc "authorityRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
62: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.prefetchCRLs:Z
ifeq 64
63: aload 7
ldc "certificateRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
64: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
StackMap stack:
aload 6
aload 0
aload 7
aconst_null
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getMatchingCrossCerts:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/security/cert/X509CertSelector;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
65: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 69
66: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() after getMatchingCrossCerts(issuer,null,xsel),certs.size(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
67: aload 6
invokevirtual java.util.HashSet.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
68: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
69: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 7
ldc "cACertificate;binary"
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCertificates:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CertSelector;)Ljava/util/Collection;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
70: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 74
71: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCertificates() after getCertificates(issuer,CA_CERT,xsel),certs.size(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
72: aload 6
invokevirtual java.util.HashSet.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
73: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 7 74: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 76
75: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.engineGetCertificates() returning certs"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
76: 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 77 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 77 1 selector Ljava/security/cert/CertSelector;
9 77 2 xsel Ljava/security/cert/X509CertSelector;
10 77 3 basicConstraints I
11 77 4 subject Ljava/lang/String;
12 77 5 issuer Ljava/lang/String;
13 77 6 certs Ljava/util/HashSet<Ljava/security/cert/X509Certificate;>;
21 46 7 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
59 74 7 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Ljava/security/cert/CertSelector;)Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
MethodParameters:
Name Flags
selector
private java.util.Collection<java.security.cert.X509CRL> getCRLs(sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest, java.lang.String, java.security.cert.X509CRLSelector);
descriptor: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CRLSelector;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.getValues:(Ljava/lang/String;)[[B
astore 4
start local 4 1: goto 4
end local 4 StackMap locals:
StackMap stack: javax.naming.NamingException
2: astore 5
start local 5 3: new java.security.cert.CertStoreException
dup
aload 5
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 4: StackMap locals: byte[][]
StackMap stack:
aload 4
arraylength
istore 5
start local 5 5: iload 5
ifne 7
6: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
7: StackMap locals: int
StackMap stack:
new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: goto 20
10: StackMap locals: java.util.List int
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.cf:Ljava/security/cert/CertificateFactory;
new java.io.ByteArrayInputStream
dup
aload 4
iload 7
aaload
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.security.cert.CertificateFactory.generateCRL:(Ljava/io/InputStream;)Ljava/security/cert/CRL;
astore 8
start local 8 11: aload 3
aload 8
invokevirtual java.security.cert.X509CRLSelector.match:(Ljava/security/cert/CRL;)Z
ifeq 19
12: aload 6
aload 8
checkcast java.security.cert.X509CRL
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 13: goto 19
StackMap locals:
StackMap stack: java.security.cert.CRLException
14: pop
15: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 19
16: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ldc "LDAPCertStore.getCRLs() encountered exception while parsing CRL, skipping the bad data: "
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
17: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 8
start local 8 18: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "[ "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
aload 4
iload 7
aaload
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
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;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 8 19: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
20: iload 7
iload 5
if_icmplt 10
end local 7 21: 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 22 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 22 1 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
0 22 2 id Ljava/lang/String;
0 22 3 sel Ljava/security/cert/X509CRLSelector;
1 2 4 encodedCRL [[B
4 22 4 encodedCRL [[B
3 4 5 namingEx Ljavax/naming/NamingException;
5 22 5 n I
8 22 6 crls Ljava/util/List<Ljava/security/cert/X509CRL;>;
9 21 7 i I
11 13 8 crl Ljava/security/cert/CRL;
18 19 8 encoder Lsun/misc/HexDumpEncoder;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
10 13 14 Class java.security.cert.CRLException
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CRLSelector;)Ljava/util/Collection<Ljava/security/cert/X509CRL;>;
MethodParameters:
Name Flags
request
id
sel
public synchronized java.util.Collection<java.security.cert.X509CRL> engineGetCRLs(java.security.cert.CRLSelector);
descriptor: (Ljava/security/cert/CRLSelector;)Ljava/util/Collection;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 4
1: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCRLs() selector: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: new java.security.cert.X509CRLSelector
dup
invokespecial java.security.cert.X509CRLSelector.<init>:()V
astore 1
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.cert.X509CRLSelector
ifne 8
7: new java.security.cert.CertStoreException
dup
ldc "need X509CRLSelector to find CRLs"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.cert.X509CRLSelector
astore 2
start local 2 9: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 10: aload 2
invokevirtual java.security.cert.X509CRLSelector.getCertificateChecking:()Ljava/security/cert/X509Certificate;
astore 5
start local 5 11: aload 5
ifnull 16
12: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 13: aload 5
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 6
start local 6 14: aload 4
aload 6
ldc "RFC2253"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 6 15: goto 19
end local 4 16: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CRLSelector java.security.cert.X509CRLSelector java.util.HashSet top java.security.cert.X509Certificate
StackMap stack:
aload 2
invokevirtual java.security.cert.X509CRLSelector.getIssuerNames:()Ljava/util/Collection;
astore 4
start local 4 17: aload 4
ifnonnull 19
18: new java.security.cert.CertStoreException
dup
ldc "need issuerNames or certChecking to find CRLs"
invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CRLSelector java.security.cert.X509CRLSelector java.util.HashSet java.util.Collection java.security.cert.X509Certificate
StackMap stack:
aload 4
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 53
StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CRLSelector java.security.cert.X509CRLSelector java.util.HashSet java.util.Collection java.security.cert.X509Certificate top java.util.Iterator
StackMap stack:
20: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 6
start local 6 21: aload 6
instanceof byte[]
ifeq 27
22: new javax.security.auth.x500.X500Principal
dup
aload 6
checkcast byte[]
invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
astore 9
start local 9 23: aload 9
ldc "RFC2253"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
astore 8
end local 9 start local 8 24: goto 28
end local 8 StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CRLSelector java.security.cert.X509CRLSelector java.util.HashSet java.util.Collection java.security.cert.X509Certificate java.lang.Object java.util.Iterator
StackMap stack: java.lang.IllegalArgumentException
25: pop
26: goto 53
27: StackMap locals:
StackMap stack:
aload 6
checkcast java.lang.String
astore 8
start local 8 28: StackMap locals: java.lang.String
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
astore 9
start local 9 29: aload 5
ifnull 30
aload 5
invokevirtual java.security.cert.X509Certificate.getBasicConstraints:()I
iconst_m1
if_icmpeq 48
30: StackMap locals: java.util.Collection
StackMap stack:
new sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
dup
aload 0
aload 8
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.<init>:(Lsun/security/provider/certpath/ldap/LDAPCertStore;Ljava/lang/String;)V
astore 10
start local 10 31: aload 10
ldc "crossCertificatePair;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
32: aload 10
ldc "cACertificate;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
33: aload 10
ldc "authorityRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
34: aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.prefetchCRLs:Z
ifeq 36
35: aload 10
ldc "certificateRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
36: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
StackMap stack:
aload 0
aload 10
ldc "authorityRevocationList;binary"
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCRLs:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CRLSelector;)Ljava/util/Collection;
astore 9
37: aload 9
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 40
38: aload 0
iconst_1
putfield sun.security.provider.certpath.ldap.LDAPCertStore.prefetchCRLs:Z
39: goto 48
40: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
41: goto 48
StackMap locals:
StackMap stack: java.security.cert.CertStoreException
42: astore 11
start local 11 43: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 48
44: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "LDAPCertStore.engineGetCRLs non-fatal error retrieving ARLs:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
45: aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
47: aload 11
invokevirtual java.security.cert.CertStoreException.printStackTrace:()V
end local 11 end local 10 48: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Collection.isEmpty:()Z
ifne 49
aload 5
ifnonnull 53
49: StackMap locals:
StackMap stack:
new sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest
dup
aload 0
aload 8
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.<init>:(Lsun/security/provider/certpath/ldap/LDAPCertStore;Ljava/lang/String;)V
astore 10
start local 10 50: aload 10
ldc "certificateRevocationList;binary"
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest.addRequestedAttribute:(Ljava/lang/String;)V
51: aload 0
aload 10
ldc "certificateRevocationList;binary"
aload 2
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStore.getCRLs:(Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;Ljava/lang/String;Ljava/security/cert/X509CRLSelector;)Ljava/util/Collection;
astore 9
52: aload 3
aload 9
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
end local 10 end local 9 end local 8 end local 6 53: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CRLSelector java.security.cert.X509CRLSelector java.util.HashSet java.util.Collection java.security.cert.X509Certificate top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
54: 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 55 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 55 1 selector Ljava/security/cert/CRLSelector;
9 55 2 xsel Ljava/security/cert/X509CRLSelector;
10 55 3 crls Ljava/util/HashSet<Ljava/security/cert/X509CRL;>;
13 16 4 issuerNames Ljava/util/Collection<Ljava/lang/Object;>;
17 55 4 issuerNames Ljava/util/Collection<Ljava/lang/Object;>;
11 55 5 certChecking Ljava/security/cert/X509Certificate;
14 15 6 issuer Ljavax/security/auth/x500/X500Principal;
21 53 6 nameObject Ljava/lang/Object;
24 25 8 issuerName Ljava/lang/String;
28 53 8 issuerName Ljava/lang/String;
23 24 9 issuer Ljavax/security/auth/x500/X500Principal;
29 53 9 entryCRLs Ljava/util/Collection<Ljava/security/cert/X509CRL;>;
31 48 10 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
43 48 11 e Ljava/security/cert/CertStoreException;
50 53 10 request Lsun/security/provider/certpath/ldap/LDAPCertStore$LDAPRequest;
Exception table:
from to target type
22 24 25 Class java.lang.IllegalArgumentException
36 41 42 Class java.security.cert.CertStoreException
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Ljava/security/cert/CRLSelector;)Ljava/util/Collection<Ljava/security/cert/X509CRL;>;
MethodParameters:
Name Flags
selector
static java.security.cert.LDAPCertStoreParameters getParameters(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/security/cert/LDAPCertStoreParameters;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters
dup
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters.<init>:()V
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.net.URI.getPort:()I
istore 2
start local 2 4: iload 2
iconst_m1
if_icmpne 6
5: new sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters
dup
aload 1
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters.<init>:(Ljava/lang/String;)V
goto 7
6: StackMap locals: int
StackMap stack:
new sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters
dup
aload 1
iload 2
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters.<init>:(Ljava/lang/String;I)V
7: StackMap locals:
StackMap stack: sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 uri Ljava/net/URI;
1 8 1 host Ljava/lang/String;
4 8 2 port I
MethodParameters:
Name Flags
uri
}
SourceFile: "LDAPCertStore.java"
NestMembers:
sun.security.provider.certpath.ldap.LDAPCertStore$LDAPCRLSelector sun.security.provider.certpath.ldap.LDAPCertStore$LDAPCertSelector sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters
InnerClasses:
LDAPCRLSelector = sun.security.provider.certpath.ldap.LDAPCertStore$LDAPCRLSelector of sun.security.provider.certpath.ldap.LDAPCertStore
LDAPCertSelector = sun.security.provider.certpath.ldap.LDAPCertStore$LDAPCertSelector of sun.security.provider.certpath.ldap.LDAPCertStore
private LDAPRequest = sun.security.provider.certpath.ldap.LDAPCertStore$LDAPRequest of sun.security.provider.certpath.ldap.LDAPCertStore
private SunLDAPCertStoreParameters = sun.security.provider.certpath.ldap.LDAPCertStore$SunLDAPCertStoreParameters of sun.security.provider.certpath.ldap.LDAPCertStore