public class org.bouncycastle.asn1.pkcs.PrivateKeyInfo extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.pkcs.PrivateKeyInfo
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.DERObject privKey;
descriptor: Lorg/bouncycastle/asn1/DERObject;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier algId;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1Set attributes;
descriptor: Lorg/bouncycastle/asn1/ASN1Set;
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.pkcs.PrivateKeyInfo getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 1 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
public static org.bouncycastle.asn1.pkcs.PrivateKeyInfo getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.pkcs.PrivateKeyInfo
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.pkcs.PrivateKeyInfo
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.pkcs.PrivateKeyInfo
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.DERObject);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;Lorg/bouncycastle/asn1/ASN1Set;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
0 2 1 algId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 2 2 privateKey Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
algId
privateKey
public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.DERObject, org.bouncycastle.asn1.ASN1Set);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERObject;Lorg/bouncycastle/asn1/ASN1Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 2
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.privKey:Lorg/bouncycastle/asn1/DERObject;
2: aload 0
aload 1
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3: aload 0
aload 3
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.attributes:Lorg/bouncycastle/asn1/ASN1Set;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
0 5 1 algId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 5 2 privateKey Lorg/bouncycastle/asn1/DERObject;
0 5 3 attributes Lorg/bouncycastle/asn1/ASN1Set;
MethodParameters:
Name Flags
algId
privateKey
attributes
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 2: aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.DERInteger
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
astore 3
start local 3 3: aload 3
invokevirtual java.math.BigInteger.intValue:()I
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "wrong version for private key info"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.bouncycastle.asn1.pkcs.PrivateKeyInfo org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration java.math.BigInteger
StackMap stack:
aload 0
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
6: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
astore 4
start local 4 7: aload 0
aload 4
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.privKey:Lorg/bouncycastle/asn1/DERObject;
end local 4 8: goto 11
9: StackMap locals:
StackMap stack: java.io.IOException
pop
10: new java.lang.IllegalArgumentException
dup
ldc "Error recoverying private key from sequence"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 13
12: aload 0
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1TaggedObject
iconst_0
invokestatic org.bouncycastle.asn1.ASN1Set.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Set;
putfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.attributes:Lorg/bouncycastle/asn1/ASN1Set;
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
0 14 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
2 14 2 e Ljava/util/Enumeration;
3 14 3 version Ljava/math/BigInteger;
7 8 4 aIn Lorg/bouncycastle/asn1/ASN1InputStream;
Exception table:
from to target type
6 8 9 Class java.io.IOException
MethodParameters:
Name Flags
seq
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmId();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
public org.bouncycastle.asn1.DERObject getPrivateKey();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.privKey:Lorg/bouncycastle/asn1/DERObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
public org.bouncycastle.asn1.ASN1Set getAttributes();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.attributes:Lorg/bouncycastle/asn1/ASN1Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 1
new org.bouncycastle.asn1.DERInteger
dup
iconst_0
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(I)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
2: aload 1
aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: aload 1
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.privKey:Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.attributes:Lorg/bouncycastle/asn1/ASN1Set;
ifnull 6
5: aload 1
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
iconst_0
aload 0
getfield org.bouncycastle.asn1.pkcs.PrivateKeyInfo.attributes:Lorg/bouncycastle/asn1/ASN1Set;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
6: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
1 7 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "PrivateKeyInfo.java"