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 // org.bouncycastle.tsp.cms.MetaDataUtil this
        start local 1 // org.bouncycastle.asn1.cms.MetaData metaData
         0: .line 16
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 18
            aload 0 /* this */
            aload 1 /* metaData */
            putfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
         2: .line 19
            return
        end local 1 // org.bouncycastle.asn1.cms.MetaData metaData
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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 // org.bouncycastle.tsp.cms.MetaDataUtil this
        start local 1 // org.bouncycastle.operator.DigestCalculator calculator
         0: .line 24
            aload 0 /* this */
            getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
            ifnull 5
            aload 0 /* this */
            getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
            invokevirtual org.bouncycastle.asn1.cms.MetaData.isHashProtected:()Z
            ifeq 5
         1: .line 28
            aload 1 /* calculator */
            invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
            aload 0 /* this */
            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: .line 29
            goto 5
         3: .line 30
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* e */
        start local 2 // java.io.IOException e
         4: .line 32
            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 /* 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
         5: .line 35
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.bouncycastle.operator.DigestCalculator calculator
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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 // org.bouncycastle.tsp.cms.MetaDataUtil this
         0: .line 39
            aload 0 /* this */
            getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
            ifnull 2
         1: .line 41
            aload 0 /* this */
            aload 0 /* this */
            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: .line 44
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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 // org.bouncycastle.tsp.cms.MetaDataUtil this
         0: .line 49
            aload 0 /* this */
            getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
            ifnull 2
         1: .line 51
            aload 0 /* this */
            aload 0 /* this */
            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: .line 54
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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 // org.bouncycastle.tsp.cms.MetaDataUtil this
         0: .line 59
            aload 0 /* this */
            getfield org.bouncycastle.tsp.cms.MetaDataUtil.metaData:Lorg/bouncycastle/asn1/cms/MetaData;
            ifnull 2
         1: .line 61
            aload 0 /* this */
            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: .line 64
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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 // org.bouncycastle.tsp.cms.MetaDataUtil this
        start local 1 // org.bouncycastle.asn1.ASN1String s
         0: .line 69
            aload 1 /* s */
            ifnull 2
         1: .line 71
            aload 1 /* s */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            areturn
         2: .line 74
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // org.bouncycastle.asn1.ASN1String s
        end local 0 // org.bouncycastle.tsp.cms.MetaDataUtil this
      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"