public final class okhttp3.Handshake
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: okhttp3.Handshake
super_class: java.lang.Object
{
private final okhttp3.TlsVersion tlsVersion;
descriptor: Lokhttp3/TlsVersion;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final okhttp3.CipherSuite cipherSuite;
descriptor: Lokhttp3/CipherSuite;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.security.cert.Certificate> peerCertificates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/security/cert/Certificate;>;
private final java.util.List<java.security.cert.Certificate> localCertificates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/security/cert/Certificate;>;
private void <init>(okhttp3.TlsVersion, okhttp3.CipherSuite, java.util.List<java.security.cert.Certificate>, java.util.List<java.security.cert.Certificate>);
descriptor: (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield okhttp3.Handshake.tlsVersion:Lokhttp3/TlsVersion;
2: aload 0
aload 2
putfield okhttp3.Handshake.cipherSuite:Lokhttp3/CipherSuite;
3: aload 0
aload 3
putfield okhttp3.Handshake.peerCertificates:Ljava/util/List;
4: aload 0
aload 4
putfield okhttp3.Handshake.localCertificates:Ljava/util/List;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lokhttp3/Handshake;
0 6 1 tlsVersion Lokhttp3/TlsVersion;
0 6 2 cipherSuite Lokhttp3/CipherSuite;
0 6 3 peerCertificates Ljava/util/List<Ljava/security/cert/Certificate;>;
0 6 4 localCertificates Ljava/util/List<Ljava/security/cert/Certificate;>;
Signature: (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List<Ljava/security/cert/Certificate;>;Ljava/util/List<Ljava/security/cert/Certificate;>;)V
MethodParameters:
Name Flags
tlsVersion
cipherSuite
peerCertificates
localCertificates
public static okhttp3.Handshake get(javax.net.ssl.SSLSession);
descriptor: (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
invokeinterface javax.net.ssl.SSLSession.getCipherSuite:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 2
new java.lang.IllegalStateException
dup
ldc "cipherSuite == null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals: java.lang.String
StackMap stack:
ldc "SSL_NULL_WITH_NULL_NULL"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new java.io.IOException
dup
ldc "cipherSuite == SSL_NULL_WITH_NULL_NULL"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokestatic okhttp3.CipherSuite.forJavaName:(Ljava/lang/String;)Lokhttp3/CipherSuite;
astore 2
start local 2 5: aload 0
invokeinterface javax.net.ssl.SSLSession.getProtocol:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ifnonnull 7
new java.lang.IllegalStateException
dup
ldc "tlsVersion == null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: okhttp3.CipherSuite java.lang.String
StackMap stack:
ldc "NONE"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
new java.io.IOException
dup
ldc "tlsVersion == NONE"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 3
invokestatic okhttp3.TlsVersion.forJavaName:(Ljava/lang/String;)Lokhttp3/TlsVersion;
astore 4
start local 4 9: aload 0
invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
astore 5
start local 5 10: goto 13
end local 5 StackMap locals: javax.net.ssl.SSLSession java.lang.String okhttp3.CipherSuite java.lang.String okhttp3.TlsVersion
StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
11: pop
12: aconst_null
astore 5
start local 5 13: StackMap locals: java.security.cert.Certificate[]
StackMap stack:
aload 5
ifnull 15
14: aload 5
invokestatic okhttp3.internal.Util.immutableList:([Ljava/lang/Object;)Ljava/util/List;
goto 16
15: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
16: StackMap locals:
StackMap stack: java.util.List
astore 6
start local 6 17: aload 0
invokeinterface javax.net.ssl.SSLSession.getLocalCertificates:()[Ljava/security/cert/Certificate;
astore 7
start local 7 18: aload 7
ifnull 20
19: aload 7
invokestatic okhttp3.internal.Util.immutableList:([Ljava/lang/Object;)Ljava/util/List;
goto 21
20: StackMap locals: java.util.List java.security.cert.Certificate[]
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
21: StackMap locals:
StackMap stack: java.util.List
astore 8
start local 8 22: new okhttp3.Handshake
dup
aload 4
aload 2
aload 6
aload 8
invokespecial okhttp3.Handshake.<init>:(Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)V
areturn
end local 8 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 23 0 session Ljavax/net/ssl/SSLSession;
1 23 1 cipherSuiteString Ljava/lang/String;
5 23 2 cipherSuite Lokhttp3/CipherSuite;
6 23 3 tlsVersionString Ljava/lang/String;
9 23 4 tlsVersion Lokhttp3/TlsVersion;
10 11 5 peerCertificates [Ljava/security/cert/Certificate;
13 23 5 peerCertificates [Ljava/security/cert/Certificate;
17 23 6 peerCertificatesList Ljava/util/List<Ljava/security/cert/Certificate;>;
18 23 7 localCertificates [Ljava/security/cert/Certificate;
22 23 8 localCertificatesList Ljava/util/List<Ljava/security/cert/Certificate;>;
Exception table:
from to target type
9 10 11 Class javax.net.ssl.SSLPeerUnverifiedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
session
public static okhttp3.Handshake get(okhttp3.TlsVersion, okhttp3.CipherSuite, java.util.List<java.security.cert.Certificate>, java.util.List<java.security.cert.Certificate>);
descriptor: (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 1
new java.lang.NullPointerException
dup
ldc "tlsVersion == null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
new java.lang.NullPointerException
dup
ldc "cipherSuite == null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new okhttp3.Handshake
dup
aload 0
aload 1
aload 2
invokestatic okhttp3.internal.Util.immutableList:(Ljava/util/List;)Ljava/util/List;
3: aload 3
invokestatic okhttp3.internal.Util.immutableList:(Ljava/util/List;)Ljava/util/List;
4: invokespecial okhttp3.Handshake.<init>:(Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 tlsVersion Lokhttp3/TlsVersion;
0 5 1 cipherSuite Lokhttp3/CipherSuite;
0 5 2 peerCertificates Ljava/util/List<Ljava/security/cert/Certificate;>;
0 5 3 localCertificates Ljava/util/List<Ljava/security/cert/Certificate;>;
Signature: (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List<Ljava/security/cert/Certificate;>;Ljava/util/List<Ljava/security/cert/Certificate;>;)Lokhttp3/Handshake;
MethodParameters:
Name Flags
tlsVersion
cipherSuite
peerCertificates
localCertificates
public okhttp3.TlsVersion tlsVersion();
descriptor: ()Lokhttp3/TlsVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.Handshake.tlsVersion:Lokhttp3/TlsVersion;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
public okhttp3.CipherSuite cipherSuite();
descriptor: ()Lokhttp3/CipherSuite;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.Handshake.cipherSuite:Lokhttp3/CipherSuite;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
public java.util.List<java.security.cert.Certificate> peerCertificates();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.Handshake.peerCertificates:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
Signature: ()Ljava/util/List<Ljava/security/cert/Certificate;>;
public java.security.Principal peerPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNullable cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
RuntimeInvisibleAnnotations:
Nullable()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
Nullable()
public java.util.List<java.security.cert.Certificate> localCertificates();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.Handshake.localCertificates:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
Signature: ()Ljava/util/List<Ljava/security/cert/Certificate;>;
public java.security.Principal localPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNullable cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
RuntimeInvisibleAnnotations:
Nullable()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
Nullable()
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNullable cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/Handshake;
RuntimeInvisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
Nullable()
RuntimeInvisibleParameterAnnotations:
0:
Nullable()
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield okhttp3.Handshake.tlsVersion:Lokhttp3/TlsVersion;
invokevirtual okhttp3.TlsVersion.hashCode:()I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield okhttp3.Handshake.cipherSuite:Lokhttp3/CipherSuite;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield okhttp3.Handshake.peerCertificates:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield okhttp3.Handshake.localCertificates:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lokhttp3/Handshake;
1 6 1 result I
}
SourceFile: "Handshake.java"