public class org.bouncycastle.cert.crmf.EncryptedValueParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.crmf.EncryptedValueParser
super_class: java.lang.Object
{
private org.bouncycastle.asn1.crmf.EncryptedValue value;
descriptor: Lorg/bouncycastle/asn1/crmf/EncryptedValue;
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.asn1.crmf.EncryptedValue);
descriptor: (Lorg/bouncycastle/asn1/crmf/EncryptedValue;)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.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 3 1 value Lorg/bouncycastle/asn1/crmf/EncryptedValue;
MethodParameters:
Name Flags
value
public void <init>(org.bouncycastle.asn1.crmf.EncryptedValue, org.bouncycastle.cert.crmf.EncryptedValuePadder);
descriptor: (Lorg/bouncycastle/asn1/crmf/EncryptedValue;Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
2: aload 0
aload 2
putfield org.bouncycastle.cert.crmf.EncryptedValueParser.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 4 1 value Lorg/bouncycastle/asn1/crmf/EncryptedValue;
0 4 2 padder Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
MethodParameters:
Name Flags
value
padder
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getIntendedAlg();
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.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getIntendedAlg:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
private byte[] decryptValue(org.bouncycastle.cert.crmf.ValueDecryptorGenerator);
descriptor: (Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getValueHint:()Lorg/bouncycastle/asn1/ASN1OctetString;
ifnull 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getKeyAlg:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getSymmAlg:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getEncSymmKey:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
4: invokeinterface org.bouncycastle.cert.crmf.ValueDecryptorGenerator.getValueDecryptor:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Lorg/bouncycastle/operator/InputDecryptor;
astore 2
start local 2 5: aload 2
new java.io.ByteArrayInputStream
dup
6: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.value:Lorg/bouncycastle/asn1/crmf/EncryptedValue;
invokevirtual org.bouncycastle.asn1.crmf.EncryptedValue.getEncValue:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
7: invokeinterface org.bouncycastle.operator.InputDecryptor.getInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
astore 3
start local 3 8: aload 3
invokestatic org.bouncycastle.util.io.Streams.readAll:(Ljava/io/InputStream;)[B
astore 4
start local 4 9: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
ifnull 12
10: aload 0
getfield org.bouncycastle.cert.crmf.EncryptedValueParser.padder:Lorg/bouncycastle/cert/crmf/EncryptedValuePadder;
aload 4
invokeinterface org.bouncycastle.cert.crmf.EncryptedValuePadder.getUnpaddedData:([B)[B
11: areturn
12: StackMap locals: org.bouncycastle.operator.InputDecryptor java.io.InputStream byte[]
StackMap stack:
aload 4
13: areturn
end local 4 14: StackMap locals: org.bouncycastle.cert.crmf.EncryptedValueParser org.bouncycastle.cert.crmf.ValueDecryptorGenerator org.bouncycastle.operator.InputDecryptor java.io.InputStream
StackMap stack: java.io.IOException
astore 4
start local 4 15: new org.bouncycastle.cert.crmf.CRMFException
dup
new java.lang.StringBuilder
dup
ldc "Cannot parse decrypted 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 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 16 1 decGen Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;
5 16 2 decryptor Lorg/bouncycastle/operator/InputDecryptor;
8 16 3 dataIn Ljava/io/InputStream;
9 14 4 data [B
15 16 4 e Ljava/io/IOException;
Exception table:
from to target type
8 11 14 Class java.io.IOException
12 13 14 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
decGen
public org.bouncycastle.cert.X509CertificateHolder readCertificateHolder(org.bouncycastle.cert.crmf.ValueDecryptorGenerator);
descriptor: (Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.bouncycastle.cert.X509CertificateHolder
dup
aload 0
aload 1
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueParser.decryptValue:(Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)[B
invokestatic org.bouncycastle.asn1.x509.Certificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.cert.X509CertificateHolder.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 1 1 decGen Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
decGen
public org.bouncycastle.asn1.pkcs.PrivateKeyInfo readPrivateKeyInfo(org.bouncycastle.cert.crmf.ValueDecryptorGenerator);
descriptor: (Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueParser.decryptValue:(Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)[B
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 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 1 1 decGen Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
decGen
public char[] readPassphrase(org.bouncycastle.cert.crmf.ValueDecryptorGenerator);
descriptor: (Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.cert.crmf.EncryptedValueParser.decryptValue:(Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;)[B
invokestatic org.bouncycastle.util.Strings.fromUTF8ByteArray:([B)Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/EncryptedValueParser;
0 1 1 decGen Lorg/bouncycastle/cert/crmf/ValueDecryptorGenerator;
Exceptions:
throws org.bouncycastle.cert.crmf.CRMFException
MethodParameters:
Name Flags
decGen
}
SourceFile: "EncryptedValueParser.java"