class org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher extends javax.net.ssl.SNIMatcher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher
super_class: javax.net.ssl.SNIMatcher
{
private java.lang.String _host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jetty.util.ssl.X509 _x509;
descriptor: Lorg/eclipse/jetty/util/ssl/X509;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.util.ssl.SslContextFactory this$0;
descriptor: Lorg/eclipse/jetty/util/ssl/SslContextFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.eclipse.jetty.util.ssl.SslContextFactory);
descriptor: (Lorg/eclipse/jetty/util/ssl/SslContextFactory;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
0: .line 2039
aload 0 /* this */
aload 1
putfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.this$0:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
1: .line 2040
aload 0 /* this */
iconst_0
invokespecial javax.net.ssl.SNIMatcher.<init>:(I)V
2: .line 2041
return
end local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/ssl/SslContextFactory$AliasSNIMatcher;
MethodParameters:
Name Flags
this$0 final
public boolean matches(javax.net.ssl.SNIServerName);
descriptor: (Ljavax/net/ssl/SNIServerName;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
start local 1 // javax.net.ssl.SNIServerName serverName
0: .line 2046
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 2
1: .line 2047
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "SNI matching for {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* serverName */
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
2: .line 2049
StackMap locals:
StackMap stack:
aload 1 /* serverName */
instanceof javax.net.ssl.SNIHostName
ifeq 16
3: .line 2051
aload 0 /* this */
aload 1 /* serverName */
checkcast javax.net.ssl.SNIHostName
invokevirtual javax.net.ssl.SNIHostName.getAsciiName:()Ljava/lang/String;
dup_x1
putfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._host:Ljava/lang/String;
astore 2 /* host */
start local 2 // java.lang.String host
4: .line 2052
aload 2 /* host */
invokestatic org.eclipse.jetty.util.StringUtil.asciiToLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* host */
5: .line 2055
aload 0 /* this */
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.this$0:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
getfield org.eclipse.jetty.util.ssl.SslContextFactory._certHosts:Ljava/util/Map;
aload 2 /* host */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.ssl.X509
putfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
6: .line 2058
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
ifnonnull 13
7: .line 2060
aload 0 /* this */
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.this$0:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
getfield org.eclipse.jetty.util.ssl.SslContextFactory._certWilds:Ljava/util/Map;
aload 2 /* host */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.ssl.X509
putfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
8: .line 2063
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
ifnonnull 13
9: .line 2065
aload 2 /* host */
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 3 /* dot */
start local 3 // int dot
10: .line 2066
iload 3 /* dot */
iflt 13
11: .line 2068
aload 2 /* host */
iload 3 /* dot */
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4 /* domain */
start local 4 // java.lang.String domain
12: .line 2069
aload 0 /* this */
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.this$0:Lorg/eclipse/jetty/util/ssl/SslContextFactory;
getfield org.eclipse.jetty.util.ssl.SslContextFactory._certWilds:Ljava/util/Map;
aload 4 /* domain */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.ssl.X509
putfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
end local 4 // java.lang.String domain
end local 3 // int dot
13: .line 2074
StackMap locals: java.lang.String
StackMap stack:
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 18
14: .line 2075
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "SNI matched {}->{}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2 /* host */
aastore
dup
iconst_1
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 // java.lang.String host
15: .line 2076
goto 18
16: .line 2079
StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 18
17: .line 2080
getstatic org.eclipse.jetty.util.ssl.SslContextFactory.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "SNI no match for {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* serverName */
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
18: .line 2086
StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 // javax.net.ssl.SNIServerName serverName
end local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jetty/util/ssl/SslContextFactory$AliasSNIMatcher;
0 19 1 serverName Ljavax/net/ssl/SNIServerName;
4 15 2 host Ljava/lang/String;
10 13 3 dot I
12 13 4 domain Ljava/lang/String;
MethodParameters:
Name Flags
serverName
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
0: .line 2091
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._host:Ljava/lang/String;
areturn
end local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SslContextFactory$AliasSNIMatcher;
public org.eclipse.jetty.util.ssl.X509 getX509();
descriptor: ()Lorg/eclipse/jetty/util/ssl/X509;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
0: .line 2096
aload 0 /* this */
getfield org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher._x509:Lorg/eclipse/jetty/util/ssl/X509;
areturn
end local 0 // org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SslContextFactory$AliasSNIMatcher;
}
SourceFile: "SslContextFactory.java"
NestHost: org.eclipse.jetty.util.ssl.SslContextFactory
InnerClasses:
AliasSNIMatcher = org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher of org.eclipse.jetty.util.ssl.SslContextFactory