public abstract class org.apache.http.conn.ssl.AbstractVerifier implements org.apache.http.conn.ssl.X509HostnameVerifier
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.http.conn.ssl.AbstractVerifier
super_class: java.lang.Object
{
private final org.apache.commons.logging.Log log;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final java.lang.String[] BAD_COUNTRY_2LDS;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 14
anewarray java.lang.String
dup
iconst_0
ldc "ac"
aastore
dup
iconst_1
ldc "co"
aastore
dup
iconst_2
ldc "com"
aastore
dup
iconst_3
ldc "ed"
aastore
dup
iconst_4
ldc "edu"
aastore
dup
iconst_5
ldc "go"
aastore
dup
bipush 6
ldc "gouv"
aastore
dup
bipush 7
ldc "gov"
aastore
dup
bipush 8
ldc "info"
aastore
dup
bipush 9
1: ldc "lg"
aastore
dup
bipush 10
ldc "ne"
aastore
dup
bipush 11
ldc "net"
aastore
dup
bipush 12
ldc "or"
aastore
dup
bipush 13
ldc "org"
aastore
2: putstatic org.apache.http.conn.ssl.AbstractVerifier.BAD_COUNTRY_2LDS:[Ljava/lang/String;
3: getstatic org.apache.http.conn.ssl.AbstractVerifier.BAD_COUNTRY_2LDS:[Ljava/lang/String;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.apache.http.conn.ssl.AbstractVerifier.log:Lorg/apache/commons/logging/Log;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/conn/ssl/AbstractVerifier;
public final void verify(java.lang.String, javax.net.ssl.SSLSocket);
descriptor: (Ljava/lang/String;Ljavax/net/ssl/SSLSocket;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Host"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
invokevirtual javax.net.ssl.SSLSocket.getSession:()Ljavax/net/ssl/SSLSession;
astore 3
start local 3 2: aload 3
ifnonnull 9
3: aload 2
invokevirtual javax.net.ssl.SSLSocket.getInputStream:()Ljava/io/InputStream;
astore 4
start local 4 4: aload 4
invokevirtual java.io.InputStream.available:()I
pop
5: aload 2
invokevirtual javax.net.ssl.SSLSocket.getSession:()Ljavax/net/ssl/SSLSession;
astore 3
6: aload 3
ifnonnull 9
7: aload 2
invokevirtual javax.net.ssl.SSLSocket.startHandshake:()V
8: aload 2
invokevirtual javax.net.ssl.SSLSocket.getSession:()Ljavax/net/ssl/SSLSession;
astore 3
end local 4 9: StackMap locals: javax.net.ssl.SSLSession
StackMap stack:
aload 3
invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
astore 4
start local 4 10: aload 4
iconst_0
aaload
checkcast java.security.cert.X509Certificate
astore 5
start local 5 11: aload 0
aload 1
aload 5
invokevirtual org.apache.http.conn.ssl.AbstractVerifier.verify:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
12: return
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 13 0 this Lorg/apache/http/conn/ssl/AbstractVerifier;
0 13 1 host Ljava/lang/String;
0 13 2 ssl Ljavax/net/ssl/SSLSocket;
2 13 3 session Ljavax/net/ssl/SSLSession;
4 9 4 in Ljava/io/InputStream;
10 13 4 certs [Ljava/security/cert/Certificate;
11 13 5 x509 Ljava/security/cert/X509Certificate;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
host final
ssl final
public final boolean verify(java.lang.String, javax.net.ssl.SSLSession);
descriptor: (Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
astore 3
start local 3 1: aload 3
iconst_0
aaload
checkcast java.security.cert.X509Certificate
astore 4
start local 4 2: aload 0
aload 1
aload 4
invokevirtual org.apache.http.conn.ssl.AbstractVerifier.verify:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
3: iconst_1
ireturn
end local 4 end local 3 4: StackMap locals:
StackMap stack: javax.net.ssl.SSLException
astore 3
start local 3 5: aload 0
getfield org.apache.http.conn.ssl.AbstractVerifier.log:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 7
6: aload 0
getfield org.apache.http.conn.ssl.AbstractVerifier.log:Lorg/apache/commons/logging/Log;
aload 3
invokevirtual javax.net.ssl.SSLException.getMessage:()Ljava/lang/String;
aload 3
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
7: StackMap locals: javax.net.ssl.SSLException
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/conn/ssl/AbstractVerifier;
0 8 1 host Ljava/lang/String;
0 8 2 session Ljavax/net/ssl/SSLSession;
1 4 3 certs [Ljava/security/cert/Certificate;
2 4 4 x509 Ljava/security/cert/X509Certificate;
5 8 3 ex Ljavax/net/ssl/SSLException;
Exception table:
from to target type
0 3 4 Class javax.net.ssl.SSLException
MethodParameters:
Name Flags
host final
session final
public final void verify(java.lang.String, java.security.cert.X509Certificate);
descriptor: (Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.getSubjectAltNames:(Ljava/security/cert/X509Certificate;)Ljava/util/List;
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: aload 1
invokestatic org.apache.http.conn.util.InetAddressUtils.isIPv4Address:(Ljava/lang/String;)Z
ifne 3
aload 1
invokestatic org.apache.http.conn.util.InetAddressUtils.isIPv6Address:(Ljava/lang/String;)Z
ifeq 9
3: StackMap locals: java.util.List java.util.List
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.http.conn.ssl.SubjectName
astore 5
start local 5 5: aload 5
invokevirtual org.apache.http.conn.ssl.SubjectName.getType:()I
bipush 7
if_icmpne 7
6: aload 4
aload 5
invokevirtual org.apache.http.conn.ssl.SubjectName.getValue:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: goto 14
9: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.http.conn.ssl.SubjectName
astore 5
start local 5 11: aload 5
invokevirtual org.apache.http.conn.ssl.SubjectName.getType:()I
iconst_2
if_icmpne 13
12: aload 4
aload 5
invokevirtual org.apache.http.conn.ssl.SubjectName.getValue:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List
StackMap stack:
aload 2
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 5
start local 5 15: aload 5
ldc "RFC2253"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.extractCN:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 16: aload 0
aload 1
17: aload 6
ifnull 18
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 6
aastore
goto 19
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List javax.security.auth.x500.X500Principal java.lang.String
StackMap stack: org.apache.http.conn.ssl.AbstractVerifier java.lang.String
18: aconst_null
19: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List javax.security.auth.x500.X500Principal java.lang.String
StackMap stack: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[]
aload 4
ifnull 20
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 20
aload 4
aload 4
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
goto 21
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List javax.security.auth.x500.X500Principal java.lang.String
StackMap stack: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[]
20: aconst_null
21: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.security.cert.X509Certificate java.util.List java.util.List javax.security.auth.x500.X500Principal java.lang.String
StackMap stack: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[] java.lang.String[]
invokevirtual org.apache.http.conn.ssl.AbstractVerifier.verify:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
22: return
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 23 0 this Lorg/apache/http/conn/ssl/AbstractVerifier;
0 23 1 host Ljava/lang/String;
0 23 2 cert Ljava/security/cert/X509Certificate;
1 23 3 allSubjectAltNames Ljava/util/List<Lorg/apache/http/conn/ssl/SubjectName;>;
2 23 4 subjectAlts Ljava/util/List<Ljava/lang/String;>;
5 7 5 subjectName Lorg/apache/http/conn/ssl/SubjectName;
11 13 5 subjectName Lorg/apache/http/conn/ssl/SubjectName;
15 23 5 subjectPrincipal Ljavax/security/auth/x500/X500Principal;
16 23 6 cn Ljava/lang/String;
Exceptions:
throws javax.net.ssl.SSLException
MethodParameters:
Name Flags
host final
cert final
public final void verify(java.lang.String, java.lang.String[], java.lang.String[], boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnull 1
aload 2
arraylength
ifle 1
aload 2
iconst_0
aaload
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: astore 5
start local 5 3: aload 3
ifnull 4
aload 3
arraylength
ifle 4
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.util.List
5: astore 6
start local 6 6: aload 1
invokestatic org.apache.http.conn.util.InetAddressUtils.isIPv6Address:(Ljava/lang/String;)Z
ifeq 8
7: aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.normaliseAddress:(Ljava/lang/String;)Ljava/lang/String;
goto 9
StackMap locals: java.util.List
StackMap stack:
8: aload 1
9: StackMap locals:
StackMap stack: java.lang.String
astore 7
start local 7 10: aload 6
ifnull 23
11: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 19
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.util.List java.lang.String top java.util.Iterator
StackMap stack:
12: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 13: aload 8
invokestatic org.apache.http.conn.util.InetAddressUtils.isIPv6Address:(Ljava/lang/String;)Z
ifeq 15
14: aload 8
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.normaliseAddress:(Ljava/lang/String;)Ljava/lang/String;
goto 16
StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.util.List java.lang.String java.lang.String java.util.Iterator
StackMap stack:
15: aload 8
16: StackMap locals:
StackMap stack: java.lang.String
astore 10
start local 10 17: aload 7
aload 10
iload 4
invokestatic org.apache.http.conn.ssl.AbstractVerifier.matchIdentity:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifeq 19
18: return
end local 10 end local 8 19: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
20: new javax.net.ssl.SSLException
dup
new java.lang.StringBuilder
dup
ldc "Certificate for <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "> doesn't match any "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "of the subject alternative names: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: org.apache.http.conn.ssl.AbstractVerifier java.lang.String java.lang.String[] java.lang.String[] int java.lang.String java.util.List java.lang.String
StackMap stack:
aload 5
ifnull 33
24: aload 5
invokestatic org.apache.http.conn.util.InetAddressUtils.isIPv6Address:(Ljava/lang/String;)Z
ifeq 26
25: aload 5
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.normaliseAddress:(Ljava/lang/String;)Ljava/lang/String;
goto 27
StackMap locals:
StackMap stack:
26: aload 5
27: StackMap locals:
StackMap stack: java.lang.String
astore 8
start local 8 28: aload 7
aload 8
iload 4
invokestatic org.apache.http.conn.ssl.AbstractVerifier.matchIdentity:(Ljava/lang/String;Ljava/lang/String;Z)Z
ifeq 30
29: return
30: StackMap locals: java.lang.String
StackMap stack:
new javax.net.ssl.SSLException
dup
new java.lang.StringBuilder
dup
ldc "Certificate for <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "> doesn't match "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: ldc "common name of the certificate subject: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;)V
athrow
end local 8 33: StackMap locals:
StackMap stack:
new javax.net.ssl.SSLException
dup
new java.lang.StringBuilder
dup
ldc "Certificate subject for <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "> doesn't contain "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
34: ldc "a common name and does not have alternative names"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
35: invokespecial javax.net.ssl.SSLException.<init>:(Ljava/lang/String;)V
athrow
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 36 0 this Lorg/apache/http/conn/ssl/AbstractVerifier;
0 36 1 host Ljava/lang/String;
0 36 2 cns [Ljava/lang/String;
0 36 3 subjectAlts [Ljava/lang/String;
0 36 4 strictWithSubDomains Z
3 36 5 cn Ljava/lang/String;
6 36 6 subjectAltList Ljava/util/List<Ljava/lang/String;>;
10 36 7 normalizedHost Ljava/lang/String;
13 19 8 subjectAlt Ljava/lang/String;
17 19 10 normalizedAltSubject Ljava/lang/String;
28 33 8 normalizedCN Ljava/lang/String;
Exceptions:
throws javax.net.ssl.SSLException
MethodParameters:
Name Flags
host final
cns final
subjectAlts final
strictWithSubDomains final
private static boolean matchIdentity(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 3: aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 4
start local 4 4: aload 4
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 5: aload 5
arraylength
iconst_3
if_icmplt 8
aload 5
iconst_0
aaload
ldc "*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
6: iload 2
ifeq 7
aload 5
invokestatic org.apache.http.conn.ssl.AbstractVerifier.validCountryWildcard:([Ljava/lang/String;)Z
ifeq 8
7: StackMap locals: java.lang.String java.lang.String java.lang.String[]
StackMap stack:
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 6
start local 6 10: iload 6
ifeq 24
11: aload 5
iconst_0
aaload
astore 8
start local 8 12: aload 8
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 20
13: aload 8
iconst_0
aload 8
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 14: aload 4
aload 8
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 10
start local 10 15: aload 3
aload 9
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 11
start local 11 16: aload 3
aload 9
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
aload 11
aload 10
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 17
iconst_1
goto 18
StackMap locals: java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String[] int top java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 7
end local 11 end local 10 end local 9 start local 7 19: goto 21
end local 7 20: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
istore 7
start local 7 21: StackMap locals: java.lang.String java.lang.String int java.lang.String java.lang.String java.lang.String[] int int java.lang.String
StackMap stack:
iload 7
ifeq 23
iload 2
ifeq 22
aload 3
invokestatic org.apache.http.conn.ssl.AbstractVerifier.countDots:(Ljava/lang/String;)I
aload 4
invokestatic org.apache.http.conn.ssl.AbstractVerifier.countDots:(Ljava/lang/String;)I
if_icmpne 23
StackMap locals:
StackMap stack:
22: iconst_1
ireturn
StackMap locals:
StackMap stack:
23: iconst_0
ireturn
end local 8 end local 7 24: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
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 host Ljava/lang/String;
0 25 1 identity Ljava/lang/String;
0 25 2 strict Z
3 25 3 normalizedHost Ljava/lang/String;
4 25 4 normalizedIdentity Ljava/lang/String;
5 25 5 parts [Ljava/lang/String;
10 25 6 doWildcard Z
19 20 7 match Z
21 24 7 match Z
12 24 8 firstpart Ljava/lang/String;
14 19 9 prefix Ljava/lang/String;
15 19 10 suffix Ljava/lang/String;
16 19 11 hostSuffix Ljava/lang/String;
MethodParameters:
Name Flags
host final
identity final
strict final
private static boolean validCountryWildcard(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_3
if_icmpne 1
aload 0
iconst_2
aaload
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.http.conn.ssl.AbstractVerifier.BAD_COUNTRY_2LDS:[Ljava/lang/String;
aload 0
iconst_1
aaload
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;Ljava/lang/Object;)I
ifge 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 parts [Ljava/lang/String;
MethodParameters:
Name Flags
parts final
public static boolean acceptableCountryWildcard(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic org.apache.http.conn.ssl.AbstractVerifier.validCountryWildcard:([Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cn Ljava/lang/String;
MethodParameters:
Name Flags
cn final
public static java.lang.String[] getCNs(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual javax.security.auth.x500.X500Principal.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.extractCN:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 3
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
goto 4
StackMap locals: java.lang.String java.lang.String
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.lang.String[]
4: areturn
end local 2 5: StackMap locals: java.security.cert.X509Certificate java.lang.String
StackMap stack: javax.net.ssl.SSLException
pop
6: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 cert Ljava/security/cert/X509Certificate;
1 7 1 subjectPrincipal Ljava/lang/String;
2 5 2 cn Ljava/lang/String;
Exception table:
from to target type
1 4 5 Class javax.net.ssl.SSLException
MethodParameters:
Name Flags
cert final
public static java.lang.String[] getDNSSubjectAlts(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.http.conn.ssl.DefaultHostnameVerifier.getSubjectAltNames:(Ljava/security/cert/X509Certificate;)Ljava/util/List;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 4: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.security.cert.X509Certificate java.util.List java.util.List top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.http.conn.ssl.SubjectName
astore 3
start local 3 6: aload 3
invokevirtual org.apache.http.conn.ssl.SubjectName.getType:()I
iconst_2
if_icmpne 8
7: aload 2
aload 3
invokevirtual org.apache.http.conn.ssl.SubjectName.getValue:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
goto 11
StackMap locals: java.security.cert.X509Certificate java.util.List java.util.List
StackMap stack:
10: aconst_null
StackMap locals:
StackMap stack: java.lang.String[]
11: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 cert Ljava/security/cert/X509Certificate;
1 12 1 subjectAltNames Ljava/util/List<Lorg/apache/http/conn/ssl/SubjectName;>;
4 12 2 dnsAlts Ljava/util/List<Ljava/lang/String;>;
6 8 3 subjectName Lorg/apache/http/conn/ssl/SubjectName;
MethodParameters:
Name Flags
cert final
public static int countDots(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpne 5
4: iinc 1 1
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/String;
1 8 1 count I
2 7 2 i I
MethodParameters:
Name Flags
s final
}
SourceFile: "AbstractVerifier.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()