public class org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
super_class: java.lang.Object
{
private org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo encryptedPrivateKeyInfo;
descriptor: Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
flags: (0x0002) ACC_PRIVATE
private static org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo parseBytes(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.asn1.ASN1Primitive.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
invokestatic org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 1
start local 1 3: new org.bouncycastle.pkcs.PKCSIOException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.ClassCastException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.pkcs.PKCSIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 1
start local 1 5: new org.bouncycastle.pkcs.PKCSIOException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.pkcs.PKCSIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 pkcs8Encoding [B
3 4 1 e Ljava/lang/ClassCastException;
5 6 1 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassCastException
0 1 4 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pkcs8Encoding
public void <init>(org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
0 3 1 encryptedPrivateKeyInfo Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
MethodParameters:
Name Flags
encryptedPrivateKeyInfo
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.parseBytes:([B)Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokespecial org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
0 2 1 encryptedPrivateKeyInfo [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encryptedPrivateKeyInfo
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getEncryptionAlgorithm();
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.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getEncryptionAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
public byte[] getEncryptedData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getEncryptedData:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
public org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo toASN1Structure();
descriptor: ()Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
Exceptions:
throws java.io.IOException
public org.bouncycastle.asn1.pkcs.PrivateKeyInfo decryptPrivateKeyInfo(org.bouncycastle.operator.InputDecryptorProvider);
descriptor: (Lorg/bouncycastle/operator/InputDecryptorProvider;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getEncryptionAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.InputDecryptorProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/InputDecryptor;
astore 2
start local 2 1: new java.io.ByteArrayInputStream
dup
aload 0
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.encryptedPrivateKeyInfo:Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.getEncryptedData:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 3
start local 3 2: aload 2
aload 3
invokeinterface org.bouncycastle.operator.InputDecryptor.getInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
invokestatic org.bouncycastle.util.io.Streams.readAll:(Ljava/io/InputStream;)[B
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
3: areturn
end local 3 end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new org.bouncycastle.pkcs.PKCSException
dup
new java.lang.StringBuilder
dup
ldc "unable to read encrypted data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.pkcs.PKCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
0 6 1 inputDecryptorProvider Lorg/bouncycastle/operator/InputDecryptorProvider;
1 4 2 decrytor Lorg/bouncycastle/operator/InputDecryptor;
2 4 3 encIn Ljava/io/ByteArrayInputStream;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.pkcs.PKCSException
MethodParameters:
Name Flags
inputDecryptorProvider
}
SourceFile: "PKCS8EncryptedPrivateKeyInfo.java"