public class org.bouncycastle.cert.crmf.EncryptedValueBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.crmf.EncryptedValueBuilder
super_class: java.lang.Object
{
private org.bouncycastle.operator.KeyWrapper wrapper;
descriptor: Lorg/bouncycastle/operator/KeyWrapper;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.operator.OutputEncryptor encryptor;
descriptor: Lorg/bouncycastle/operator/OutputEncryptor;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.crmf.EncryptedValuePadder padder;
descriptor: Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.operator.KeyWrapper, org.bouncycastle.operator.OutputEncryptor);
descriptor: (Lorg/bouncycastle/operator/KeyWrapper;Lorg/bouncycastle/operator/OutputEncryptor;)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.cert.crmf.EncryptedValueBuilder.<init>:(Lorg/bouncycastle/operator/KeyWrapper;Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 2 1 wrapper Lorg/bouncycastle/operator/KeyWrapper;
0 2 2 encryptor Lorg/bouncycastle/operator/OutputEncryptor;
MethodParameters:
Name Flags
wrapper
encryptor
public void <init>(org.bouncycastle.operator.KeyWrapper, org.bouncycastle.operator.OutputEncryptor, org.bouncycastle.cert.crmf.EncryptedValuePadder);
descriptor: (Lorg/bouncycastle/operator/KeyWrapper;Lorg/bouncycastle/operator/OutputEncryptor;Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;)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 java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
2: aload 0
aload 2
putfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
3: aload 0
aload 3
putfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
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/cert/crmf/EncryptedValueBuilder;
0 5 1 wrapper Lorg/bouncycastle/operator/KeyWrapper;
0 5 2 encryptor Lorg/bouncycastle/operator/OutputEncryptor;
0 5 3 padder Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
MethodParameters:
Name Flags
wrapper
encryptor
padder
public org.bouncycastle.asn1.crmf.EncryptedValue build(char[]);
descriptor: ([C)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokestatic org.bouncycastle.util.Strings.toUTF8ByteArray:([C)[B
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueBuilder.padData:([B)[B
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptData:([B)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 1 1 revocationPassphrase [C
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
revocationPassphrase
public org.bouncycastle.asn1.crmf.EncryptedValue build(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getEncoded:()[B
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueBuilder.padData:([B)[B
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptData:([B)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 3: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "cannot encode certificate: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.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.cert.crmf.CRMFException.<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 4 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 4 1 holder Lorg/bouncycastle/cert/X509CertificateHolder;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
holder
public org.bouncycastle.asn1.crmf.EncryptedValue build(org.bouncycastle.asn1.pkcs.PrivateKeyInfo);
descriptor: (Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=2
start local 0 start local 1 0: new org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder
dup
aload 1
invokespecial org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.<init>:(Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;)V
astore 2
start local 2 1: aload 1
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getPrivateKeyAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 3
start local 3 2: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokeinterface org.bouncycastle.operator.OutputEncryptor.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 4
start local 4 3: aload 2
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokevirtual org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder.build:(Lorg/bouncycastle/operator/OutputEncryptor;)Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
astore 6
start local 6 4: new org.bouncycastle.asn1.DERBitString
dup
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokeinterface org.bouncycastle.operator.OutputEncryptor.getKey:()Lorg/bouncycastle/operator/GenericKey;
invokeinterface org.bouncycastle.operator.KeyWrapper.generateWrappedKey:(Lorg/bouncycastle/operator/GenericKey;)[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 5
start local 5 5: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
invokeinterface org.bouncycastle.operator.KeyWrapper.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 7
start local 7 6: aconst_null
astore 8
start local 8 7: new org.bouncycastle.asn1.crmf.EncryptedValue
dup
aload 3
aload 4
aload 5
aload 7
aload 8
new org.bouncycastle.asn1.DERBitString
dup
aload 6
invokevirtual org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.getEncryptedData:()[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
invokespecial org.bouncycastle.asn1.crmf.EncryptedValue.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1OctetString;Lorg/bouncycastle/asn1/DERBitString;)V
8: areturn
end local 8 end local 7 end local 6 end local 5 9: StackMap locals: org.bouncycastle.cert.crmf.EncryptedValueBuilder org.bouncycastle.asn1.pkcs.PrivateKeyInfo org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack: java.lang.IllegalStateException
astore 6
start local 6 10: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "cannot encode key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.IllegalStateException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial org.bouncycastle.cert.crmf.CRMFException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 11: StackMap locals:
StackMap stack: org.bouncycastle.operator.OperatorException
astore 6
start local 6 12: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "cannot wrap key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual org.bouncycastle.operator.OperatorException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial org.bouncycastle.cert.crmf.CRMFException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 13 1 privateKeyInfo Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
1 13 2 encInfoBldr Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfoBuilder;
2 13 3 intendedAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3 13 4 symmAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
5 9 5 encSymmKey Lorg/bouncycastle/asn1/DERBitString;
4 9 6 encInfo Lorg/bouncycastle/pkcs/PKCS8EncryptedPrivateKeyInfo;
6 9 7 keyAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
7 9 8 valueHint Lorg/bouncycastle/asn1/ASN1OctetString;
10 11 6 e Ljava/lang/IllegalStateException;
12 13 6 e Lorg/bouncycastle/operator/OperatorException;
Exception table:
from to target type
3 8 9 Class java.lang.IllegalStateException
3 8 11 Class org.bouncycastle.operator.OperatorException
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
privateKeyInfo
private org.bouncycastle.asn1.crmf.EncryptedValue encryptData(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/crmf/EncryptedValue;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
aload 2
invokeinterface org.bouncycastle.operator.OutputEncryptor.getOutputStream:(Ljava/io/OutputStream;)Ljava/io/OutputStream;
astore 3
start local 3 2: aload 3
aload 1
invokevirtual java.io.OutputStream.write:([B)V
3: aload 3
invokevirtual java.io.OutputStream.close:()V
4: goto 7
5: StackMap locals: org.bouncycastle.cert.crmf.EncryptedValueBuilder byte[] java.io.ByteArrayOutputStream java.io.OutputStream
StackMap stack: java.io.IOException
astore 4
start local 4 6: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "cannot process data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.bouncycastle.cert.crmf.CRMFException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 8: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokeinterface org.bouncycastle.operator.OutputEncryptor.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 5
start local 5 9: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokeinterface org.bouncycastle.operator.OutputEncryptor.getKey:()Lorg/bouncycastle/operator/GenericKey;
invokeinterface org.bouncycastle.operator.KeyWrapper.generateWrappedKey:(Lorg/bouncycastle/operator/GenericKey;)[B
pop
10: new org.bouncycastle.asn1.DERBitString
dup
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.encryptor:Lorg/bouncycastle/operator/OutputEncryptor;
invokeinterface org.bouncycastle.operator.OutputEncryptor.getKey:()Lorg/bouncycastle/operator/GenericKey;
invokeinterface org.bouncycastle.operator.KeyWrapper.generateWrappedKey:(Lorg/bouncycastle/operator/GenericKey;)[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 6
start local 6 11: goto 14
end local 6 12: StackMap locals: org.bouncycastle.cert.crmf.EncryptedValueBuilder byte[] java.io.ByteArrayOutputStream java.io.OutputStream org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack: org.bouncycastle.operator.OperatorException
astore 7
start local 7 13: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "cannot wrap key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual org.bouncycastle.operator.OperatorException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 7
invokespecial org.bouncycastle.cert.crmf.CRMFException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 start local 6 14: StackMap locals: org.bouncycastle.asn1.DERBitString
StackMap stack:
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.wrapper:Lorg/bouncycastle/operator/KeyWrapper;
invokeinterface org.bouncycastle.operator.KeyWrapper.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 7
start local 7 15: aconst_null
astore 8
start local 8 16: new org.bouncycastle.asn1.DERBitString
dup
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 9
start local 9 17: new org.bouncycastle.asn1.crmf.EncryptedValue
dup
aload 4
aload 5
aload 6
aload 7
aload 8
aload 9
invokespecial org.bouncycastle.asn1.crmf.EncryptedValue.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/DERBitString;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1OctetString;Lorg/bouncycastle/asn1/DERBitString;)V
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 18 1 data [B
1 18 2 bOut Ljava/io/ByteArrayOutputStream;
2 18 3 eOut Ljava/io/OutputStream;
6 7 4 e Ljava/io/IOException;
8 18 4 intendedAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
9 18 5 symmAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
11 12 6 encSymmKey Lorg/bouncycastle/asn1/DERBitString;
14 18 6 encSymmKey Lorg/bouncycastle/asn1/DERBitString;
13 14 7 e Lorg/bouncycastle/operator/OperatorException;
15 18 7 keyAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
16 18 8 valueHint Lorg/bouncycastle/asn1/ASN1OctetString;
17 18 9 encValue Lorg/bouncycastle/asn1/DERBitString;
Exception table:
from to target type
2 4 5 Class java.io.IOException
9 11 12 Class org.bouncycastle.operator.OperatorException
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
data
private byte[] padData(byte[]);
descriptor: ([B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
ifnull 2
1: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueBuilder.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
aload 1
invokeinterface org.bouncycastle.cert.crmf.EncryptedValuePadder.getPaddedData:([B)[B
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueBuilder;
0 3 1 data [B
MethodParameters:
Name Flags
data
}
SourceFile: "EncryptedValueBuilder.java"