public class org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder
super_class: java.lang.Object
{
private org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo;
descriptor: Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x0002) ACC_PRIVATE
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
start local 1 // byte[] privateKeyInfo
0: .line 32
aload 0 /* this */
aload 1 /* privateKeyInfo */
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
invokespecial org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.<init>:(Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
1: .line 33
return
end local 1 // byte[] privateKeyInfo
end local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfoBuilder;
0 2 1 privateKeyInfo [B
MethodParameters:
Name Flags
privateKeyInfo
public void <init>(org.bouncycastle.asn1.pkcs.PrivateKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
start local 1 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo
0: .line 35
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 37
aload 0 /* this */
aload 1 /* privateKeyInfo */
putfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.privateKeyInfo:Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
2: .line 38
return
end local 1 // org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo
end local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfoBuilder;
0 3 1 privateKeyInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
MethodParameters:
Name Flags
privateKeyInfo
public org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo build(org.bouncycastle.operator.OutputEncryptor);
descriptor: (Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
start local 1 // org.bouncycastle.operator.OutputEncryptor encryptor
0: .line 45
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2 /* bOut */
start local 2 // java.io.ByteArrayOutputStream bOut
1: .line 46
aload 1 /* encryptor */
aload 2 /* bOut */
invokeinterface org.bouncycastle.operator.OutputEncryptor.getOutputStream:(Ljava/io/OutputStream;)Ljava/io/OutputStream;
astore 3 /* cOut */
start local 3 // java.io.OutputStream cOut
2: .line 48
aload 3 /* cOut */
aload 0 /* this */
getfield org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.privateKeyInfo:Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getEncoded:()[B
invokevirtual java.io.OutputStream.write:([B)V
3: .line 50
aload 3 /* cOut */
invokevirtual java.io.OutputStream.close:()V
4: .line 52
new org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
dup
new org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo
dup
aload 1 /* encryptor */
invokeinterface org.bouncycastle.operator.OutputEncryptor.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 2 /* bOut */
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
invokespecial org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.<init>:(Lorg/bouncycastle/asn1/pkcs/EncryptedPrivateKeyInfo;)V
5: areturn
end local 3 // java.io.OutputStream cOut
end local 2 // java.io.ByteArrayOutputStream bOut
6: .line 54
StackMap locals:
StackMap stack: java.io.IOException
pop
7: .line 56
new java.lang.IllegalStateException
dup
ldc "cannot encode privateKeyInfo"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // org.bouncycastle.operator.OutputEncryptor encryptor
end local 0 // org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfoBuilder;
0 8 1 encryptor Lorg/bouncycastle/operator/OutputEncryptor;
1 6 2 bOut Ljava/io/ByteArrayOutputStream;
2 6 3 cOut Ljava/io/OutputStream;
Exception table:
from to target type
0 5 6 Class java.io.IOException
MethodParameters:
Name Flags
encryptor
}
SourceFile: "PKCS8EncryptedPrivateKeyInfoBuilder.java"