public class org.bouncycastle.cms.CMSEncryptedData
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.CMSEncryptedData
super_class: java.lang.Object
{
private org.bouncycastle.asn1.cms.ContentInfo contentInfo;
descriptor: Lorg/bouncycastle/asn1/cms/ContentInfo;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.cms.EncryptedData encryptedData;
descriptor: Lorg/bouncycastle/asn1/cms/EncryptedData;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.cms.ContentInfo);
descriptor: (Lorg/bouncycastle/asn1/cms/ContentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.cms.CMSEncryptedData this
start local 1 // org.bouncycastle.asn1.cms.ContentInfo contentInfo
0: .line 17
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 19
aload 0 /* this */
aload 1 /* contentInfo */
putfield org.bouncycastle.cms.CMSEncryptedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
2: .line 21
aload 0 /* this */
aload 1 /* contentInfo */
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.cms.EncryptedData.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/EncryptedData;
putfield org.bouncycastle.cms.CMSEncryptedData.encryptedData:Lorg/bouncycastle/asn1/cms/EncryptedData;
3: .line 22
return
end local 1 // org.bouncycastle.asn1.cms.ContentInfo contentInfo
end local 0 // org.bouncycastle.cms.CMSEncryptedData this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/CMSEncryptedData;
0 4 1 contentInfo Lorg/bouncycastle/asn1/cms/ContentInfo;
MethodParameters:
Name Flags
contentInfo
public byte[] getContent(org.bouncycastle.operator.InputDecryptorProvider);
descriptor: (Lorg/bouncycastle/operator/InputDecryptorProvider;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 // org.bouncycastle.cms.CMSEncryptedData this
start local 1 // org.bouncycastle.operator.InputDecryptorProvider inputDecryptorProvider
0: .line 29
aload 0 /* this */
aload 1 /* inputDecryptorProvider */
invokevirtual org.bouncycastle.cms.CMSEncryptedData.getContentStream:(Lorg/bouncycastle/operator/InputDecryptorProvider;)Lorg/bouncycastle/cms/CMSTypedStream;
invokevirtual org.bouncycastle.cms.CMSTypedStream.getContentStream:()Ljava/io/InputStream;
invokestatic org.bouncycastle.cms.CMSUtils.streamToByteArray:(Ljava/io/InputStream;)[B
1: areturn
2: .line 31
StackMap locals:
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
3: .line 33
new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "unable to parse internal stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
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 /* e */
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 // java.io.IOException e
end local 1 // org.bouncycastle.operator.InputDecryptorProvider inputDecryptorProvider
end local 0 // org.bouncycastle.cms.CMSEncryptedData this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/CMSEncryptedData;
0 4 1 inputDecryptorProvider Lorg/bouncycastle/operator/InputDecryptorProvider;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
inputDecryptorProvider
public org.bouncycastle.cms.CMSTypedStream getContentStream(org.bouncycastle.operator.InputDecryptorProvider);
descriptor: (Lorg/bouncycastle/operator/InputDecryptorProvider;)Lorg/bouncycastle/cms/CMSTypedStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 // org.bouncycastle.cms.CMSEncryptedData this
start local 1 // org.bouncycastle.operator.InputDecryptorProvider inputDecryptorProvider
0: .line 42
aload 0 /* this */
getfield org.bouncycastle.cms.CMSEncryptedData.encryptedData:Lorg/bouncycastle/asn1/cms/EncryptedData;
invokevirtual org.bouncycastle.asn1.cms.EncryptedData.getEncryptedContentInfo:()Lorg/bouncycastle/asn1/cms/EncryptedContentInfo;
astore 2 /* encContentInfo */
start local 2 // org.bouncycastle.asn1.cms.EncryptedContentInfo encContentInfo
1: .line 43
aload 1 /* inputDecryptorProvider */
aload 2 /* encContentInfo */
invokevirtual org.bouncycastle.asn1.cms.EncryptedContentInfo.getContentEncryptionAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.InputDecryptorProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/InputDecryptor;
astore 3 /* decrytor */
start local 3 // org.bouncycastle.operator.InputDecryptor decrytor
2: .line 45
new java.io.ByteArrayInputStream
dup
aload 2 /* encContentInfo */
invokevirtual org.bouncycastle.asn1.cms.EncryptedContentInfo.getEncryptedContent:()Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 4 /* encIn */
start local 4 // java.io.ByteArrayInputStream encIn
3: .line 47
new org.bouncycastle.cms.CMSTypedStream
dup
aload 2 /* encContentInfo */
invokevirtual org.bouncycastle.asn1.cms.EncryptedContentInfo.getContentType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3 /* decrytor */
aload 4 /* encIn */
invokeinterface org.bouncycastle.operator.InputDecryptor.getInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
invokespecial org.bouncycastle.cms.CMSTypedStream.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljava/io/InputStream;)V
4: areturn
end local 4 // java.io.ByteArrayInputStream encIn
end local 3 // org.bouncycastle.operator.InputDecryptor decrytor
end local 2 // org.bouncycastle.asn1.cms.EncryptedContentInfo encContentInfo
5: .line 49
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
6: .line 51
new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "unable to create stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
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 /* e */
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 // java.lang.Exception e
end local 1 // org.bouncycastle.operator.InputDecryptorProvider inputDecryptorProvider
end local 0 // org.bouncycastle.cms.CMSEncryptedData this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cms/CMSEncryptedData;
0 7 1 inputDecryptorProvider Lorg/bouncycastle/operator/InputDecryptorProvider;
1 5 2 encContentInfo Lorg/bouncycastle/asn1/cms/EncryptedContentInfo;
2 5 3 decrytor Lorg/bouncycastle/operator/InputDecryptor;
3 5 4 encIn Ljava/io/ByteArrayInputStream;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
inputDecryptorProvider
public org.bouncycastle.asn1.cms.ContentInfo toASN1Structure();
descriptor: ()Lorg/bouncycastle/asn1/cms/ContentInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bouncycastle.cms.CMSEncryptedData this
0: .line 60
aload 0 /* this */
getfield org.bouncycastle.cms.CMSEncryptedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
areturn
end local 0 // org.bouncycastle.cms.CMSEncryptedData this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSEncryptedData;
}
SourceFile: "CMSEncryptedData.java"