final class sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer implements sun.security.ssl.SSLConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer
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.RSAServerKeyExchange$RSAServerKeyExchangeConsumer this
0: .line 286
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 288
return
end local 0 // sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/RSAServerKeyExchange$RSAServerKeyExchangeConsumer;
public void consume(sun.security.ssl.ConnectionContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=3
start local 0 // sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // java.nio.ByteBuffer message
0: .line 294
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 297
new sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage
dup
aload 3 /* chc */
aload 2 /* message */
invokespecial sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
2: .line 296
astore 4 /* skem */
start local 4 // sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage skem
3: .line 298
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 6
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 6
4: .line 300
ldc "Consuming RSA ServerKeyExchange handshake message"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4 /* skem */
aastore
5: .line 299
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
6: .line 309
StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage
StackMap stack:
ldc "RSA"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 6 /* kf */
start local 6 // java.security.KeyFactory kf
7: .line 310
new java.security.spec.RSAPublicKeySpec
dup
8: .line 311
new java.math.BigInteger
dup
iconst_1
aload 4 /* skem */
getfield sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage.modulus:[B
invokespecial java.math.BigInteger.<init>:(I[B)V
9: .line 312
new java.math.BigInteger
dup
iconst_1
aload 4 /* skem */
getfield sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage.exponent:[B
invokespecial java.math.BigInteger.<init>:(I[B)V
10: .line 310
invokespecial java.security.spec.RSAPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 7 /* spec */
start local 7 // java.security.spec.RSAPublicKeySpec spec
11: .line 313
aload 6 /* kf */
aload 7 /* spec */
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.RSAPublicKey
astore 5 /* publicKey */
end local 7 // java.security.spec.RSAPublicKeySpec spec
end local 6 // java.security.KeyFactory kf
start local 5 // java.security.interfaces.RSAPublicKey publicKey
12: .line 314
goto 17
end local 5 // java.security.interfaces.RSAPublicKey publicKey
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
13: astore 6 /* gse */
start local 6 // java.security.GeneralSecurityException gse
14: .line 315
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INSUFFICIENT_SECURITY:Lsun/security/ssl/Alert;
15: .line 316
ldc "Could not generate RSAPublicKey"
aload 6 /* gse */
16: .line 315
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.security.GeneralSecurityException gse
start local 5 // java.security.interfaces.RSAPublicKey publicKey
17: .line 319
StackMap locals: java.security.interfaces.RSAPublicKey
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
18: .line 320
getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
aload 5 /* publicKey */
19: .line 319
invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
20: .line 320
ifne 24
21: .line 321
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INSUFFICIENT_SECURITY:Lsun/security/ssl/Alert;
22: .line 322
ldc "RSA ServerKeyExchange does not comply to algorithm constraints"
23: .line 321
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
24: .line 329
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeCredentials:Ljava/util/List;
25: .line 330
new sun.security.ssl.RSAKeyExchange$EphemeralRSACredentials
dup
aload 5 /* publicKey */
invokespecial sun.security.ssl.RSAKeyExchange$EphemeralRSACredentials.<init>:(Ljava/security/interfaces/RSAPublicKey;)V
26: .line 329
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: .line 336
return
end local 5 // java.security.interfaces.RSAPublicKey publicKey
end local 4 // sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage skem
end local 3 // sun.security.ssl.ClientHandshakeContext chc
end local 2 // java.nio.ByteBuffer message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/ssl/RSAServerKeyExchange$RSAServerKeyExchangeConsumer;
0 28 1 context Lsun/security/ssl/ConnectionContext;
0 28 2 message Ljava/nio/ByteBuffer;
1 28 3 chc Lsun/security/ssl/ClientHandshakeContext;
3 28 4 skem Lsun/security/ssl/RSAServerKeyExchange$RSAServerKeyExchangeMessage;
12 13 5 publicKey Ljava/security/interfaces/RSAPublicKey;
17 28 5 publicKey Ljava/security/interfaces/RSAPublicKey;
7 12 6 kf Ljava/security/KeyFactory;
11 12 7 spec Ljava/security/spec/RSAPublicKeySpec;
14 17 6 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
6 12 13 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "RSAServerKeyExchange.java"
NestHost: sun.security.ssl.RSAServerKeyExchange
InnerClasses:
final EphemeralRSACredentials = sun.security.ssl.RSAKeyExchange$EphemeralRSACredentials of sun.security.ssl.RSAKeyExchange
private final RSAServerKeyExchangeConsumer = sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeConsumer of sun.security.ssl.RSAServerKeyExchange
private final RSAServerKeyExchangeMessage = sun.security.ssl.RSAServerKeyExchange$RSAServerKeyExchangeMessage of sun.security.ssl.RSAServerKeyExchange