public final class com.sun.crypto.provider.TlsRsaPremasterSecretGenerator extends javax.crypto.KeyGeneratorSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.TlsRsaPremasterSecretGenerator
super_class: javax.crypto.KeyGeneratorSpi
{
private static final java.lang.String MSG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
private sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec spec;
descriptor: Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.crypto.KeyGeneratorSpi.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/TlsRsaPremasterSecretGenerator;
protected void engineInit(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.security.InvalidParameterException
dup
ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/TlsRsaPremasterSecretGenerator;
0 1 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
protected void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
ifne 2
1: new java.security.InvalidAlgorithmParameterException
dup
ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
putfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
3: aload 0
aload 2
putfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.random:Ljava/security/SecureRandom;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/TlsRsaPremasterSecretGenerator;
0 5 1 params Ljava/security/spec/AlgorithmParameterSpec;
0 5 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
random
protected void engineInit(int, java.security.SecureRandom);
descriptor: (ILjava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.security.InvalidParameterException
dup
ldc "TlsRsaPremasterSecretGenerator must be initialized using a TlsRsaPremasterSecretParameterSpec"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/TlsRsaPremasterSecretGenerator;
0 1 1 keysize I
0 1 2 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
keysize
random
protected javax.crypto.SecretKey engineGenerateKey();
descriptor: ()Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
ifnonnull 4
1: new java.lang.IllegalStateException
dup
2: ldc "TlsRsaPremasterSecretGenerator must be initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getEncodedSecret:()[B
astore 1
start local 1 5: aload 1
ifnonnull 10
6: aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.random:Ljava/security/SecureRandom;
ifnonnull 8
7: aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
putfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.random:Ljava/security/SecureRandom;
8: StackMap locals: byte[]
StackMap stack:
bipush 48
newarray 8
astore 1
9: aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.random:Ljava/security/SecureRandom;
aload 1
invokevirtual java.security.SecureRandom.nextBytes:([B)V
10: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMajorVersion:()I
i2b
bastore
11: aload 1
iconst_1
aload 0
getfield com.sun.crypto.provider.TlsRsaPremasterSecretGenerator.spec:Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getMinorVersion:()I
i2b
bastore
12: new javax.crypto.spec.SecretKeySpec
dup
aload 1
ldc "TlsRsaPremasterSecret"
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/crypto/provider/TlsRsaPremasterSecretGenerator;
5 13 1 b [B
}
SourceFile: "TlsRsaPremasterSecretGenerator.java"