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 java.lang.String ldapDN;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.provider.certpath.ldap.LDAPCertStoreImpl impl;
descriptor: Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
flags: (0x0002) ACC_PRIVATE
private static final sun.security.util.Cache<sun.security.provider.certpath.ldap.LDAPCertStore$Key, sun.security.provider.certpath.ldap.LDAPCertStoreImpl> certStoreCache;
descriptor: Lsun/security/util/Cache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lsun/security/util/Cache<Lsun/security/provider/certpath/ldap/LDAPCertStore$Key;Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, 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: 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
public void <init>(java.security.cert.CertStoreParameters);
descriptor: (Ljava/security/cert/CertStoreParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, 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: aconst_null
astore 4
start local 4 2: aload 1
ifnonnull 6
3: new java.security.InvalidAlgorithmParameterException
dup
4: ldc "Parameters required for LDAP certstore"
5: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters top top java.lang.String
StackMap stack:
aload 1
instanceof java.security.cert.LDAPCertStoreParameters
ifeq 11
7: aload 1
checkcast java.security.cert.LDAPCertStoreParameters
astore 5
start local 5 8: aload 5
invokevirtual java.security.cert.LDAPCertStoreParameters.getServerName:()Ljava/lang/String;
astore 2
start local 2 9: aload 5
invokevirtual java.security.cert.LDAPCertStoreParameters.getPort:()I
istore 3
end local 5 start local 3 10: goto 36
end local 3 end local 2 StackMap locals:
StackMap stack:
11: aload 1
instanceof java.security.cert.URICertStoreParameters
ifeq 31
12: aload 1
checkcast java.security.cert.URICertStoreParameters
astore 5
start local 5 13: aload 5
invokevirtual java.security.cert.URICertStoreParameters.getURI:()Ljava/net/URI;
astore 6
start local 6 14: aload 6
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ldc "ldap"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 21
15: new java.security.InvalidAlgorithmParameterException
dup
16: new java.lang.StringBuilder
dup
ldc "Unsupported scheme '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: ldc "', only LDAP URIs are supported "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc "for LDAP certstore"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: java.security.cert.URICertStoreParameters java.net.URI
StackMap stack:
aload 6
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
astore 2
start local 2 22: aload 2
ifnonnull 24
23: ldc "localhost"
astore 2
24: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters java.lang.String top java.lang.String java.security.cert.URICertStoreParameters java.net.URI
StackMap stack:
aload 6
invokevirtual java.net.URI.getPort:()I
istore 3
start local 3 25: iload 3
iconst_m1
if_icmpne 27
26: sipush 389
istore 3
27: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters java.lang.String int java.lang.String java.security.cert.URICertStoreParameters java.net.URI
StackMap stack:
aload 6
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
astore 4
28: aload 4
ifnull 36
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 36
29: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
end local 6 end local 5 30: goto 36
end local 3 end local 2 31: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters top top java.lang.String
StackMap stack:
new java.security.InvalidAlgorithmParameterException
dup
32: new java.lang.StringBuilder
dup
ldc "Parameters must be either LDAPCertStoreParameters or URICertStoreParameters, but instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " passed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
34: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
35: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
start local 2 start local 3 36: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore java.security.cert.CertStoreParameters java.lang.String int java.lang.String
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 37: aload 5
ifnull 39
38: aload 5
aload 2
iload 3
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
39: StackMap locals: java.lang.SecurityManager
StackMap stack:
new sun.security.provider.certpath.ldap.LDAPCertStore$Key
dup
aload 2
iload 3
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$Key.<init>:(Ljava/lang/String;I)V
astore 6
start local 6 40: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 6
invokevirtual sun.security.util.Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.provider.certpath.ldap.LDAPCertStoreImpl
astore 7
start local 7 41: aload 7
ifnonnull 45
42: aload 0
new sun.security.provider.certpath.ldap.LDAPCertStoreImpl
dup
aload 2
iload 3
invokespecial sun.security.provider.certpath.ldap.LDAPCertStoreImpl.<init>:(Ljava/lang/String;I)V
putfield sun.security.provider.certpath.ldap.LDAPCertStore.impl:Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
43: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 6
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.impl:Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
invokevirtual sun.security.util.Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
44: goto 48
45: StackMap locals: sun.security.provider.certpath.ldap.LDAPCertStore$Key sun.security.provider.certpath.ldap.LDAPCertStoreImpl
StackMap stack:
aload 0
aload 7
putfield sun.security.provider.certpath.ldap.LDAPCertStore.impl:Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
46: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.debug:Lsun/security/util/Debug;
ifnull 48
47: 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
48: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield sun.security.provider.certpath.ldap.LDAPCertStore.ldapDN:Ljava/lang/String;
49: return
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 50 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 50 1 params Ljava/security/cert/CertStoreParameters;
9 11 2 serverName Ljava/lang/String;
22 31 2 serverName Ljava/lang/String;
36 50 2 serverName Ljava/lang/String;
10 11 3 port I
25 31 3 port I
36 50 3 port I
2 50 4 dn Ljava/lang/String;
8 10 5 p Ljava/security/cert/LDAPCertStoreParameters;
13 30 5 p Ljava/security/cert/URICertStoreParameters;
14 30 6 u Ljava/net/URI;
37 50 5 security Ljava/lang/SecurityManager;
40 50 6 k Lsun/security/provider/certpath/ldap/LDAPCertStore$Key;
41 50 7 lci Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
static synchronized sun.security.provider.certpath.ldap.LDAPCertStoreImpl getInstance(java.security.cert.LDAPCertStoreParameters);
descriptor: (Ljava/security/cert/LDAPCertStoreParameters;)Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.security.cert.LDAPCertStoreParameters.getServerName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.security.cert.LDAPCertStoreParameters.getPort:()I
istore 2
start local 2 2: new sun.security.provider.certpath.ldap.LDAPCertStore$Key
dup
aload 1
iload 2
invokespecial sun.security.provider.certpath.ldap.LDAPCertStore$Key.<init>:(Ljava/lang/String;I)V
astore 3
start local 3 3: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 3
invokevirtual sun.security.util.Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.provider.certpath.ldap.LDAPCertStoreImpl
astore 4
start local 4 4: aload 4
ifnonnull 8
5: new sun.security.provider.certpath.ldap.LDAPCertStoreImpl
dup
aload 1
iload 2
invokespecial sun.security.provider.certpath.ldap.LDAPCertStoreImpl.<init>:(Ljava/lang/String;I)V
astore 4
6: getstatic sun.security.provider.certpath.ldap.LDAPCertStore.certStoreCache:Lsun/security/util/Cache;
aload 3
aload 4
invokevirtual sun.security.util.Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
7: goto 10
8: StackMap locals: java.security.cert.LDAPCertStoreParameters java.lang.String int sun.security.provider.certpath.ldap.LDAPCertStore$Key sun.security.provider.certpath.ldap.LDAPCertStoreImpl
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 4
areturn
end local 4 end local 3 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 serverName Ljava/lang/String;
2 11 2 port I
3 11 3 k Lsun/security/provider/certpath/ldap/LDAPCertStore$Key;
4 11 4 lci Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
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=2, 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 7
5: new java.security.cert.X509CertSelector
dup
invokespecial java.security.cert.X509CertSelector.<init>:()V
astore 1
6: goto 12
StackMap locals:
StackMap stack:
7: aload 1
instanceof java.security.cert.X509CertSelector
ifne 12
8: new java.security.cert.CertStoreException
dup
new java.lang.StringBuilder
dup
ldc "Need X509CertSelector to find certs, but instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " passed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.impl:Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
aload 1
checkcast java.security.cert.X509CertSelector
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.ldapDN:Ljava/lang/String;
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStoreImpl.getCertificates:(Ljava/security/cert/X509CertSelector;Ljava/lang/String;)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 13 1 selector Ljava/security/cert/CertSelector;
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Ljava/security/cert/CertSelector;)Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
MethodParameters:
Name Flags
selector
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=5, locals=2, 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 7
5: new java.security.cert.X509CRLSelector
dup
invokespecial java.security.cert.X509CRLSelector.<init>:()V
astore 1
6: goto 12
StackMap locals:
StackMap stack:
7: aload 1
instanceof java.security.cert.X509CRLSelector
ifne 12
8: new java.security.cert.CertStoreException
dup
new java.lang.StringBuilder
dup
ldc "Need X509CRLSelector to find CRLs, but instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc " passed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.cert.CertStoreException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.impl:Lsun/security/provider/certpath/ldap/LDAPCertStoreImpl;
aload 1
checkcast java.security.cert.X509CRLSelector
aload 0
getfield sun.security.provider.certpath.ldap.LDAPCertStore.ldapDN:Ljava/lang/String;
invokevirtual sun.security.provider.certpath.ldap.LDAPCertStoreImpl.getCRLs:(Ljava/security/cert/X509CRLSelector;Ljava/lang/String;)Ljava/util/Collection;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/provider/certpath/ldap/LDAPCertStore;
0 13 1 selector Ljava/security/cert/CRLSelector;
Exceptions:
throws java.security.cert.CertStoreException
Signature: (Ljava/security/cert/CRLSelector;)Ljava/util/Collection<Ljava/security/cert/X509CRL;>;
MethodParameters:
Name Flags
selector
}
SourceFile: "LDAPCertStore.java"
NestMembers:
sun.security.provider.certpath.ldap.LDAPCertStore$Key
InnerClasses:
private Key = sun.security.provider.certpath.ldap.LDAPCertStore$Key of sun.security.provider.certpath.ldap.LDAPCertStore