public class org.bouncycastle.asn1.cms.ContentInfo extends org.bouncycastle.asn1.ASN1Encodable implements org.bouncycastle.asn1.cms.CMSObjectIdentifiers
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.cms.ContentInfo
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.ASN1ObjectIdentifier contentType;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DEREncodable content;
descriptor: Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.cms.ContentInfo getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/ContentInfo;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.cms.ContentInfo
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.cms.ContentInfo
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 4
3: new org.bouncycastle.asn1.cms.ContentInfo
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.cms.ContentInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in factory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_1
if_icmplt 2
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmple 3
2: StackMap locals: org.bouncycastle.asn1.cms.ContentInfo org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad sequence size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
putfield org.bouncycastle.asn1.cms.ContentInfo.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
4: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_1
if_icmple 9
5: aload 1
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 2
start local 2 6: aload 2
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.isExplicit:()Z
ifeq 7
aload 2
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
ifeq 8
7: StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Bad tag for 'content'"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
putfield org.bouncycastle.asn1.cms.ContentInfo.content:Lorg/bouncycastle/asn1/DEREncodable;
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/asn1/cms/ContentInfo;
0 10 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
6 9 2 tagged Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
seq
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)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 org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.cms.ContentInfo.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
2: aload 0
aload 2
putfield org.bouncycastle.asn1.cms.ContentInfo.content:Lorg/bouncycastle/asn1/DEREncodable;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/cms/ContentInfo;
0 4 1 contentType Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 4 2 content Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
contentType
content
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.asn1.cms.ContentInfo.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cms/ContentInfo;
public org.bouncycastle.asn1.DEREncodable getContent();
descriptor: ()Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.cms.ContentInfo.content:Lorg/bouncycastle/asn1/DEREncodable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/cms/ContentInfo;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.bouncycastle.asn1.cms.ContentInfo.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
2: aload 0
getfield org.bouncycastle.asn1.cms.ContentInfo.content:Lorg/bouncycastle/asn1/DEREncodable;
ifnull 4
3: aload 1
new org.bouncycastle.asn1.BERTaggedObject
dup
iconst_0
aload 0
getfield org.bouncycastle.asn1.cms.ContentInfo.content:Lorg/bouncycastle/asn1/DEREncodable;
invokespecial org.bouncycastle.asn1.BERTaggedObject.<init>:(ILorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
new org.bouncycastle.asn1.BERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.BERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/cms/ContentInfo;
1 5 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "ContentInfo.java"