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;>;
void <init>(java.util.Set<javax.security.auth.x500.X500Principal>);
descriptor: (Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/certpath/ForwardBuilder$PKIXCertComparator;
0 3 1 trustedSubjectDNs Ljava/util/Set<Ljavax/security/auth/x500/X500Principal;>;
Signature: (Ljava/util/Set<Ljavax/security/auth/x500/X500Principal;>;)V
MethodParameters:
Name Flags
trustedSubjectDNs
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 1
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 3
start local 3 2: aload 2
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 4
start local 4 3: aload 3
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 5
start local 5 4: aload 4
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 6
start local 6 5: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 8
6: 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
7: 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
8: 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 10
9: 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
10: 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 11: 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 12: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 15
13: 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
14: 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
15: StackMap locals: int int
StackMap stack:
iload 7
ifeq 17
iload 8
ifeq 17
16: iconst_m1
ireturn
17: StackMap locals:
StackMap stack:
iload 7
ifeq 19
18: iconst_m1
ireturn
19: StackMap locals:
StackMap stack:
iload 8
ifeq 21
20: iconst_1
ireturn
21: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 23
22: 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
23: 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 43
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:
24: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 25: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 26: aload 11
aload 5
iconst_m1
invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
27: istore 12
start local 12 28: aload 11
aload 6
iconst_m1
invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
29: istore 13
start local 13 30: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 33
31: 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
32: 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
33: 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 34
iload 13
ifle 43
34: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpne 36
35: iconst_m1
ireturn
36: StackMap locals:
StackMap stack:
iload 12
ifle 38
iload 13
ifgt 38
37: iconst_m1
ireturn
38: StackMap locals:
StackMap stack:
iload 12
ifgt 40
iload 13
ifle 40
39: iconst_1
ireturn
40: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpge 42
41: iconst_m1
ireturn
42: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 13 end local 12 end local 11 end local 9 43: 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 24
44: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 46
45: 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
46: 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 66
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:
47: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 48: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 49: aload 11
aload 5
ldc 2147483647
50: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 12
start local 12 51: aload 11
aload 6
ldc 2147483647
52: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 13
start local 13 53: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 56
54: 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
55: 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
56: 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 57
iload 13
ifge 66
57: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmpne 59
58: iconst_m1
ireturn
59: StackMap locals:
StackMap stack:
iload 12
ifge 61
iload 13
iflt 61
60: iconst_m1
ireturn
61: StackMap locals:
StackMap stack:
iload 12
iflt 63
iload 13
ifge 63
62: iconst_1
ireturn
63: StackMap locals:
StackMap stack:
iload 12
iload 13
if_icmple 65
64: iconst_m1
ireturn
65: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 13 end local 12 end local 11 end local 9 66: 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 47
67: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 69
68: 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
69: 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 93
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:
70: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.security.auth.x500.X500Principal
astore 9
start local 9 71: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 72: aload 11
aload 5
invokevirtual sun.security.x509.X500Name.commonAncestor:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Name;
astore 12
start local 12 73: aload 11
aload 6
invokevirtual sun.security.x509.X500Name.commonAncestor:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Name;
astore 13
start local 13 74: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 77
75: 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
76: 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
77: 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 78
aload 13
ifnull 93
78: StackMap locals:
StackMap stack:
aload 12
ifnull 90
aload 13
ifnull 90
79: aload 11
aload 5
ldc 2147483647
80: invokestatic sun.security.provider.certpath.Builder.hops:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 14
start local 14 81: aload 11
aload 6
ldc 2147483647
82: invokestatic sun.security.provider.certpath.Builder.hops:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 15
start local 15 83: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 86
84: 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
85: 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
86: StackMap locals: int int
StackMap stack:
iload 14
iload 15
if_icmpeq 93
87: iload 14
iload 15
if_icmple 89
88: iconst_1
ireturn
89: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 15 end local 14 90: StackMap locals:
StackMap stack:
aload 12
ifnonnull 92
91: iconst_1
ireturn
92: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 13 end local 12 end local 11 end local 9 93: 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 70
94: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 96
95: 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
96: 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 97: aload 2
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 10
start local 10 98: aload 9
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 11
start local 11 99: aload 10
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 12
start local 12 100: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 103
101: 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
102: 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
103: 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
104: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 13
start local 13 105: aload 12
aload 6
ldc 2147483647
106: invokestatic sun.security.provider.certpath.Builder.distance:(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I
istore 14
start local 14 107: getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 110
108: 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
109: 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
110: StackMap locals: int int
StackMap stack:
iload 14
iload 13
if_icmple 112
111: iconst_m1
ireturn
112: StackMap locals:
StackMap stack:
iload 14
iload 13
if_icmpge 114
113: iconst_1
ireturn
114: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.ForwardBuilder.debug:Lsun/security/util/Debug;
ifnull 116
115: 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
116: 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 117 0 this Lsun/security/provider/certpath/ForwardBuilder$PKIXCertComparator;
0 117 1 oCert1 Ljava/security/cert/X509Certificate;
0 117 2 oCert2 Ljava/security/cert/X509Certificate;
2 117 3 cIssuer1 Ljavax/security/auth/x500/X500Principal;
3 117 4 cIssuer2 Ljavax/security/auth/x500/X500Principal;
4 117 5 cIssuer1Name Lsun/security/x509/X500Name;
5 117 6 cIssuer2Name Lsun/security/x509/X500Name;
11 117 7 m1 Z
12 117 8 m2 Z
25 43 9 tSubject Ljavax/security/auth/x500/X500Principal;
26 43 11 tSubjectName Lsun/security/x509/X500Name;
28 43 12 distanceTto1 I
30 43 13 distanceTto2 I
48 66 9 tSubject Ljavax/security/auth/x500/X500Principal;
49 66 11 tSubjectName Lsun/security/x509/X500Name;
51 66 12 distanceTto1 I
53 66 13 distanceTto2 I
71 93 9 tSubject Ljavax/security/auth/x500/X500Principal;
72 93 11 tSubjectName Lsun/security/x509/X500Name;
73 93 12 tAo1 Lsun/security/x509/X500Name;
74 93 13 tAo2 Lsun/security/x509/X500Name;
81 90 14 hopsTto1 I
83 90 15 hopsTto2 I
97 117 9 cSubject1 Ljavax/security/auth/x500/X500Principal;
98 117 10 cSubject2 Ljavax/security/auth/x500/X500Principal;
99 117 11 cSubject1Name Lsun/security/x509/X500Name;
100 117 12 cSubject2Name Lsun/security/x509/X500Name;
105 117 13 distanceStoI1 I
107 117 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