final class sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer this
0: .line 208
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 210
return
end local 0 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/KrbClientKeyExchange$KrbClientKeyExchangeProducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 216
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 218
aconst_null
astore 4 /* kerberosMsg */
start local 4 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage kerberosMsg
2: .line 219
aconst_null
astore 5 /* hostName */
start local 5 // java.lang.String hostName
3: .line 220
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
ifnull 17
4: .line 221
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
invokevirtual javax.net.ssl.SNIServerName.getType:()I
ifne 18
5: .line 223
aconst_null
astore 6 /* sniHostName */
start local 6 // javax.net.ssl.SNIHostName sniHostName
6: .line 224
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
instanceof javax.net.ssl.SNIHostName
ifeq 9
7: .line 225
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
checkcast javax.net.ssl.SNIHostName
astore 6 /* sniHostName */
8: .line 226
goto 14
9: .line 228
StackMap locals: sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage java.lang.String javax.net.ssl.SNIHostName
StackMap stack:
new javax.net.ssl.SNIHostName
dup
10: .line 229
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
invokevirtual javax.net.ssl.SNIServerName.getEncoded:()[B
11: .line 228
invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
astore 6 /* sniHostName */
12: .line 230
goto 14
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
13: pop
14: .line 234
StackMap locals:
StackMap stack:
aload 6 /* sniHostName */
ifnull 18
15: .line 235
aload 6 /* sniHostName */
invokevirtual javax.net.ssl.SNIHostName.getAsciiName:()Ljava/lang/String;
astore 5 /* hostName */
end local 6 // javax.net.ssl.SNIHostName sniHostName
16: .line 237
goto 18
17: .line 238
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
invokevirtual sun.security.ssl.SSLSessionImpl.getPeerHost:()Ljava/lang/String;
astore 5 /* hostName */
18: .line 243
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
19: .line 244
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.getSecureRandom:()Ljava/security/SecureRandom;
20: .line 242
invokestatic sun.security.ssl.KrbKeyExchange$KrbPremasterSecret.createPremasterSecret:(Lsun/security/ssl/ProtocolVersion;Ljava/security/SecureRandom;)Lsun/security/ssl/KrbKeyExchange$KrbPremasterSecret;
21: .line 241
astore 6 /* premasterSecret */
start local 6 // sun.security.ssl.KrbKeyExchange$KrbPremasterSecret premasterSecret
22: .line 245
new sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage
dup
aload 3 /* chc */
23: .line 246
aload 6 /* premasterSecret */
getfield sun.security.ssl.KrbKeyExchange$KrbPremasterSecret.preMaster:[B
aload 5 /* hostName */
24: .line 247
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getfield sun.security.ssl.TransportContext.acc:Ljava/security/AccessControlContext;
25: .line 245
invokespecial sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage.<init>:(Lsun/security/ssl/HandshakeContext;[BLjava/lang/String;Ljava/security/AccessControlContext;)V
astore 4 /* kerberosMsg */
26: .line 248
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakePossessions:Ljava/util/List;
aload 6 /* premasterSecret */
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 // sun.security.ssl.KrbKeyExchange$KrbPremasterSecret premasterSecret
27: .line 249
goto 38
StackMap locals:
StackMap stack: java.io.IOException
28: astore 6 /* e */
start local 6 // java.io.IOException e
29: .line 250
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 35
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 35
30: .line 252
new java.lang.StringBuilder
dup
ldc "Error generating KRB premaster secret. Hostname: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
31: .line 253
aload 5 /* hostName */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - Negotiated"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: .line 254
ldc " server name: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
33: .line 252
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
34: .line 251
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
35: .line 256
StackMap locals: java.io.IOException
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
36: .line 257
ldc "Cannot generate KRB premaster secret"
aload 6 /* e */
37: .line 256
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 // java.io.IOException e
38: .line 259
StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 42
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 42
39: .line 261
ldc "Produced KRB5 ClientKeyExchange handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
40: .line 262
aload 4 /* kerberosMsg */
aastore
41: .line 260
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
42: .line 266
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
aload 4 /* kerberosMsg */
invokevirtual sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage.getPeerPrincipal:()Ljava/security/Principal;
invokevirtual sun.security.ssl.SSLSessionImpl.setPeerPrincipal:(Ljava/security/Principal;)V
43: .line 267
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
aload 4 /* kerberosMsg */
invokevirtual sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage.getLocalPrincipal:()Ljava/security/Principal;
invokevirtual sun.security.ssl.SSLSessionImpl.setLocalPrincipal:(Ljava/security/Principal;)V
44: .line 270
aload 4 /* kerberosMsg */
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeOutput:Lsun/security/ssl/HandshakeOutStream;
invokevirtual sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage.write:(Lsun/security/ssl/HandshakeOutStream;)V
45: .line 271
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeOutput:Lsun/security/ssl/HandshakeOutStream;
invokevirtual sun.security.ssl.HandshakeOutStream.flush:()V
46: .line 275
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.keyExchange:Lsun/security/ssl/CipherSuite$KeyExchange;
47: .line 276
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
48: .line 274
invokestatic sun.security.ssl.SSLKeyExchange.valueOf:(Lsun/security/ssl/CipherSuite$KeyExchange;Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLKeyExchange;
astore 6 /* ke */
start local 6 // sun.security.ssl.SSLKeyExchange ke
49: .line 277
aload 6 /* ke */
ifnonnull 53
50: .line 279
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
51: .line 280
ldc "Not supported key exchange type"
52: .line 279
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
53: .line 282
StackMap locals: sun.security.ssl.SSLKeyExchange
StackMap stack:
aload 6 /* ke */
aload 3 /* chc */
invokevirtual sun.security.ssl.SSLKeyExchange.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;)Lsun/security/ssl/SSLKeyDerivation;
astore 7 /* masterKD */
start local 7 // sun.security.ssl.SSLKeyDerivation masterKD
54: .line 284
aload 7 /* masterKD */
ldc "MasterSecret"
aconst_null
invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
55: .line 283
astore 8 /* masterSecret */
start local 8 // javax.crypto.SecretKey masterSecret
56: .line 286
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeSession:Lsun/security/ssl/SSLSessionImpl;
aload 8 /* masterSecret */
invokevirtual sun.security.ssl.SSLSessionImpl.setMasterSecret:(Ljavax/crypto/SecretKey;)V
57: .line 289
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.SSLTrafficKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLTrafficKeyDerivation;
58: .line 288
astore 9 /* kd */
start local 9 // sun.security.ssl.SSLTrafficKeyDerivation kd
59: .line 290
aload 9 /* kd */
ifnonnull 65
60: .line 292
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
61: .line 293
new java.lang.StringBuilder
dup
ldc "Not supported key derivation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
62: .line 294
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
63: .line 293
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
64: .line 292
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
65: .line 296
StackMap locals: sun.security.ssl.SSLKeyDerivation javax.crypto.SecretKey sun.security.ssl.SSLTrafficKeyDerivation
StackMap stack:
aload 3 /* chc */
66: .line 297
aload 9 /* kd */
aload 3 /* chc */
aload 8 /* masterSecret */
invokevirtual sun.security.ssl.SSLTrafficKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
67: .line 296
putfield sun.security.ssl.ClientHandshakeContext.handshakeKeyDerivation:Lsun/security/ssl/SSLKeyDerivation;
end local 9 // sun.security.ssl.SSLTrafficKeyDerivation kd
end local 8 // javax.crypto.SecretKey masterSecret
end local 7 // sun.security.ssl.SSLKeyDerivation masterKD
68: .line 302
aconst_null
areturn
end local 6 // sun.security.ssl.SSLKeyExchange ke
end local 5 // java.lang.String hostName
end local 4 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage kerberosMsg
end local 3 // sun.security.ssl.ClientHandshakeContext chc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer this
LocalVariableTable:
Start End Slot Name Signature
0 69 0 this Lsun/security/ssl/KrbClientKeyExchange$KrbClientKeyExchangeProducer;
0 69 1 context Lsun/security/ssl/ConnectionContext;
0 69 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 69 3 chc Lsun/security/ssl/ClientHandshakeContext;
2 69 4 kerberosMsg Lsun/security/ssl/KrbClientKeyExchange$KrbClientKeyExchangeMessage;
3 69 5 hostName Ljava/lang/String;
6 16 6 sniHostName Ljavax/net/ssl/SNIHostName;
22 27 6 premasterSecret Lsun/security/ssl/KrbKeyExchange$KrbPremasterSecret;
29 38 6 e Ljava/io/IOException;
49 69 6 ke Lsun/security/ssl/SSLKeyExchange;
54 68 7 masterKD Lsun/security/ssl/SSLKeyDerivation;
56 68 8 masterSecret Ljavax/crypto/SecretKey;
59 68 9 kd Lsun/security/ssl/SSLTrafficKeyDerivation;
Exception table:
from to target type
9 12 13 Class java.lang.IllegalArgumentException
18 27 28 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "KrbClientKeyExchange.java"
NestHost: sun.security.ssl.KrbClientKeyExchange
InnerClasses:
final KeyExchange = sun.security.ssl.CipherSuite$KeyExchange of sun.security.ssl.CipherSuite
private final KrbClientKeyExchangeMessage = sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeMessage of sun.security.ssl.KrbClientKeyExchange
private final KrbClientKeyExchangeProducer = sun.security.ssl.KrbClientKeyExchange$KrbClientKeyExchangeProducer of sun.security.ssl.KrbClientKeyExchange
final KrbPremasterSecret = sun.security.ssl.KrbKeyExchange$KrbPremasterSecret of sun.security.ssl.KrbKeyExchange
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake