class sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator implements java.util.Comparator<java.security.cert.X509Certificate>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator
super_class: java.lang.Object
{
static final java.lang.String METHOD_NME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "PKIXCertComparator.compare()"
private final java.util.Set<javax.security.auth.x500.X500Principal> trustedSubjectDNs;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/security/auth/x500/X500Principal;>;
private final java.security.cert.X509CertSelector certSkidSelector;
descriptor: Ljava/security/cert/X509CertSelector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.util.Set<javax.security.auth.x500.X500Principal>, sun.security.x509.X509CertImpl);
descriptor: (Ljava/util/Set;Lsun/security/x509/X509CertImpl;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
2: aload 0
aload 0
aload 2
invokevirtual sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.getSelector:(Lsun/security/x509/X509CertImpl;)Ljava/security/cert/X509CertSelector;
putfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.certSkidSelector:Ljava/security/cert/X509CertSelector;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/certpath/ForwardBuilder$PKIXCertComparator;
0 4 1 trustedSubjectDNs Ljava/util/Set<Ljavax/security/auth/x500/X500Principal;>;
0 4 2 previousCert Lsun/security/x509/X509CertImpl;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Set<Ljavax/security/auth/x500/X500Principal;>;Lsun/security/x509/X509CertImpl;)V
MethodParameters:
Name Flags
trustedSubjectDNs
previousCert
private java.security.cert.X509CertSelector getSelector(sun.security.x509.X509CertImpl);
descriptor: (Lsun/security/x509/X509CertImpl;)Ljava/security/cert/X509CertSelector;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 9
1: aload 1
invokevirtual sun.security.x509.X509CertImpl.getAuthorityKeyIdentifierExtension:()Lsun/security/x509/AuthorityKeyIdentifierExtension;
2: astore 2
start local 2 3: aload 2
ifnull 9
4: aload 2
invokevirtual sun.security.x509.AuthorityKeyIdentifierExtension.getEncodedKeyIdentifier:()[B
astore 3
start local 3 5: aload 3
ifnull 9
6: new java.security.cert.X509CertSelector
dup
invokespecial java.security.cert.X509CertSelector.<init>:()V
astore 4
start local 4 7: aload 4
aload 3
invokevirtual java.security.cert.X509CertSelector.setSubjectKeyIdentifier:([B)V
8: aload 4
areturn
end local 4 end local 3 end local 2 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/provider/certpath/ForwardBuilder$PKIXCertComparator;
0 10 1 previousCert Lsun/security/x509/X509CertImpl;
3 9 2 akidExt Lsun/security/x509/AuthorityKeyIdentifierExtension;
5 9 3 skid [B
7 9 4 selector Ljava/security/cert/X509CertSelector;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
previousCert
public int compare(java.security.cert.X509Certificate, java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;Ljava/security/cert/X509Certificate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.security.cert.X509Certificate.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.certSkidSelector:Ljava/security/cert/X509CertSelector;
ifnull 6
2: aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.certSkidSelector:Ljava/security/cert/X509CertSelector;
aload 1
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.certSkidSelector:Ljava/security/cert/X509CertSelector;
aload 2
invokevirtual java.security.cert.X509CertSelector.match:(Ljava/security/cert/Certificate;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 3
start local 3 7: aload 2
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 4
start local 4 8: aload 3
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 5
start local 5 9: aload 4
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 6
start local 6 10: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 13
11: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() o1 Issuer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() o2 Issuer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
13: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name
StackMap stack:
getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 15
14: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() MATCH TRUSTED SUBJECT TEST..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
istore 7
start local 7 16: aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
istore 8
start local 8 17: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 20
18: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() m1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
19: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() m2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 8
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
20: StackMap locals: int int
StackMap stack:
iload 7
ifeq 22
iload 8
ifeq 22
21: iconst_m1
ireturn
22: StackMap locals:
StackMap stack:
iload 7
ifeq 24
23: iconst_m1
ireturn
24: StackMap locals:
StackMap stack:
iload 8
ifeq 26
25: iconst_1
ireturn
26: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 28
27: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() NAMING DESCENDANT TEST..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 48
StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
29: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 30: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 31: aload 11
aload 5
iconst_m1
invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
32: istore 12
start local 12 33: aload 11
aload 6
iconst_m1
invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
34: istore 13
start local 13 35: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 38
36: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceTto1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
37: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceTto2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
38: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int javax.security.auth.x500.X500Principal java.util.Iterator sun.security.x509.X500Name int int
StackMap stack:
iload 12
ifgt 39
iload 13
ifle 48
39: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpne 41
40: iconst_m1
ireturn
41: StackMap locals:
StackMap stack:
iload 12
ifle 43
iload 13
ifgt 43
42: iconst_m1
ireturn
43: StackMap locals:
StackMap stack:
iload 12
ifgt 45
iload 13
ifle 45
44: iconst_1
ireturn
45: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpge 47
46: iconst_m1
ireturn
47: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 13 end local 12 end local 11 end local 9 48: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
49: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 51
50: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() NAMING ANCESTOR TEST..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
51: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 71
StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
52: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 53: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 54: aload 11
aload 5
ldc 2147483647
55: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 12
start local 12 56: aload 11
aload 6
ldc 2147483647
57: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 13
start local 13 58: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 61
59: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceTto1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
60: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceTto2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
61: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int javax.security.auth.x500.X500Principal java.util.Iterator sun.security.x509.X500Name int int
StackMap stack:
iload 12
iflt 62
iload 13
ifge 71
62: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpne 64
63: iconst_m1
ireturn
64: StackMap locals:
StackMap stack:
iload 12
ifge 66
iload 13
iflt 66
65: iconst_m1
ireturn
66: StackMap locals:
StackMap stack:
iload 12
iflt 68
iload 13
ifge 68
67: iconst_1
ireturn
68: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmple 70
69: iconst_m1
ireturn
70: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 13 end local 12 end local 11 end local 9 71: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
72: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 74
73: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() SAME NAMESPACE AS TRUSTED TEST..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
74: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int
StackMap stack:
aload 0
getfield sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.trustedSubjectDNs:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 98
StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
75: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 76: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 77: aload 11
aload 5
invokevirtual sun.security.x509.X500Name.commonAncestor:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Name;
astore 12
start local 12 78: aload 11
aload 6
invokevirtual sun.security.x509.X500Name.commonAncestor:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Name;
astore 13
start local 13 79: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 82
80: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() tAo1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
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;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
81: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() tAo2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
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;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
82: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int javax.security.auth.x500.X500Principal java.util.Iterator sun.security.x509.X500Name sun.security.x509.X500Name sun.security.x509.X500Name
StackMap stack:
aload 12
ifnonnull 83
aload 13
ifnull 98
83: StackMap locals:
StackMap stack:
aload 12
ifnull 95
aload 13
ifnull 95
84: aload 11
aload 5
ldc 2147483647
85: invokestatic sun.security.provider.certpath.Builder.hops:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 14
start local 14 86: aload 11
aload 6
ldc 2147483647
87: invokestatic sun.security.provider.certpath.Builder.hops:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 15
start local 15 88: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 91
89: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() hopsTto1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 14
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
90: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() hopsTto2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 15
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
91: StackMap locals: int int
StackMap stack:
iload 14
iload 15
if_icmpeq 98
92: iload 14
iload 15
if_icmple 94
93: iconst_1
ireturn
94: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 15 end local 14 95: StackMap locals:
StackMap stack:
aload 12
ifnonnull 97
96: iconst_1
ireturn
97: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 13 end local 12 end local 11 end local 9 98: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 75
99: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 101
100: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() CERT ISSUER/SUBJECT COMPARISON TEST..."
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
101: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 9
start local 9 102: aload 2
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 10
start local 10 103: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 104: aload 10
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 12
start local 12 105: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 108
106: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() o1 Subject: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
107: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() o2 Subject: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
108: StackMap locals: sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator java.security.cert.X509Certificate java.security.cert.X509Certificate javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name int int javax.security.auth.x500.X500Principal javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.X500Name
StackMap stack:
aload 11
aload 5
ldc 2147483647
109: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 13
start local 13 110: aload 12
aload 6
ldc 2147483647
111: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 14
start local 14 112: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 115
113: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceStoI1: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
114: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "PKIXCertComparator.compare() distanceStoI2: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 14
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
115: StackMap locals: int int
StackMap stack:
iload 14
iload 13
if_icmple 117
116: iconst_m1
ireturn
117: StackMap locals:
StackMap stack:
iload 14
iload 13
if_icmpge 119
118: iconst_1
ireturn
119: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 121
120: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ldc "PKIXCertComparator.compare() no tests matched; RETURN 0"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
121: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 122 0 this Lsun/security/provider/certpath/ForwardBuilder$PKIXCertComparator;
0 122 1 oCert1 Ljava/security/cert/X509Certificate;
0 122 2 oCert2 Ljava/security/cert/X509Certificate;
7 122 3 cIssuer1 Ljavax/security/auth/x500/X500Principal;
8 122 4 cIssuer2 Ljavax/security/auth/x500/X500Principal;
9 122 5 cIssuer1Name Lsun/security/x509/X500Name;
10 122 6 cIssuer2Name Lsun/security/x509/X500Name;
16 122 7 m1 Z
17 122 8 m2 Z
30 48 9 tSubject Ljavax/security/auth/x500/X500Principal;
31 48 11 tSubjectName Lsun/security/x509/X500Name;
33 48 12 distanceTto1 I
35 48 13 distanceTto2 I
53 71 9 tSubject Ljavax/security/auth/x500/X500Principal;
54 71 11 tSubjectName Lsun/security/x509/X500Name;
56 71 12 distanceTto1 I
58 71 13 distanceTto2 I
76 98 9 tSubject Ljavax/security/auth/x500/X500Principal;
77 98 11 tSubjectName Lsun/security/x509/X500Name;
78 98 12 tAo1 Lsun/security/x509/X500Name;
79 98 13 tAo2 Lsun/security/x509/X500Name;
86 95 14 hopsTto1 I
88 95 15 hopsTto2 I
102 122 9 cSubject1 Ljavax/security/auth/x500/X500Principal;
103 122 10 cSubject2 Ljavax/security/auth/x500/X500Principal;
104 122 11 cSubject1Name Lsun/security/x509/X500Name;
105 122 12 cSubject2Name Lsun/security/x509/X500Name;
110 122 13 distanceStoI1 I
112 122 14 distanceStoI2 I
MethodParameters:
Name Flags
oCert1
oCert2
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.security.cert.X509Certificate
aload 2
checkcast java.security.cert.X509Certificate
invokevirtual sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator.compare:(Ljava/security/cert/X509Certificate;Ljava/security/cert/X509Certificate;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/security/cert/X509Certificate;>;
SourceFile: "ForwardBuilder.java"
NestHost: sun.security.provider.certpath.ForwardBuilder
InnerClasses:
PKIXCertComparator = sun.security.provider.certpath.ForwardBuilder$PKIXCertComparator of sun.security.provider.certpath.ForwardBuilder