final class org.springframework.http.server.reactive.DefaultSslInfo implements org.springframework.http.server.reactive.SslInfo
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.server.reactive.DefaultSslInfo
super_class: java.lang.Object
{
private final java.lang.String sessionId;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.security.cert.X509Certificate[] peerCertificates;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
void <init>(java.lang.String, java.security.cert.X509Certificate[]);
descriptor: (Ljava/lang/String;[Ljava/security/cert/X509Certificate;)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 2
ldc "No SSL certificates"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.http.server.reactive.DefaultSslInfo.sessionId:Ljava/lang/String;
3: aload 0
aload 2
putfield org.springframework.http.server.reactive.DefaultSslInfo.peerCertificates:[Ljava/security/cert/X509Certificate;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/DefaultSslInfo;
0 5 1 sessionId Ljava/lang/String;
0 5 2 peerCertificates [Ljava/security/cert/X509Certificate;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
sessionId
peerCertificates
void <init>(javax.net.ssl.SSLSession);
descriptor: (Ljavax/net/ssl/SSLSession;)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 1
ldc "SSLSession is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
invokestatic org.springframework.http.server.reactive.DefaultSslInfo.initSessionId:(Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
putfield org.springframework.http.server.reactive.DefaultSslInfo.sessionId:Ljava/lang/String;
3: aload 0
aload 1
invokestatic org.springframework.http.server.reactive.DefaultSslInfo.initCertificates:(Ljavax/net/ssl/SSLSession;)[Ljava/security/cert/X509Certificate;
putfield org.springframework.http.server.reactive.DefaultSslInfo.peerCertificates:[Ljava/security/cert/X509Certificate;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/server/reactive/DefaultSslInfo;
0 5 1 session Ljavax/net/ssl/SSLSession;
MethodParameters:
Name Flags
session
public java.lang.String getSessionId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.DefaultSslInfo.sessionId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/DefaultSslInfo;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public java.security.cert.X509Certificate[] getPeerCertificates();
descriptor: ()[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.server.reactive.DefaultSslInfo.peerCertificates:[Ljava/security/cert/X509Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/server/reactive/DefaultSslInfo;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private static java.lang.String initSessionId(javax.net.ssl.SSLSession);
descriptor: (Ljavax/net/ssl/SSLSession;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
invokeinterface javax.net.ssl.SSLSession.getId:()[B
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: byte[]
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 4: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 13
StackMap locals: javax.net.ssl.SSLSession byte[] java.lang.StringBuilder top int int byte[]
StackMap stack:
5: aload 6
iload 4
baload
istore 3
start local 3 6: iload 3
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 7
start local 7 7: aload 7
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpge 9
8: aload 2
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: StackMap locals: javax.net.ssl.SSLSession byte[] java.lang.StringBuilder int int int byte[] java.lang.String
StackMap stack:
aload 7
invokevirtual java.lang.String.length:()I
iconst_2
if_icmple 11
10: aload 7
aload 7
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
11: StackMap locals:
StackMap stack:
aload 2
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 end local 3 12: iinc 4 1
StackMap locals: javax.net.ssl.SSLSession byte[] java.lang.StringBuilder top int int byte[]
StackMap stack:
13: iload 4
iload 5
if_icmplt 5
14: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 session Ljavax/net/ssl/SSLSession;
1 15 1 bytes [B
4 15 2 sb Ljava/lang/StringBuilder;
6 12 3 b B
7 12 7 digit Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
session
private static java.security.cert.X509Certificate[] initCertificates(javax.net.ssl.SSLSession);
descriptor: (Ljavax/net/ssl/SSLSession;)[Ljava/security/cert/X509Certificate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
astore 1
start local 1 1: goto 4
end local 1 2: StackMap locals:
StackMap stack: java.lang.Throwable
pop
3: aconst_null
areturn
start local 1 4: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
new java.util.ArrayList
dup
aload 1
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 5: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: javax.net.ssl.SSLSession java.security.cert.Certificate[] java.util.List top int int java.security.cert.Certificate[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
instanceof java.security.cert.X509Certificate
ifeq 9
8: aload 2
aload 3
checkcast java.security.cert.X509Certificate
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 6
11: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 12
aload 2
iconst_0
anewarray java.security.cert.X509Certificate
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
goto 13
StackMap locals: javax.net.ssl.SSLSession java.security.cert.Certificate[] java.util.List
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: java.security.cert.X509Certificate[]
13: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 session Ljavax/net/ssl/SSLSession;
1 2 1 certificates [Ljava/security/cert/Certificate;
4 14 1 certificates [Ljava/security/cert/Certificate;
5 14 2 result Ljava/util/List<Ljava/security/cert/X509Certificate;>;
7 9 3 certificate Ljava/security/cert/Certificate;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
session
}
SourceFile: "DefaultSslInfo.java"