public class sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec implements java.security.spec.AlgorithmParameterSpec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
super_class: java.lang.Object
{
private final byte[] encodedSecret;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String PROP_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.net.ssl.rsaPreMasterSecretFix"
private static final boolean rsaPreMasterSecretFix;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int clientVersion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int serverVersion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec$1
dup
invokespecial sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
1: putstatic sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.rsaPreMasterSecretFix:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
iload 1
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.checkVersion:(I)I
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
2: aload 0
aload 0
iload 2
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.checkVersion:(I)I
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.serverVersion:I
3: aload 0
aconst_null
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.encodedSecret:[B
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
0 5 1 clientVersion I
0 5 2 serverVersion I
MethodParameters:
Name Flags
clientVersion
serverVersion
public void <init>(int, int, byte[]);
descriptor: (II[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
iload 1
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.checkVersion:(I)I
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
2: aload 0
aload 0
iload 2
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.checkVersion:(I)I
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.serverVersion:I
3: aload 3
ifnull 4
aload 3
arraylength
bipush 48
if_icmpeq 7
4: StackMap locals: sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec int int byte[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: ldc "Encoded secret is not exactly 48 bytes"
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.encodedSecret:[B
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
0 9 1 clientVersion I
0 9 2 serverVersion I
0 9 3 encodedSecret [B
MethodParameters:
Name Flags
clientVersion
serverVersion
encodedSecret
public int getClientVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
public int getServerVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.serverVersion:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
public int getMajorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.rsaPreMasterSecretFix:Z
ifne 1
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
sipush 770
if_icmplt 2
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
bipush 8
iushr
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.serverVersion:I
bipush 8
iushr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
public int getMinorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.rsaPreMasterSecretFix:Z
ifne 1
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
sipush 770
if_icmplt 2
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.clientVersion:I
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.serverVersion:I
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
private int checkVersion(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
ldc 65535
if_icmple 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
2: ldc "Version must be between 0 and 65,535"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
0 5 1 version I
MethodParameters:
Name Flags
version
public byte[] getEncodedSecret();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.encodedSecret:[B
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.encodedSecret:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/internal/spec/TlsRsaPremasterSecretParameterSpec;
}
SourceFile: "TlsRsaPremasterSecretParameterSpec.java"
NestMembers:
sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec$1
InnerClasses:
sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec$1
RuntimeVisibleAnnotations:
java.lang.Deprecated()