class org.bouncycastle.tsp.cms.MetaDataUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.tsp.cms.MetaDataUtil
super_class: java.lang.Object
{
private final org.bouncycastle.asn1.cms.MetaData metaData;
descriptor: Lorg/bouncycastle/asn1/cms/MetaData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.bouncycastle.asn1.cms.MetaData);
descriptor: (Lorg/bouncycastle/asn1/cms/MetaData;)V
flags: (0x0000)
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.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
0 3 1 metaData Lorg/bouncycastle/asn1/cms/MetaData;
MethodParameters:
Name Flags
metaData
void initialiseMessageImprintDigestCalculator(org.bouncycastle.operator.DigestCalculator);
descriptor: (Lorg/bouncycastle/operator/DigestCalculator;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
ifnull 5
aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
invokevirtual org.bouncycastle.asn1.cms.MetaData.isHashProtected:()Z
ifeq 5
1: aload 1
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
ldc "DER"
invokevirtual org.bouncycastle.asn1.cms.MetaData.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
2: goto 5
3: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 4: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "unable to initialise calculator from metaData: "
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 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
0 6 1 calculator Lorg/bouncycastle/operator/DigestCalculator;
4 5 2 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
calculator
java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
ifnull 2
1: aload 0
aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
invokevirtual org.bouncycastle.asn1.cms.MetaData.getFileName:()Lorg/bouncycastle/asn1/DERUTF8String;
invokevirtual org.bouncycastle.tsp.cms.MetaDataUtil.convertString:(Lorg/bouncycastle/asn1/ASN1String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
java.lang.String getMediaType();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
ifnull 2
1: aload 0
aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
invokevirtual org.bouncycastle.asn1.cms.MetaData.getMediaType:()Lorg/bouncycastle/asn1/DERIA5String;
invokevirtual org.bouncycastle.tsp.cms.MetaDataUtil.convertString:(Lorg/bouncycastle/asn1/ASN1String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
org.bouncycastle.asn1.cms.Attributes getOtherMetaData();
descriptor: ()Lorg/bouncycastle/asn1/cms/Attributes;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
ifnull 2
1: aload 0
getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
invokevirtual org.bouncycastle.asn1.cms.MetaData.getOtherMetaData:()Lorg/bouncycastle/asn1/cms/Attributes;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
private java.lang.String convertString(org.bouncycastle.asn1.ASN1String);
descriptor: (Lorg/bouncycastle/asn1/ASN1String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/cms/MetaDataUtil;
0 3 1 s Lorg/bouncycastle/asn1/ASN1String;
MethodParameters:
Name Flags
s
}
SourceFile: "MetaDataUtil.java"