final class sun.security.ssl.krb5.KerberosPreMasterSecret
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.krb5.KerberosPreMasterSecret
super_class: java.lang.Object
{
private sun.security.ssl.ProtocolVersion protocolVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0002) ACC_PRIVATE
private byte[] preMaster;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] encrypted;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(sun.security.ssl.ProtocolVersion, java.security.SecureRandom, sun.security.krb5.EncryptionKey);
descriptor: (Lsun/security/ssl/ProtocolVersion;Ljava/security/SecureRandom;Lsun/security/krb5/EncryptionKey;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 3
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
2: bipush 16
3: if_icmpne 7
4: new java.io.IOException
dup
5: ldc "session keys with des3-cbc-hmac-sha1-kd encryption type are not supported for TLS Kerberos cipher suites"
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: sun.security.ssl.krb5.KerberosPreMasterSecret sun.security.ssl.ProtocolVersion java.security.SecureRandom sun.security.krb5.EncryptionKey
StackMap stack:
aload 0
aload 1
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
8: aload 0
aload 2
aload 1
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.generatePreMaster:(Ljava/security/SecureRandom;Lsun/security/ssl/ProtocolVersion;)[B
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
9: new sun.security.krb5.EncryptedData
dup
aload 3
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
10: iconst_0
11: invokespecial sun.security.krb5.EncryptedData.<init>:(Lsun/security/krb5/EncryptionKey;[BI)V
astore 4
start local 4 12: aload 0
aload 4
invokevirtual sun.security.krb5.EncryptedData.getBytes:()[B
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
end local 4 13: goto 20
StackMap locals:
StackMap stack: sun.security.krb5.KrbException
14: astore 4
start local 4 15: new javax.net.ssl.SSLKeyException
dup
16: ldc "Kerberos premaster secret error"
17: invokespecial javax.net.ssl.SSLKeyException.<init>:(Ljava/lang/String;)V
18: aload 4
invokevirtual javax.net.ssl.SSLKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
19: checkcast javax.net.ssl.SSLKeyException
athrow
end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/ssl/krb5/KerberosPreMasterSecret;
0 21 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 21 2 generator Ljava/security/SecureRandom;
0 21 3 sessionKey Lsun/security/krb5/EncryptionKey;
12 13 4 eData Lsun/security/krb5/EncryptedData;
15 20 4 e Lsun/security/krb5/KrbException;
Exception table:
from to target type
9 13 14 Class sun.security.krb5.KrbException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
protocolVersion
generator
sessionKey
void <init>(sun.security.ssl.ProtocolVersion, sun.security.ssl.ProtocolVersion, java.security.SecureRandom, sun.security.ssl.HandshakeInStream, sun.security.krb5.EncryptionKey);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/ProtocolVersion;Ljava/security/SecureRandom;Lsun/security/ssl/HandshakeInStream;Lsun/security/krb5/EncryptionKey;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 4
invokevirtual sun.security.ssl.HandshakeInStream.getBytes16:()[B
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
2: getstatic sun.security.ssl.HandshakeMessage.debug:Lsun/security/ssl/Debug;
ifnull 7
ldc "handshake"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 7
3: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
ifnull 7
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
5: ldc "encrypted premaster secret"
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
6: invokestatic sun.security.ssl.Debug.println:(Ljava/io/PrintStream;Ljava/lang/String;[B)V
7: StackMap locals: sun.security.ssl.krb5.KerberosPreMasterSecret sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion java.security.SecureRandom sun.security.ssl.HandshakeInStream sun.security.krb5.EncryptionKey
StackMap stack:
aload 5
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
8: bipush 16
9: if_icmpne 13
10: new java.io.IOException
dup
11: ldc "session keys with des3-cbc-hmac-sha1-kd encryption type are not supported for TLS Kerberos cipher suites"
12: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
new sun.security.krb5.EncryptedData
dup
aload 5
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
14: aconst_null
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
15: invokespecial sun.security.krb5.EncryptedData.<init>:(ILjava/lang/Integer;[B)V
astore 6
start local 6 16: aload 6
aload 5
iconst_0
invokevirtual sun.security.krb5.EncryptedData.decrypt:(Lsun/security/krb5/EncryptionKey;I)[B
astore 7
start local 7 17: getstatic sun.security.ssl.HandshakeMessage.debug:Lsun/security/ssl/Debug;
ifnull 22
ldc "handshake"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 22
18: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
ifnull 22
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
20: ldc "decrypted premaster secret"
aload 7
21: invokestatic sun.security.ssl.Debug.println:(Ljava/io/PrintStream;Ljava/lang/String;[B)V
22: StackMap locals: sun.security.krb5.EncryptedData byte[]
StackMap stack:
aload 7
arraylength
bipush 52
if_icmpne 28
23: aload 6
invokevirtual sun.security.krb5.EncryptedData.getEType:()I
iconst_1
if_icmpne 28
24: aload 7
bipush 52
iconst_4
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.paddingByteIs:([BIB)Z
ifne 26
25: aload 7
bipush 52
iconst_0
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.paddingByteIs:([BIB)Z
ifeq 32
26: StackMap locals:
StackMap stack:
aload 7
bipush 48
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 7
27: goto 32
StackMap locals:
StackMap stack:
28: aload 7
arraylength
bipush 56
if_icmpne 32
29: aload 6
invokevirtual sun.security.krb5.EncryptedData.getEType:()I
iconst_3
if_icmpne 32
30: aload 7
bipush 56
bipush 8
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.paddingByteIs:([BIB)Z
ifeq 32
31: aload 7
bipush 48
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 7
32: StackMap locals:
StackMap stack:
aload 0
aload 7
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
33: aload 0
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
iconst_0
baload
34: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
iconst_1
baload
35: invokestatic sun.security.ssl.ProtocolVersion.valueOf:(II)Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
36: getstatic sun.security.ssl.HandshakeMessage.debug:Lsun/security/ssl/Debug;
ifnull 44
ldc "handshake"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 44
37: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Kerberos PreMasterSecret version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
38: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 end local 6 40: goto 44
StackMap locals: sun.security.ssl.krb5.KerberosPreMasterSecret sun.security.ssl.ProtocolVersion sun.security.ssl.ProtocolVersion java.security.SecureRandom sun.security.ssl.HandshakeInStream sun.security.krb5.EncryptionKey
StackMap stack: java.lang.Exception
41: pop
42: aload 0
aconst_null
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
43: aload 0
aload 1
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
44: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
aload 2
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpeq 45
iconst_1
goto 46
StackMap locals:
StackMap stack:
45: iconst_0
StackMap locals:
StackMap stack: int
46: istore 6
start local 6 47: iload 6
ifeq 51
aload 2
getfield sun.security.ssl.ProtocolVersion.v:I
sipush 769
if_icmpgt 51
48: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpeq 49
iconst_1
goto 50
StackMap locals: int
StackMap stack:
49: iconst_0
StackMap locals:
StackMap stack: int
50: istore 6
51: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
ifnull 53
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
arraylength
bipush 48
if_icmpne 53
52: iload 6
ifeq 59
53: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.HandshakeMessage.debug:Lsun/security/ssl/Debug;
ifnull 57
ldc "handshake"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 57
54: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Kerberos PreMasterSecret error, generating random secret"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
55: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
ifnull 57
56: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Invalid secret"
aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
invokestatic sun.security.ssl.Debug.println:(Ljava/io/PrintStream;Ljava/lang/String;[B)V
57: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.generatePreMaster:(Ljava/security/SecureRandom;Lsun/security/ssl/ProtocolVersion;)[B
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
58: aload 0
aload 2
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
59: StackMap locals:
StackMap stack:
return
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 60 0 this Lsun/security/ssl/krb5/KerberosPreMasterSecret;
0 60 1 currentVersion Lsun/security/ssl/ProtocolVersion;
0 60 2 clientVersion Lsun/security/ssl/ProtocolVersion;
0 60 3 generator Ljava/security/SecureRandom;
0 60 4 input Lsun/security/ssl/HandshakeInStream;
0 60 5 sessionKey Lsun/security/krb5/EncryptionKey;
16 40 6 data Lsun/security/krb5/EncryptedData;
17 40 7 temp [B
47 60 6 versionMismatch Z
Exception table:
from to target type
13 40 41 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentVersion
clientVersion
generator
input
sessionKey
private static boolean paddingByteIs(byte[], int, byte);
descriptor: ([BIB)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: bipush 48
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
baload
iload 2
if_icmpeq 3
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 1
if_icmplt 2
end local 3 5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 data [B
0 6 1 len I
0 6 2 b B
1 5 3 i I
MethodParameters:
Name Flags
data
len
b
void <init>(sun.security.ssl.ProtocolVersion, java.security.SecureRandom);
descriptor: (Lsun/security/ssl/ProtocolVersion;Ljava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=3, 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 sun.security.ssl.krb5.KerberosPreMasterSecret.protocolVersion:Lsun/security/ssl/ProtocolVersion;
2: aload 0
aload 2
aload 1
invokestatic sun.security.ssl.krb5.KerberosPreMasterSecret.generatePreMaster:(Ljava/security/SecureRandom;Lsun/security/ssl/ProtocolVersion;)[B
putfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/krb5/KerberosPreMasterSecret;
0 4 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 4 2 generator Ljava/security/SecureRandom;
MethodParameters:
Name Flags
protocolVersion
generator
private static byte[] generatePreMaster(java.security.SecureRandom, sun.security.ssl.ProtocolVersion);
descriptor: (Ljava/security/SecureRandom;Lsun/security/ssl/ProtocolVersion;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: bipush 48
newarray 8
astore 2
start local 2 1: aload 0
aload 2
invokevirtual java.security.SecureRandom.nextBytes:([B)V
2: aload 2
iconst_0
aload 1
getfield sun.security.ssl.ProtocolVersion.major:B
bastore
3: aload 2
iconst_1
aload 1
getfield sun.security.ssl.ProtocolVersion.minor:B
bastore
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 rand Ljava/security/SecureRandom;
0 5 1 ver Lsun/security/ssl/ProtocolVersion;
1 5 2 pm [B
MethodParameters:
Name Flags
rand
ver
byte[] getUnencrypted();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.preMaster:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/krb5/KerberosPreMasterSecret;
byte[] getEncrypted();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.krb5.KerberosPreMasterSecret.encrypted:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/krb5/KerberosPreMasterSecret;
}
SourceFile: "KerberosPreMasterSecret.java"