public final class sun.security.rsa.RSAPrivateKeyImpl extends sun.security.pkcs.PKCS8Key implements java.security.interfaces.RSAPrivateKey
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.rsa.RSAPrivateKeyImpl
super_class: sun.security.pkcs.PKCS8Key
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -33106691987952810
private final java.math.BigInteger n;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.math.BigInteger d;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.spec.AlgorithmParameterSpec keyParams;
descriptor: Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.x509.AlgorithmId, java.math.BigInteger, java.math.BigInteger);
descriptor: (Lsun/security/x509/AlgorithmId;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.pkcs.PKCS8Key.<init>:()V
1: aload 2
invokevirtual java.math.BigInteger.bitLength:()I
aconst_null
invokestatic sun.security.rsa.RSAKeyFactory.checkRSAProviderKeyLengths:(ILjava/math/BigInteger;)V
2: aload 0
aload 2
putfield sun.security.rsa.RSAPrivateKeyImpl.n:Ljava/math/BigInteger;
3: aload 0
aload 3
putfield sun.security.rsa.RSAPrivateKeyImpl.d:Ljava/math/BigInteger;
4: aload 0
aload 1
invokestatic sun.security.rsa.RSAUtil.getParamSpec:(Lsun/security/x509/AlgorithmId;)Ljava/security/spec/AlgorithmParameterSpec;
putfield sun.security.rsa.RSAPrivateKeyImpl.keyParams:Ljava/security/spec/AlgorithmParameterSpec;
5: aload 0
aload 1
putfield sun.security.rsa.RSAPrivateKeyImpl.algid:Lsun/security/x509/AlgorithmId;
6: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 4
start local 4 7: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
8: aload 4
aload 2
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
9: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
10: aload 4
aload 3
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
11: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
12: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
13: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
14: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
15: aload 4
iconst_0
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
16: new sun.security.util.DerValue
dup
bipush 48
aload 4
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokespecial sun.security.util.DerValue.<init>:(B[B)V
17: astore 5
start local 5 18: aload 0
aload 5
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.rsa.RSAPrivateKeyImpl.key:[B
end local 5 end local 4 19: goto 22
StackMap locals: sun.security.rsa.RSAPrivateKeyImpl sun.security.x509.AlgorithmId java.math.BigInteger java.math.BigInteger
StackMap stack: java.io.IOException
20: astore 4
start local 4 21: new java.security.InvalidKeyException
dup
aload 4
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 22: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
0 23 1 rsaId Lsun/security/x509/AlgorithmId;
0 23 2 n Ljava/math/BigInteger;
0 23 3 d Ljava/math/BigInteger;
7 19 4 out Lsun/security/util/DerOutputStream;
18 19 5 val Lsun/security/util/DerValue;
21 22 4 exc Ljava/io/IOException;
Exception table:
from to target type
6 19 20 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
rsaId
n
d
public java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
public java.math.BigInteger getModulus();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.n:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
public java.math.BigInteger getPrivateExponent();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.d:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
public java.security.spec.AlgorithmParameterSpec getParams();
descriptor: ()Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.keyParams:Ljava/security/spec/AlgorithmParameterSpec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Sun "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.security.rsa.RSAPrivateKeyImpl.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " private key, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.n:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.bitLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " bits"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n params: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.keyParams:Ljava/security/spec/AlgorithmParameterSpec;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n modulus: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.n:Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc "\n private exponent: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.rsa.RSAPrivateKeyImpl.d:Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/rsa/RSAPrivateKeyImpl;
}
SourceFile: "RSAPrivateKeyImpl.java"