final class sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation implements sun.security.ssl.SSLKeyDerivation
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation
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 javax.crypto.SecretKey preMasterSecret;
descriptor: Ljavax/crypto/SecretKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.HandshakeContext, javax.crypto.SecretKey);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation this
start local 1 // sun.security.ssl.HandshakeContext context
start local 2 // javax.crypto.SecretKey preMasterSecret
0: .line 289
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 291
aload 0 /* this */
aload 1 /* context */
putfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
2: .line 292
aload 0 /* this */
aload 2 /* preMasterSecret */
putfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.preMasterSecret:Ljavax/crypto/SecretKey;
3: .line 293
return
end local 2 // javax.crypto.SecretKey preMasterSecret
end local 1 // sun.security.ssl.HandshakeContext context
end local 0 // sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation;
0 4 1 context Lsun/security/ssl/HandshakeContext;
0 4 2 preMasterSecret Ljavax/crypto/SecretKey;
MethodParameters:
Name Flags
context
preMasterSecret
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=5, args_size=3
start local 0 // sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation this
start local 1 // java.lang.String algorithm
start local 2 // java.security.spec.AlgorithmParameterSpec params
0: .line 300
aload 0 /* this */
getfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
1: .line 299
invokestatic sun.security.ssl.SSLMasterKeyDerivation.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SSLMasterKeyDerivation;
2: .line 298
astore 3 /* mskd */
start local 3 // sun.security.ssl.SSLMasterKeyDerivation mskd
3: .line 301
aload 3 /* mskd */
ifnonnull 9
4: .line 303
new javax.net.ssl.SSLHandshakeException
dup
5: .line 304
new java.lang.StringBuilder
dup
ldc "No expected master key derivation for protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: .line 305
aload 0 /* this */
getfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.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;
7: .line 304
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: .line 303
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
athrow
9: .line 307
StackMap locals: sun.security.ssl.SSLMasterKeyDerivation
StackMap stack:
aload 3 /* mskd */
10: .line 308
aload 0 /* this */
getfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.context:Lsun/security/ssl/HandshakeContext;
aload 0 /* this */
getfield sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation.preMasterSecret:Ljavax/crypto/SecretKey;
11: .line 307
invokevirtual sun.security.ssl.SSLMasterKeyDerivation.createKeyDerivation:(Lsun/security/ssl/HandshakeContext;Ljavax/crypto/SecretKey;)Lsun/security/ssl/SSLKeyDerivation;
astore 4 /* kd */
start local 4 // sun.security.ssl.SSLKeyDerivation kd
12: .line 309
aload 4 /* kd */
ldc "MasterSecret"
aload 2 /* params */
invokeinterface sun.security.ssl.SSLKeyDerivation.deriveKey:(Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)Ljavax/crypto/SecretKey;
areturn
end local 4 // sun.security.ssl.SSLKeyDerivation kd
end local 3 // sun.security.ssl.SSLMasterKeyDerivation mskd
end local 2 // java.security.spec.AlgorithmParameterSpec params
end local 1 // java.lang.String algorithm
end local 0 // sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation;
0 13 1 algorithm Ljava/lang/String;
0 13 2 params Ljava/security/spec/AlgorithmParameterSpec;
3 13 3 mskd Lsun/security/ssl/SSLMasterKeyDerivation;
12 13 4 kd Lsun/security/ssl/SSLKeyDerivation;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
algorithm
params
}
SourceFile: "RSAKeyExchange.java"
NestHost: sun.security.ssl.RSAKeyExchange
InnerClasses:
private final RSAKAGenerator = sun.security.ssl.RSAKeyExchange$RSAKAGenerator of sun.security.ssl.RSAKeyExchange
private final RSAKAKeyDerivation = sun.security.ssl.RSAKeyExchange$RSAKAGenerator$RSAKAKeyDerivation of sun.security.ssl.RSAKeyExchange$RSAKAGenerator