final class sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation implements sun.security.ssl.SSLKeyDerivation
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation
super_class: java.lang.Object
{
private final sun.security.ssl.HandshakeContext context;
descriptor: Lsun/security/ssl/HandshakeContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] secretBytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.HandshakeContext, byte[]);
descriptor: (Lsun/security/ssl/HandshakeContext;[B)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation this
start local 1 // sun.security.ssl.HandshakeContext context
start local 2 // byte[] secret
0: .line 225
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 227
aload 0 /* this */
aload 1 /* context */
putfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
2: .line 228
aload 0 /* this */
aload 2 /* secret */
putfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.secretBytes:[B
3: .line 229
return
end local 2 // byte[] secret
end local 1 // sun.security.ssl.HandshakeContext context
end local 0 // sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation;
0 4 1 context Lsun/security/ssl/HandshakeContext;
0 4 2 secret [B
MethodParameters:
Name Flags
context
secret
public javax.crypto.SecretKey deriveKey(java.lang.String, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 // sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation this
start local 1 // java.lang.String algorithm
start local 2 // java.security.spec.AlgorithmParameterSpec params
0: .line 235
new javax.crypto.spec.SecretKeySpec
dup
aload 0 /* this */
getfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.secretBytes:[B
1: .line 236
ldc "TlsPremasterSecret"
2: .line 235
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
astore 3 /* preMasterSecret */
start local 3 // javax.crypto.SecretKey preMasterSecret
3: .line 240
aload 0 /* this */
getfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
4: .line 239
invokestatic sun.security.ssl.SSLMasterKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLMasterKeyDerivation;
5: .line 238
astore 4 /* mskd */
start local 4 // sun.security.ssl.SSLMasterKeyDerivation mskd
6: .line 241
aload 4 /* mskd */
ifnonnull 12
7: .line 243
new javax.net.ssl.SSLHandshakeException
dup
8: .line 244
new java.lang.StringBuilder
dup
ldc "No expected master key derivation for protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: .line 245
aload 0 /* this */
getfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: .line 244
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: .line 243
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
athrow
12: .line 247
StackMap locals: javax.crypto.SecretKey sun.security.ssl.SSLMasterKeyDerivation
StackMap stack:
aload 4 /* mskd */
13: .line 248
aload 0 /* this */
getfield sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
aload 3 /* preMasterSecret */
14: .line 247
invokevirtual sun.security.ssl.SSLMasterKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
astore 5 /* kd */
start local 5 // sun.security.ssl.SSLKeyDerivation kd
15: .line 249
aload 5 /* kd */
ldc "MasterSecret"
aload 2 /* params */
invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
16: areturn
end local 5 // sun.security.ssl.SSLKeyDerivation kd
end local 4 // sun.security.ssl.SSLMasterKeyDerivation mskd
end local 3 // javax.crypto.SecretKey preMasterSecret
17: .line 250
StackMap locals: sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation java.lang.String java.security.spec.AlgorithmParameterSpec
StackMap stack: java.lang.Exception
astore 3 /* gse */
start local 3 // java.lang.Exception gse
18: .line 251
new javax.net.ssl.SSLHandshakeException
dup
19: .line 252
ldc "Could not generate secret"
20: .line 251
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
21: .line 252
aload 3 /* gse */
invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
22: .line 251
checkcast javax.net.ssl.SSLHandshakeException
athrow
end local 3 // java.lang.Exception gse
end local 2 // java.security.spec.AlgorithmParameterSpec params
end local 1 // java.lang.String algorithm
end local 0 // sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation this
LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/ssl/KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation;
0 23 1 algorithm Ljava/lang/String;
0 23 2 params Ljava/security/spec/AlgorithmParameterSpec;
3 17 3 preMasterSecret Ljavax/crypto/SecretKey;
6 17 4 mskd Lsun/security/ssl/SSLMasterKeyDerivation;
15 17 5 kd Lsun/security/ssl/SSLKeyDerivation;
18 23 3 gse Ljava/lang/Exception;
Exception table:
from to target type
0 16 17 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
algorithm
params
}
SourceFile: "KrbKeyExchange.java"
NestHost: sun.security.ssl.KrbKeyExchange
InnerClasses:
private final KrbKAGenerator = sun.security.ssl.KrbKeyExchange$KrbKAGenerator of sun.security.ssl.KrbKeyExchange
private final KRBKAKeyDerivation = sun.security.ssl.KrbKeyExchange$KrbKAGenerator$KRBKAKeyDerivation of sun.security.ssl.KrbKeyExchange$KrbKAGenerator