public class org.bouncycastle.jce.provider.JCERSAPrivateKey implements java.security.interfaces.RSAPrivateKey, org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JCERSAPrivateKey
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5110188922551353628
private static java.math.BigInteger ZERO;
descriptor: Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected java.math.BigInteger modulus;
descriptor: Ljava/math/BigInteger;
flags: (0x0004) ACC_PROTECTED
protected java.math.BigInteger privateExponent;
descriptor: Ljava/math/BigInteger;
flags: (0x0004) ACC_PROTECTED
private org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl attrCarrier;
descriptor: Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: lconst_0
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
void <init>(org.bouncycastle.crypto.params.RSAKeyParameters);
descriptor: (Lorg/bouncycastle/crypto/params/RSAKeyParameters;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
2: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.params.RSAKeyParameters.getModulus:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
3: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.params.RSAKeyParameters.getExponent:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 5 1 key Lorg/bouncycastle/crypto/params/RSAKeyParameters;
MethodParameters:
Name Flags
key
void <init>(java.security.spec.RSAPrivateKeySpec);
descriptor: (Ljava/security/spec/RSAPrivateKeySpec;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
2: aload 0
aload 1
invokevirtual java.security.spec.RSAPrivateKeySpec.getModulus:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
3: aload 0
aload 1
invokevirtual java.security.spec.RSAPrivateKeySpec.getPrivateExponent:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 5 1 spec Ljava/security/spec/RSAPrivateKeySpec;
MethodParameters:
Name Flags
spec
void <init>(java.security.interfaces.RSAPrivateKey);
descriptor: (Ljava/security/interfaces/RSAPrivateKey;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
2: aload 0
aload 1
invokeinterface java.security.interfaces.RSAPrivateKey.getModulus:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
3: aload 0
aload 1
invokeinterface java.security.interfaces.RSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 5 1 key Ljava/security/interfaces/RSAPrivateKey;
MethodParameters:
Name Flags
key
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 org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
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 org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
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: ldc "RSA"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PKCS#8"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rsaEncryption:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DERNull
dup
invokespecial org.bouncycastle.asn1.DERNull.<init>:()V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
new org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure
dup
aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getModulus:()Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
getstatic org.bouncycastle.jce.provider.JCERSAPrivateKey.ZERO:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;)V
astore 1
start local 1 1: aload 1
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getDEREncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
1 2 1 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.RSAPrivateKey
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.interfaces.RSAPrivateKey
astore 2
start local 2 5: aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getModulus:()Ljava/math/BigInteger;
aload 2
invokeinterface java.security.interfaces.RSAPrivateKey.getModulus:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
aload 2
invokeinterface java.security.interfaces.RSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: java.security.interfaces.RSAPrivateKey
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 9 1 o Ljava/lang/Object;
5 9 2 key Ljava/security/interfaces/RSAPrivateKey;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getModulus:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
aload 0
invokevirtual org.bouncycastle.jce.provider.JCERSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
public void setBagAttribute(org.bouncycastle.asn1.DERObjectIdentifier, org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)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
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
aload 1
aload 2
invokevirtual org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.setBagAttribute:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 2 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 2 2 attribute Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
oid
attribute
public org.bouncycastle.asn1.DEREncodable getBagAttribute(org.bouncycastle.asn1.DERObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;)Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
aload 1
invokevirtual org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.getBagAttribute:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)Lorg/bouncycastle/asn1/DEREncodable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 1 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
MethodParameters:
Name Flags
oid
public java.util.Enumeration getBagAttributeKeys();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
invokevirtual org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.getBagAttributeKeys:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.math.BigInteger
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
1: aload 0
new org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl
dup
invokespecial org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.<init>:()V
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
2: aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
aload 1
invokevirtual org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.readObject:(Ljava/io/ObjectInputStream;)V
3: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.math.BigInteger
putfield org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 5 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.modulus:Ljava/math/BigInteger;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.attrCarrier:Lorg/bouncycastle/jce/provider/PKCS12BagAttributeCarrierImpl;
aload 1
invokevirtual org.bouncycastle.jce.provider.PKCS12BagAttributeCarrierImpl.writeObject:(Ljava/io/ObjectOutputStream;)V
2: aload 1
aload 0
getfield org.bouncycastle.jce.provider.JCERSAPrivateKey.privateExponent:Ljava/math/BigInteger;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JCERSAPrivateKey;
0 4 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "JCERSAPrivateKey.java"