public class org.bouncycastle.tsp.TimeStampResponse
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.tsp.TimeStampResponse
  super_class: java.lang.Object
{
  org.bouncycastle.asn1.tsp.TimeStampResp resp;
    descriptor: Lorg/bouncycastle/asn1/tsp/TimeStampResp;
    flags: (0x0000) 

  org.bouncycastle.tsp.TimeStampToken timeStampToken;
    descriptor: Lorg/bouncycastle/tsp/TimeStampToken;
    flags: (0x0000) 

  public void <init>(org.bouncycastle.asn1.tsp.TimeStampResp);
    descriptor: (Lorg/bouncycastle/asn1/tsp/TimeStampResp;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // org.bouncycastle.asn1.tsp.TimeStampResp resp
         0: .line 28
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 31
            aload 0 /* this */
            aload 1 /* resp */
            putfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
         2: .line 33
            aload 1 /* resp */
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getTimeStampToken:()Lorg/bouncycastle/asn1/cms/ContentInfo;
            ifnull 4
         3: .line 35
            aload 0 /* this */
            new org.bouncycastle.tsp.TimeStampToken
            dup
            aload 1 /* resp */
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getTimeStampToken:()Lorg/bouncycastle/asn1/cms/ContentInfo;
            invokespecial org.bouncycastle.tsp.TimeStampToken.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
            putfield org.bouncycastle.tsp.TimeStampResponse.timeStampToken:Lorg/bouncycastle/tsp/TimeStampToken;
         4: .line 37
      StackMap locals: org.bouncycastle.tsp.TimeStampResponse org.bouncycastle.asn1.tsp.TimeStampResp
      StackMap stack:
            return
        end local 1 // org.bouncycastle.asn1.tsp.TimeStampResp resp
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0    5     1  resp  Lorg/bouncycastle/asn1/tsp/TimeStampResp;
    Exceptions:
      throws org.bouncycastle.tsp.TSPException, java.io.IOException
    MethodParameters:
      Name  Flags
      resp  

  public void <init>(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // byte[] resp
         0: .line 49
            aload 0 /* this */
            new java.io.ByteArrayInputStream
            dup
            aload 1 /* resp */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            invokespecial org.bouncycastle.tsp.TimeStampResponse.<init>:(Ljava/io/InputStream;)V
         1: .line 50
            return
        end local 1 // byte[] resp
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0    2     1  resp  [B
    Exceptions:
      throws org.bouncycastle.tsp.TSPException, java.io.IOException
    MethodParameters:
      Name  Flags
      resp  

  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 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // java.io.InputStream in
         0: .line 62
            aload 0 /* this */
            aload 1 /* in */
            invokestatic org.bouncycastle.tsp.TimeStampResponse.readTimeStampResp:(Ljava/io/InputStream;)Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokespecial org.bouncycastle.tsp.TimeStampResponse.<init>:(Lorg/bouncycastle/asn1/tsp/TimeStampResp;)V
         1: .line 63
            return
        end local 1 // java.io.InputStream in
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0    2     1    in  Ljava/io/InputStream;
    Exceptions:
      throws org.bouncycastle.tsp.TSPException, java.io.IOException
    MethodParameters:
      Name  Flags
      in    

  void <init>(org.bouncycastle.asn1.DLSequence);
    descriptor: (Lorg/bouncycastle/asn1/DLSequence;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // org.bouncycastle.asn1.DLSequence dlSequence
         0: .line 65
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            aload 1 /* dlSequence */
            invokestatic org.bouncycastle.asn1.tsp.TimeStampResp.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            putfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
         2: .line 71
            aload 0 /* this */
            new org.bouncycastle.tsp.TimeStampToken
            dup
            aload 1 /* dlSequence */
            iconst_1
            invokevirtual org.bouncycastle.asn1.DLSequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
            invokestatic org.bouncycastle.asn1.cms.ContentInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/ContentInfo;
            invokespecial org.bouncycastle.tsp.TimeStampToken.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
            putfield org.bouncycastle.tsp.TimeStampResponse.timeStampToken:Lorg/bouncycastle/tsp/TimeStampToken;
         3: .line 72
            goto 8
         4: .line 73
      StackMap locals: org.bouncycastle.tsp.TimeStampResponse org.bouncycastle.asn1.DLSequence
      StackMap stack: java.lang.IllegalArgumentException
            astore 2 /* e */
        start local 2 // java.lang.IllegalArgumentException e
         5: .line 75
            new org.bouncycastle.tsp.TSPException
            dup
            new java.lang.StringBuilder
            dup
            ldc "malformed timestamp response: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.IllegalArgumentException e
         6: .line 77
      StackMap locals:
      StackMap stack: java.lang.ClassCastException
            astore 2 /* e */
        start local 2 // java.lang.ClassCastException e
         7: .line 79
            new org.bouncycastle.tsp.TSPException
            dup
            new java.lang.StringBuilder
            dup
            ldc "malformed timestamp response: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.ClassCastException e
         8: .line 81
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.bouncycastle.asn1.DLSequence dlSequence
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0    9     1  dlSequence  Lorg/bouncycastle/asn1/DLSequence;
            5    6     2           e  Ljava/lang/IllegalArgumentException;
            7    8     2           e  Ljava/lang/ClassCastException;
      Exception table:
        from    to  target  type
           1     3       4  Class java.lang.IllegalArgumentException
           1     3       6  Class java.lang.ClassCastException
    Exceptions:
      throws org.bouncycastle.tsp.TSPException, java.io.IOException
    MethodParameters:
            Name  Flags
      dlSequence  

  private static org.bouncycastle.asn1.tsp.TimeStampResp readTimeStampResp(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Lorg/bouncycastle/asn1/tsp/TimeStampResp;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.io.InputStream in
         0: .line 89
            new org.bouncycastle.asn1.ASN1InputStream
            dup
            aload 0 /* in */
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;)V
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/ASN1Primitive;
            invokestatic org.bouncycastle.asn1.tsp.TimeStampResp.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/tsp/TimeStampResp;
         1: areturn
         2: .line 91
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
            astore 1 /* e */
        start local 1 // java.lang.IllegalArgumentException e
         3: .line 93
            new org.bouncycastle.tsp.TSPException
            dup
            new java.lang.StringBuilder
            dup
            ldc "malformed timestamp response: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1 /* e */
            invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.IllegalArgumentException e
         4: .line 95
      StackMap locals:
      StackMap stack: java.lang.ClassCastException
            astore 1 /* e */
        start local 1 // java.lang.ClassCastException e
         5: .line 97
            new org.bouncycastle.tsp.TSPException
            dup
            new java.lang.StringBuilder
            dup
            ldc "malformed timestamp response: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1 /* e */
            invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.ClassCastException e
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0    in  Ljava/io/InputStream;
            3    4     1     e  Ljava/lang/IllegalArgumentException;
            5    6     1     e  Ljava/lang/ClassCastException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.IllegalArgumentException
           0     1       4  Class java.lang.ClassCastException
    Exceptions:
      throws java.io.IOException, org.bouncycastle.tsp.TSPException
    MethodParameters:
      Name  Flags
      in    

  public int getStatus();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
         0: .line 103
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.getStatus:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.intValue:()I
            ireturn
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;

  public java.lang.String getStatusString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
         0: .line 108
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.getStatusString:()Lorg/bouncycastle/asn1/cmp/PKIFreeText;
            ifnull 9
         1: .line 110
            new java.lang.StringBuffer
            dup
            invokespecial java.lang.StringBuffer.<init>:()V
            astore 1 /* statusStringBuf */
        start local 1 // java.lang.StringBuffer statusStringBuf
         2: .line 111
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.getStatusString:()Lorg/bouncycastle/asn1/cmp/PKIFreeText;
            astore 2 /* text */
        start local 2 // org.bouncycastle.asn1.cmp.PKIFreeText text
         3: .line 112
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 7
         5: .line 114
      StackMap locals: java.lang.StringBuffer org.bouncycastle.asn1.cmp.PKIFreeText int
      StackMap stack:
            aload 1 /* statusStringBuf */
            aload 2 /* text */
            iload 3 /* i */
            invokevirtual org.bouncycastle.asn1.cmp.PKIFreeText.getStringAt:(I)Lorg/bouncycastle/asn1/DERUTF8String;
            invokevirtual org.bouncycastle.asn1.DERUTF8String.getString:()Ljava/lang/String;
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
         6: .line 112
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 3 /* i */
            aload 2 /* text */
            invokevirtual org.bouncycastle.asn1.cmp.PKIFreeText.size:()I
            if_icmpne 5
        end local 3 // int i
         8: .line 116
            aload 1 /* statusStringBuf */
            invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
            areturn
        end local 2 // org.bouncycastle.asn1.cmp.PKIFreeText text
        end local 1 // java.lang.StringBuffer statusStringBuf
         9: .line 120
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   10     0             this  Lorg/bouncycastle/tsp/TimeStampResponse;
            2    9     1  statusStringBuf  Ljava/lang/StringBuffer;
            3    9     2             text  Lorg/bouncycastle/asn1/cmp/PKIFreeText;
            4    8     3                i  I

  public org.bouncycastle.asn1.cmp.PKIFailureInfo getFailInfo();
    descriptor: ()Lorg/bouncycastle/asn1/cmp/PKIFailureInfo;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
         0: .line 126
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.getFailInfo:()Lorg/bouncycastle/asn1/DERBitString;
            ifnull 2
         1: .line 128
            new org.bouncycastle.asn1.cmp.PKIFailureInfo
            dup
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.getFailInfo:()Lorg/bouncycastle/asn1/DERBitString;
            invokespecial org.bouncycastle.asn1.cmp.PKIFailureInfo.<init>:(Lorg/bouncycastle/asn1/DERBitString;)V
            areturn
         2: .line 131
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;

  public org.bouncycastle.tsp.TimeStampToken getTimeStampToken();
    descriptor: ()Lorg/bouncycastle/tsp/TimeStampToken;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
         0: .line 136
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.timeStampToken:Lorg/bouncycastle/tsp/TimeStampToken;
            areturn
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;

  public void validate(org.bouncycastle.tsp.TimeStampRequest);
    descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // org.bouncycastle.tsp.TimeStampRequest request
         0: .line 151
            aload 0 /* this */
            invokevirtual org.bouncycastle.tsp.TimeStampResponse.getTimeStampToken:()Lorg/bouncycastle/tsp/TimeStampToken;
            astore 2 /* tok */
        start local 2 // org.bouncycastle.tsp.TimeStampToken tok
         1: .line 153
            aload 2 /* tok */
            ifnull 18
         2: .line 155
            aload 2 /* tok */
            invokevirtual org.bouncycastle.tsp.TimeStampToken.getTimeStampInfo:()Lorg/bouncycastle/tsp/TimeStampTokenInfo;
            astore 3 /* tstInfo */
        start local 3 // org.bouncycastle.tsp.TimeStampTokenInfo tstInfo
         3: .line 157
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getNonce:()Ljava/math/BigInteger;
            ifnull 5
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getNonce:()Ljava/math/BigInteger;
            aload 3 /* tstInfo */
            invokevirtual org.bouncycastle.tsp.TimeStampTokenInfo.getNonce:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifne 5
         4: .line 159
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "response contains wrong nonce value."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 162
      StackMap locals: org.bouncycastle.tsp.TimeStampToken org.bouncycastle.tsp.TimeStampTokenInfo
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.bouncycastle.tsp.TimeStampResponse.getStatus:()I
            ifeq 7
            aload 0 /* this */
            invokevirtual org.bouncycastle.tsp.TimeStampResponse.getStatus:()I
            iconst_1
            if_icmpeq 7
         6: .line 164
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "time stamp token found in failed request."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 167
      StackMap locals:
      StackMap stack:
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getMessageImprintDigest:()[B
            aload 3 /* tstInfo */
            invokevirtual org.bouncycastle.tsp.TimeStampTokenInfo.getMessageImprintDigest:()[B
            invokestatic org.bouncycastle.util.Arrays.constantTimeAreEqual:([B[B)Z
            ifne 9
         8: .line 169
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "response for different message imprint digest."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 172
      StackMap locals:
      StackMap stack:
            aload 3 /* tstInfo */
            invokevirtual org.bouncycastle.tsp.TimeStampTokenInfo.getMessageImprintAlgOID:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getMessageImprintAlgOID:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
            ifne 11
        10: .line 174
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "response for different message imprint algorithm."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 177
      StackMap locals:
      StackMap stack:
            aload 2 /* tok */
            invokevirtual org.bouncycastle.tsp.TimeStampToken.getSignedAttributes:()Lorg/bouncycastle/asn1/cms/AttributeTable;
            getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_signingCertificate:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.asn1.cms.AttributeTable.get:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/cms/Attribute;
            astore 4 /* scV1 */
        start local 4 // org.bouncycastle.asn1.cms.Attribute scV1
        12: .line 178
            aload 2 /* tok */
            invokevirtual org.bouncycastle.tsp.TimeStampToken.getSignedAttributes:()Lorg/bouncycastle/asn1/cms/AttributeTable;
            getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_signingCertificateV2:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.asn1.cms.AttributeTable.get:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/cms/Attribute;
            astore 5 /* scV2 */
        start local 5 // org.bouncycastle.asn1.cms.Attribute scV2
        13: .line 180
            aload 4 /* scV1 */
            ifnonnull 15
            aload 5 /* scV2 */
            ifnonnull 15
        14: .line 182
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "no signing certificate attribute present."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 185
      StackMap locals: org.bouncycastle.asn1.cms.Attribute org.bouncycastle.asn1.cms.Attribute
      StackMap stack:
            aload 4 /* scV1 */
            ifnull 16
        16: .line 193
      StackMap locals:
      StackMap stack:
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getReqPolicy:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            ifnull 20
            aload 1 /* request */
            invokevirtual org.bouncycastle.tsp.TimeStampRequest.getReqPolicy:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            aload 3 /* tstInfo */
            invokevirtual org.bouncycastle.tsp.TimeStampTokenInfo.getPolicy:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
            ifne 20
        17: .line 195
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "TSA policy wrong for request."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 5 // org.bouncycastle.asn1.cms.Attribute scV2
        end local 4 // org.bouncycastle.asn1.cms.Attribute scV1
        end local 3 // org.bouncycastle.tsp.TimeStampTokenInfo tstInfo
        18: .line 198
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.bouncycastle.tsp.TimeStampResponse.getStatus:()I
            ifeq 19
            aload 0 /* this */
            invokevirtual org.bouncycastle.tsp.TimeStampResponse.getStatus:()I
            iconst_1
            if_icmpne 20
        19: .line 200
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.tsp.TSPValidationException
            dup
            ldc "no time stamp token found and one expected."
            invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 202
      StackMap locals:
      StackMap stack:
            return
        end local 2 // org.bouncycastle.tsp.TimeStampToken tok
        end local 1 // org.bouncycastle.tsp.TimeStampRequest request
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   21     0     this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0   21     1  request  Lorg/bouncycastle/tsp/TimeStampRequest;
            1   21     2      tok  Lorg/bouncycastle/tsp/TimeStampToken;
            3   18     3  tstInfo  Lorg/bouncycastle/tsp/TimeStampTokenInfo;
           12   18     4     scV1  Lorg/bouncycastle/asn1/cms/Attribute;
           13   18     5     scV2  Lorg/bouncycastle/asn1/cms/Attribute;
    Exceptions:
      throws org.bouncycastle.tsp.TSPException
    MethodParameters:
         Name  Flags
      request  

  public byte[] getEncoded();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
         0: .line 209
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getEncoded:()[B
            areturn
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/tsp/TimeStampResponse;
    Exceptions:
      throws java.io.IOException

  public byte[] getEncoded(java.lang.String);
    descriptor: (Ljava/lang/String;)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // org.bouncycastle.tsp.TimeStampResponse this
        start local 1 // java.lang.String encoding
         0: .line 217
            ldc "DL"
            aload 1 /* encoding */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 219
            new org.bouncycastle.asn1.DLSequence
            dup
            iconst_2
            anewarray org.bouncycastle.asn1.ASN1Encodable
            dup
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getStatus:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.timeStampToken:Lorg/bouncycastle/tsp/TimeStampToken;
            invokevirtual org.bouncycastle.tsp.TimeStampToken.toCMSSignedData:()Lorg/bouncycastle/cms/CMSSignedData;
            invokevirtual org.bouncycastle.cms.CMSSignedData.toASN1Structure:()Lorg/bouncycastle/asn1/cms/ContentInfo;
            aastore
            invokespecial org.bouncycastle.asn1.DLSequence.<init>:([Lorg/bouncycastle/asn1/ASN1Encodable;)V
            aload 1 /* encoding */
            invokevirtual org.bouncycastle.asn1.DLSequence.getEncoded:(Ljava/lang/String;)[B
            areturn
         2: .line 221
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.tsp.TimeStampResponse.resp:Lorg/bouncycastle/asn1/tsp/TimeStampResp;
            aload 1 /* encoding */
            invokevirtual org.bouncycastle.asn1.tsp.TimeStampResp.getEncoded:(Ljava/lang/String;)[B
            areturn
        end local 1 // java.lang.String encoding
        end local 0 // org.bouncycastle.tsp.TimeStampResponse this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lorg/bouncycastle/tsp/TimeStampResponse;
            0    3     1  encoding  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      encoding  
}
SourceFile: "TimeStampResponse.java"