public class org.bouncycastle.cms.CMSDigestedData implements org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.CMSDigestedData
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.DigestedData digestedData;
descriptor: Lorg/bouncycastle/asn1/cms/DigestedData;
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 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.cms.CMSUtils.readContentInfo:([B)Lorg/bouncycastle/asn1/cms/ContentInfo;
invokespecial org.bouncycastle.cms.CMSDigestedData.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSDigestedData;
0 2 1 compressedData [B
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
compressedData
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)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.cms.CMSUtils.readContentInfo:(Ljava/io/InputStream;)Lorg/bouncycastle/asn1/cms/ContentInfo;
invokespecial org.bouncycastle.cms.CMSDigestedData.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSDigestedData;
0 2 1 compressedData Ljava/io/InputStream;
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
compressedData
public void <init>(org.bouncycastle.asn1.cms.ContentInfo);
descriptor: (Lorg/bouncycastle/asn1/cms/ContentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, 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.cms.CMSDigestedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
2: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.cms.DigestedData.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/DigestedData;
putfield org.bouncycastle.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
3: goto 8
4: StackMap locals: org.bouncycastle.cms.CMSDigestedData org.bouncycastle.asn1.cms.ContentInfo
StackMap stack: java.lang.ClassCastException
astore 2
start local 2 5: new org.bouncycastle.cms.CMSException
dup
ldc "Malformed content."
aload 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 6: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 7: new org.bouncycastle.cms.CMSException
dup
ldc "Malformed content."
aload 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/cms/CMSDigestedData;
0 9 1 contentInfo Lorg/bouncycastle/asn1/cms/ContentInfo;
5 6 2 e Ljava/lang/ClassCastException;
7 8 2 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
2 3 4 Class java.lang.ClassCastException
2 3 6 Class java.lang.IllegalArgumentException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
contentInfo
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType();
descriptor: ()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.CMSDigestedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContentType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSDigestedData;
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm();
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.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
invokevirtual org.bouncycastle.asn1.cms.DigestedData.getDigestAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSDigestedData;
public org.bouncycastle.cms.CMSProcessable getDigestedContent();
descriptor: ()Lorg/bouncycastle/cms/CMSProcessable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
invokevirtual org.bouncycastle.asn1.cms.DigestedData.getEncapContentInfo:()Lorg/bouncycastle/asn1/cms/ContentInfo;
astore 1
start local 1 1: new org.bouncycastle.cms.CMSProcessableByteArray
dup
aload 1
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContentType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 1
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.cms.CMSProcessableByteArray.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[B)V
2: areturn
3: StackMap locals: org.bouncycastle.cms.CMSDigestedData org.bouncycastle.asn1.cms.ContentInfo
StackMap stack: java.lang.Exception
astore 2
start local 2 4: new org.bouncycastle.cms.CMSException
dup
ldc "exception reading digested stream."
aload 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cms/CMSDigestedData;
1 5 1 content Lorg/bouncycastle/asn1/cms/ContentInfo;
4 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cms.CMSException
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 0: aload 0
getfield org.bouncycastle.cms.CMSDigestedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSDigestedData;
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.cms.CMSDigestedData.contentInfo:Lorg/bouncycastle/asn1/cms/ContentInfo;
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/CMSDigestedData;
Exceptions:
throws java.io.IOException
public boolean verify(org.bouncycastle.operator.DigestCalculatorProvider);
descriptor: (Lorg/bouncycastle/operator/DigestCalculatorProvider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
invokevirtual org.bouncycastle.asn1.cms.DigestedData.getEncapContentInfo:()Lorg/bouncycastle/asn1/cms/ContentInfo;
astore 2
start local 2 1: aload 1
aload 0
getfield org.bouncycastle.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
invokevirtual org.bouncycastle.asn1.cms.DigestedData.getDigestAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestCalculatorProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/DigestCalculator;
astore 3
start local 3 2: aload 3
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 4
start local 4 3: aload 4
aload 2
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokevirtual java.io.OutputStream.write:([B)V
4: aload 0
getfield org.bouncycastle.cms.CMSDigestedData.digestedData:Lorg/bouncycastle/asn1/cms/DigestedData;
invokevirtual org.bouncycastle.asn1.cms.DigestedData.getDigest:()[B
aload 3
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
invokestatic org.bouncycastle.util.Arrays.areEqual:([B[B)Z
5: ireturn
end local 4 end local 3 end local 2 6: StackMap locals:
StackMap stack: org.bouncycastle.operator.OperatorCreationException
astore 2
start local 2 7: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "unable to create digest calculator: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.bouncycastle.operator.OperatorCreationException.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.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 8: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 9: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "unable process content: "
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.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/cms/CMSDigestedData;
0 10 1 calculatorProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
1 6 2 content Lorg/bouncycastle/asn1/cms/ContentInfo;
2 6 3 calc Lorg/bouncycastle/operator/DigestCalculator;
3 6 4 dOut Ljava/io/OutputStream;
7 8 2 e Lorg/bouncycastle/operator/OperatorCreationException;
9 10 2 e Ljava/io/IOException;
Exception table:
from to target type
0 5 6 Class org.bouncycastle.operator.OperatorCreationException
0 5 8 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
calculatorProvider
}
SourceFile: "CMSDigestedData.java"