public class org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager extends javax.net.ssl.X509ExtendedKeyManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager
super_class: javax.net.ssl.X509ExtendedKeyManager
{
public static final java.lang.String SNI_X509;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "org.eclipse.jetty.util.ssl.snix509"
private static final java.lang.String NO_MATCHERS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "no_matchers"
private static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final javax.net.ssl.X509ExtendedKeyManager _delegate;
descriptor: Ljavax/net/ssl/X509ExtendedKeyManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.net.ssl.X509ExtendedKeyManager);
descriptor: (Ljavax/net/ssl/X509ExtendedKeyManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.net.ssl.X509ExtendedKeyManager.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 3 1 keyManager Ljavax/net/ssl/X509ExtendedKeyManager;
MethodParameters:
Name Flags
keyManager
public java.lang.String chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket);
descriptor: ([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.X509ExtendedKeyManager.chooseClientAlias:([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 keyType [Ljava/lang/String;
0 1 2 issuers [Ljava/security/Principal;
0 1 3 socket Ljava/net/Socket;
MethodParameters:
Name Flags
keyType
issuers
socket
public java.lang.String chooseEngineClientAlias(java.lang.String[], java.security.Principal[], javax.net.ssl.SSLEngine);
descriptor: ([Ljava/lang/String;[Ljava/security/Principal;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.X509ExtendedKeyManager.chooseEngineClientAlias:([Ljava/lang/String;[Ljava/security/Principal;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 keyType [Ljava/lang/String;
0 1 2 issuers [Ljava/security/Principal;
0 1 3 engine Ljavax/net/ssl/SSLEngine;
MethodParameters:
Name Flags
keyType
issuers
engine
protected java.lang.String chooseServerAlias(java.lang.String, java.security.Principal[], java.util.Collection<javax.net.ssl.SNIMatcher>, javax.net.ssl.SSLSession);
descriptor: (Ljava/lang/String;[Ljava/security/Principal;Ljava/util/Collection;Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
invokevirtual javax.net.ssl.X509ExtendedKeyManager.getServerAliases:(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
astore 5
start local 5 1: aload 5
ifnull 2
aload 5
arraylength
ifne 3
2: StackMap locals: java.lang.String[]
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 4: aconst_null
astore 7
start local 7 5: aload 3
ifnull 14
6: aload 3
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
goto 13
StackMap locals: org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager java.lang.String java.security.Principal[] java.util.Collection javax.net.ssl.SSLSession java.lang.String[] java.lang.String org.eclipse.jetty.util.ssl.X509 top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIMatcher
astore 8
start local 8 8: aload 8
instanceof org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher
ifeq 13
9: aload 8
checkcast org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher
astore 10
start local 10 10: aload 10
invokevirtual org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.getHost:()Ljava/lang/String;
astore 6
11: aload 10
invokevirtual org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher.getX509:()Lorg/eclipse/jetty/util/ssl/X509;
astore 7
12: goto 14
end local 10 end local 8 13: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: StackMap locals: org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager java.lang.String java.security.Principal[] java.util.Collection javax.net.ssl.SSLSession java.lang.String[] java.lang.String org.eclipse.jetty.util.ssl.X509
StackMap stack:
getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 16
15: getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Matched {} with {} from {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 7
aastore
dup
iconst_2
aload 5
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
16: StackMap locals:
StackMap stack:
aload 7
ifnull 25
17: aload 5
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 23
StackMap locals: org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager java.lang.String java.security.Principal[] java.util.Collection javax.net.ssl.SSLSession java.lang.String[] java.lang.String org.eclipse.jetty.util.ssl.X509 top int int java.lang.String[]
StackMap stack:
18: aload 11
iload 9
aaload
astore 8
start local 8 19: aload 8
aload 7
invokevirtual org.eclipse.jetty.util.ssl.X509.getAlias:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 4
ldc "org.eclipse.jetty.util.ssl.snix509"
aload 7
invokeinterface javax.net.ssl.SSLSession.putValue:(Ljava/lang/String;Ljava/lang/Object;)V
21: aload 8
areturn
end local 8 22: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
23: iload 9
iload 10
if_icmplt 18
24: aconst_null
areturn
25: StackMap locals: org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager java.lang.String java.security.Principal[] java.util.Collection javax.net.ssl.SSLSession java.lang.String[] java.lang.String org.eclipse.jetty.util.ssl.X509
StackMap stack:
ldc "no_matchers"
areturn
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 26 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 26 1 keyType Ljava/lang/String;
0 26 2 issuers [Ljava/security/Principal;
0 26 3 matchers Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;
0 26 4 session Ljavax/net/ssl/SSLSession;
1 26 5 aliases [Ljava/lang/String;
4 26 6 host Ljava/lang/String;
5 26 7 x509 Lorg/eclipse/jetty/util/ssl/X509;
8 13 8 m Ljavax/net/ssl/SNIMatcher;
10 13 10 matcher Lorg/eclipse/jetty/util/ssl/SslContextFactory$AliasSNIMatcher;
19 22 8 a Ljava/lang/String;
Signature: (Ljava/lang/String;[Ljava/security/Principal;Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
MethodParameters:
Name Flags
keyType
issuers
matchers
session
public java.lang.String chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket);
descriptor: (Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
checkcast javax.net.ssl.SSLSocket
astore 4
start local 4 1: aload 3
ifnonnull 2
ldc "no_matchers"
goto 3
StackMap locals: javax.net.ssl.SSLSocket
StackMap stack:
2: aload 0
aload 1
aload 2
aload 4
invokevirtual javax.net.ssl.SSLSocket.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
invokevirtual javax.net.ssl.SSLParameters.getSNIMatchers:()Ljava/util/Collection;
aload 4
invokevirtual javax.net.ssl.SSLSocket.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
invokevirtual org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseServerAlias:(Ljava/lang/String;[Ljava/security/Principal;Ljava/util/Collection;Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 5
start local 5 4: aload 5
ldc "no_matchers"
if_acmpne 6
5: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.X509ExtendedKeyManager.chooseServerAlias:(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String;
astore 5
6: StackMap locals: java.lang.String
StackMap stack:
getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Chose alias {}/{} on {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 3
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 5
areturn
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 9 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 9 1 keyType Ljava/lang/String;
0 9 2 issuers [Ljava/security/Principal;
0 9 3 socket Ljava/net/Socket;
1 9 4 sslSocket Ljavax/net/ssl/SSLSocket;
4 9 5 alias Ljava/lang/String;
MethodParameters:
Name Flags
keyType
issuers
socket
public java.lang.String chooseEngineServerAlias(java.lang.String, java.security.Principal[], javax.net.ssl.SSLEngine);
descriptor: (Ljava/lang/String;[Ljava/security/Principal;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
ldc "no_matchers"
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.SSLEngine.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
invokevirtual javax.net.ssl.SSLParameters.getSNIMatchers:()Ljava/util/Collection;
aload 3
invokevirtual javax.net.ssl.SSLEngine.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
invokevirtual org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.chooseServerAlias:(Ljava/lang/String;[Ljava/security/Principal;Ljava/util/Collection;Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 4
start local 4 3: aload 4
ldc "no_matchers"
if_acmpne 5
4: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.X509ExtendedKeyManager.chooseEngineServerAlias:(Ljava/lang/String;[Ljava/security/Principal;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;
astore 4
5: StackMap locals: java.lang.String
StackMap stack:
getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 7
6: getstatic org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager.LOG:Lorg/eclipse/jetty/util/log/Logger;
ldc "Chose alias {}/{} on {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 3
aastore
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 8 1 keyType Ljava/lang/String;
0 8 2 issuers [Ljava/security/Principal;
0 8 3 engine Ljavax/net/ssl/SSLEngine;
3 8 4 alias Ljava/lang/String;
MethodParameters:
Name Flags
keyType
issuers
engine
public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
invokevirtual javax.net.ssl.X509ExtendedKeyManager.getCertificateChain:(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 alias Ljava/lang/String;
MethodParameters:
Name Flags
alias
public java.lang.String[] getClientAliases(java.lang.String, java.security.Principal[]);
descriptor: (Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
invokevirtual javax.net.ssl.X509ExtendedKeyManager.getClientAliases:(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 keyType Ljava/lang/String;
0 1 2 issuers [Ljava/security/Principal;
MethodParameters:
Name Flags
keyType
issuers
public java.security.PrivateKey getPrivateKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/PrivateKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
invokevirtual javax.net.ssl.X509ExtendedKeyManager.getPrivateKey:(Ljava/lang/String;)Ljava/security/PrivateKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 alias Ljava/lang/String;
MethodParameters:
Name Flags
alias
public java.lang.String[] getServerAliases(java.lang.String, java.security.Principal[]);
descriptor: (Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.jetty.util.ssl.SniX509ExtendedKeyManager._delegate:Ljavax/net/ssl/X509ExtendedKeyManager;
aload 1
aload 2
invokevirtual javax.net.ssl.X509ExtendedKeyManager.getServerAliases:(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/ssl/SniX509ExtendedKeyManager;
0 1 1 keyType Ljava/lang/String;
0 1 2 issuers [Ljava/security/Principal;
MethodParameters:
Name Flags
keyType
issuers
}
SourceFile: "SniX509ExtendedKeyManager.java"
InnerClasses:
AliasSNIMatcher = org.eclipse.jetty.util.ssl.SslContextFactory$AliasSNIMatcher of org.eclipse.jetty.util.ssl.SslContextFactory