final class io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback implements io.netty.internal.tcnative.CertificateRequestedCallback
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback
super_class: java.lang.Object
{
private final io.netty.handler.ssl.OpenSslEngineMap engineMap;
descriptor: Lio/netty/handler/ssl/OpenSslEngineMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.netty.handler.ssl.OpenSslKeyMaterialManager keyManagerHolder;
descriptor: Lio/netty/handler/ssl/OpenSslKeyMaterialManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.netty.handler.ssl.OpenSslEngineMap, io.netty.handler.ssl.OpenSslKeyMaterialManager);
descriptor: (Lio/netty/handler/ssl/OpenSslEngineMap;Lio/netty/handler/ssl/OpenSslKeyMaterialManager;)V
flags: (0x0000)
Code:
stack=2, 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 io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.engineMap:Lio/netty/handler/ssl/OpenSslEngineMap;
2: aload 0
aload 2
putfield io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.keyManagerHolder:Lio/netty/handler/ssl/OpenSslKeyMaterialManager;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/ssl/ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback;
0 4 1 engineMap Lio/netty/handler/ssl/OpenSslEngineMap;
0 4 2 keyManagerHolder Lio/netty/handler/ssl/OpenSslKeyMaterialManager;
MethodParameters:
Name Flags
engineMap
keyManagerHolder
public io.netty.internal.tcnative.CertificateRequestedCallback$KeyMaterial requested(long, byte[], byte[][]);
descriptor: (J[B[[B)Lio/netty/internal/tcnative/CertificateRequestedCallback$KeyMaterial;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
getfield io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.engineMap:Lio/netty/handler/ssl/OpenSslEngineMap;
lload 1
invokeinterface io.netty.handler.ssl.OpenSslEngineMap.get:(J)Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;
astore 5
start local 5 1: aload 3
invokestatic io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.supportedClientKeyTypes:([B)Ljava/util/Set;
astore 6
start local 6 2: aload 6
aload 6
invokeinterface java.util.Set.size:()I
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 7
start local 7 3: aload 4
ifnonnull 6
4: aconst_null
astore 8
start local 8 5: goto 12
end local 8 6: StackMap locals: io.netty.handler.ssl.ReferenceCountedOpenSslEngine java.util.Set java.lang.String[]
StackMap stack:
aload 4
arraylength
anewarray javax.security.auth.x500.X500Principal
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: goto 11
9: StackMap locals: javax.security.auth.x500.X500Principal[] int
StackMap stack:
aload 8
iload 9
new javax.security.auth.x500.X500Principal
dup
aload 4
iload 9
aaload
invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
aastore
10: iinc 9 1
StackMap locals:
StackMap stack:
11: iload 9
aload 4
arraylength
if_icmplt 9
end local 9 12: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.keyManagerHolder:Lio/netty/handler/ssl/OpenSslKeyMaterialManager;
aload 5
aload 7
aload 8
invokevirtual io.netty.handler.ssl.OpenSslKeyMaterialManager.keyMaterial:(Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;[Ljava/lang/String;[Ljavax/security/auth/x500/X500Principal;)Lio/netty/internal/tcnative/CertificateRequestedCallback$KeyMaterial;
13: areturn
end local 8 end local 7 end local 6 14: StackMap locals: io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback long byte[] byte[][] io.netty.handler.ssl.ReferenceCountedOpenSslEngine
StackMap stack: java.lang.Throwable
astore 6
start local 6 15: getstatic io.netty.handler.ssl.ReferenceCountedOpenSslClientContext.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "request of key failed"
aload 6
invokeinterface io.netty.util.internal.logging.InternalLogger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
16: new javax.net.ssl.SSLHandshakeException
dup
ldc "General OpenSslEngine problem"
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
astore 7
start local 7 17: aload 7
aload 6
invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
18: aload 5
aload 7
putfield io.netty.handler.ssl.ReferenceCountedOpenSslEngine.handshakeException:Ljavax/net/ssl/SSLHandshakeException;
19: aconst_null
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/netty/handler/ssl/ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback;
0 20 1 ssl J
0 20 3 keyTypeBytes [B
0 20 4 asn1DerEncodedPrincipals [[B
1 20 5 engine Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;
2 14 6 keyTypesSet Ljava/util/Set<Ljava/lang/String;>;
3 14 7 keyTypes [Ljava/lang/String;
5 6 8 issuers [Ljavax/security/auth/x500/X500Principal;
7 14 8 issuers [Ljavax/security/auth/x500/X500Principal;
8 12 9 i I
15 20 6 cause Ljava/lang/Throwable;
17 20 7 e Ljavax/net/ssl/SSLHandshakeException;
Exception table:
from to target type
1 13 14 Class java.lang.Throwable
MethodParameters:
Name Flags
ssl
keyTypeBytes
asn1DerEncodedPrincipals
private static java.util.Set<java.lang.String> supportedClientKeyTypes(byte[]);
descriptor: ([B)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
arraylength
invokespecial java.util.HashSet.<init>:(I)V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: byte[] java.util.Set top int int byte[]
StackMap stack:
2: aload 5
iload 3
baload
istore 2
start local 2 3: iload 2
invokestatic io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback.clientKeyType:(B)Ljava/lang/String;
astore 6
start local 6 4: aload 6
ifnonnull 6
5: goto 7
6: StackMap locals: byte[] java.util.Set int int int byte[] java.lang.String
StackMap stack:
aload 1
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 7: StackMap locals: byte[] java.util.Set top int int byte[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 2
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 clientCertificateTypes [B
1 10 1 result Ljava/util/Set<Ljava/lang/String;>;
3 7 2 keyTypeCode B
4 7 6 keyType Ljava/lang/String;
Signature: ([B)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
clientCertificateTypes
private static java.lang.String clientKeyType(byte);
descriptor: (B)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 5
1: 1
3: 2
64: 3
65: 4
66: 5
default: 6
}
1: StackMap locals:
StackMap stack:
ldc "RSA"
areturn
2: StackMap locals:
StackMap stack:
ldc "DH_RSA"
areturn
3: StackMap locals:
StackMap stack:
ldc "EC"
areturn
4: StackMap locals:
StackMap stack:
ldc "EC_RSA"
areturn
5: StackMap locals:
StackMap stack:
ldc "EC_EC"
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 clientCertificateType B
MethodParameters:
Name Flags
clientCertificateType
}
SourceFile: "ReferenceCountedOpenSslClientContext.java"
NestHost: io.netty.handler.ssl.ReferenceCountedOpenSslClientContext
InnerClasses:
private final OpenSslCertificateRequestedCallback = io.netty.handler.ssl.ReferenceCountedOpenSslClientContext$OpenSslCertificateRequestedCallback of io.netty.handler.ssl.ReferenceCountedOpenSslClientContext
public KeyMaterial = io.netty.internal.tcnative.CertificateRequestedCallback$KeyMaterial of io.netty.internal.tcnative.CertificateRequestedCallback