public class org.bouncycastle.tsp.TimeStampResponseGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.tsp.TimeStampResponseGenerator
super_class: java.lang.Object
{
int status;
descriptor: I
flags: (0x0000)
org.bouncycastle.asn1.ASN1EncodableVector statusStrings;
descriptor: Lorg/bouncycastle/asn1/ASN1EncodableVector;
flags: (0x0000)
int failInfo;
descriptor: I
flags: (0x0000)
private org.bouncycastle.tsp.TimeStampTokenGenerator tokenGenerator;
descriptor: Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
flags: (0x0002) ACC_PRIVATE
private java.util.Set acceptedAlgorithms;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
private java.util.Set acceptedPolicies;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
private java.util.Set acceptedExtensions;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.tsp.TimeStampTokenGenerator, java.util.Set);
descriptor: (Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokespecial org.bouncycastle.tsp.TimeStampResponseGenerator.<init>:(Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 2 1 tokenGenerator Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 2 acceptedAlgorithms Ljava/util/Set;
MethodParameters:
Name Flags
tokenGenerator
acceptedAlgorithms
public void <init>(org.bouncycastle.tsp.TimeStampTokenGenerator, java.util.Set, java.util.Set);
descriptor: (Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial org.bouncycastle.tsp.TimeStampResponseGenerator.<init>:(Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 2 1 tokenGenerator Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 2 acceptedAlgorithms Ljava/util/Set;
0 2 3 acceptedPolicies Ljava/util/Set;
MethodParameters:
Name Flags
tokenGenerator
acceptedAlgorithms
acceptedPolicies
public void <init>(org.bouncycastle.tsp.TimeStampTokenGenerator, java.util.Set, java.util.Set, java.util.Set);
descriptor: (Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.tokenGenerator:Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
2: aload 0
aload 0
aload 2
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.convert:(Ljava/util/Set;)Ljava/util/Set;
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedAlgorithms:Ljava/util/Set;
3: aload 0
aload 0
aload 3
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.convert:(Ljava/util/Set;)Ljava/util/Set;
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedPolicies:Ljava/util/Set;
4: aload 0
aload 0
aload 4
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.convert:(Ljava/util/Set;)Ljava/util/Set;
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedExtensions:Ljava/util/Set;
5: aload 0
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 7 1 tokenGenerator Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 7 2 acceptedAlgorithms Ljava/util/Set;
0 7 3 acceptedPolicies Ljava/util/Set;
0 7 4 acceptedExtensions Ljava/util/Set;
MethodParameters:
Name Flags
tokenGenerator
acceptedAlgorithms
acceptedPolicies
acceptedExtensions
private void addStatusString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
new org.bouncycastle.asn1.DERUTF8String
dup
aload 1
invokespecial org.bouncycastle.asn1.DERUTF8String.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 2 1 statusString Ljava/lang/String;
MethodParameters:
Name Flags
statusString
private void setFailInfoField(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.failInfo:I
iload 1
ior
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.failInfo:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 2 1 field I
MethodParameters:
Name Flags
field
private org.bouncycastle.asn1.cmp.PKIStatusInfo getPKIStatusInfo();
descriptor: ()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, 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
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.status:I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.size:()I
ifle 4
3: aload 1
new org.bouncycastle.asn1.DERSequence
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokestatic org.bouncycastle.asn1.cmp.PKIFreeText.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cmp/PKIFreeText;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.failInfo:I
ifeq 7
5: new org.bouncycastle.tsp.TimeStampResponseGenerator$FailInfo
dup
aload 0
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.failInfo:I
invokespecial org.bouncycastle.tsp.TimeStampResponseGenerator$FailInfo.<init>:(Lorg/bouncycastle/tsp/TimeStampResponseGenerator;I)V
astore 2
start local 2 6: aload 1
aload 2
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
end local 2 7: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokestatic org.bouncycastle.asn1.cmp.PKIStatusInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
1 8 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
6 7 2 failInfoBitString Lorg/bouncycastle/asn1/DERBitString;
public org.bouncycastle.tsp.TimeStampResponse generate(org.bouncycastle.tsp.TimeStampRequest, java.math.BigInteger, java.util.Date);
descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
ldc "Operation Okay"
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateGrantedResponse:(Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Ljava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 3: aload 0
aload 4
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateRejectedResponse:(Ljava/lang/Exception;)Lorg/bouncycastle/tsp/TimeStampResponse;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 4 1 request Lorg/bouncycastle/tsp/TimeStampRequest;
0 4 2 serialNumber Ljava/math/BigInteger;
0 4 3 genTime Ljava/util/Date;
3 4 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
request
serialNumber
genTime
public org.bouncycastle.tsp.TimeStampResponse generateGrantedResponse(org.bouncycastle.tsp.TimeStampRequest, java.math.BigInteger, java.util.Date);
descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateGrantedResponse:(Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Ljava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 1 1 request Lorg/bouncycastle/tsp/TimeStampRequest;
0 1 2 serialNumber Ljava/math/BigInteger;
0 1 3 genTime Ljava/util/Date;
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
request
serialNumber
genTime
public org.bouncycastle.tsp.TimeStampResponse generateGrantedResponse(org.bouncycastle.tsp.TimeStampRequest, java.math.BigInteger, java.util.Date, java.lang.String);
descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Ljava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateGrantedResponse:(Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Ljava/lang/String;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/tsp/TimeStampResponse;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 1 1 request Lorg/bouncycastle/tsp/TimeStampRequest;
0 1 2 serialNumber Ljava/math/BigInteger;
0 1 3 genTime Ljava/util/Date;
0 1 4 statusString Ljava/lang/String;
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
request
serialNumber
genTime
statusString
public org.bouncycastle.tsp.TimeStampResponse generateGrantedResponse(org.bouncycastle.tsp.TimeStampRequest, java.math.BigInteger, java.util.Date, java.lang.String, org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Ljava/lang/String;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
ifnonnull 2
1: new org.bouncycastle.tsp.TSPValidationException
dup
ldc "The time source is not available."
sipush 512
invokespecial org.bouncycastle.tsp.TSPValidationException.<init>:(Ljava/lang/String;I)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedAlgorithms:Ljava/util/Set;
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedPolicies:Ljava/util/Set;
aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.acceptedExtensions:Ljava/util/Set;
invokevirtual org.bouncycastle.tsp.TimeStampRequest.validate:(Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;)V
3: aload 0
iconst_0
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.status:I
4: aload 0
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
5: aload 4
ifnull 7
6: aload 0
aload 4
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.addStatusString:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.getPKIStatusInfo:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
astore 6
start local 6 8: aload 0
getfield org.bouncycastle.tsp.TimeStampResponseGenerator.tokenGenerator:Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
aload 1
aload 2
aload 3
aload 5
invokevirtual org.bouncycastle.tsp.TimeStampTokenGenerator.generate:(Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)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;
astore 7
start local 7 9: goto 16
end local 7 10: StackMap locals: org.bouncycastle.tsp.TimeStampResponseGenerator org.bouncycastle.tsp.TimeStampRequest java.math.BigInteger java.util.Date java.lang.String org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.cmp.PKIStatusInfo
StackMap stack: org.bouncycastle.tsp.TSPException
astore 8
start local 8 11: aload 8
athrow
end local 8 12: StackMap locals:
StackMap stack: java.lang.Exception
astore 8
start local 8 13: new org.bouncycastle.tsp.TSPException
dup
14: ldc "Timestamp token received cannot be converted to ContentInfo"
aload 8
15: invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 start local 7 16: StackMap locals: org.bouncycastle.asn1.cms.ContentInfo
StackMap stack:
new org.bouncycastle.tsp.TimeStampResponse
dup
new org.bouncycastle.asn1.DLSequence
dup
iconst_2
anewarray org.bouncycastle.asn1.ASN1Encodable
dup
iconst_0
aload 6
invokevirtual org.bouncycastle.asn1.cmp.PKIStatusInfo.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
aastore
dup
iconst_1
aload 7
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
aastore
invokespecial org.bouncycastle.asn1.DLSequence.<init>:([Lorg/bouncycastle/asn1/ASN1Encodable;)V
invokespecial org.bouncycastle.tsp.TimeStampResponse.<init>:(Lorg/bouncycastle/asn1/DLSequence;)V
17: areturn
18: StackMap locals:
StackMap stack: java.io.IOException
pop
19: new org.bouncycastle.tsp.TSPException
dup
ldc "created badly formatted response!"
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 20 1 request Lorg/bouncycastle/tsp/TimeStampRequest;
0 20 2 serialNumber Ljava/math/BigInteger;
0 20 3 genTime Ljava/util/Date;
0 20 4 statusString Ljava/lang/String;
0 20 5 additionalExtensions Lorg/bouncycastle/asn1/x509/Extensions;
8 20 6 pkiStatusInfo Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
9 10 7 tstTokenContentInfo Lorg/bouncycastle/asn1/cms/ContentInfo;
16 20 7 tstTokenContentInfo Lorg/bouncycastle/asn1/cms/ContentInfo;
11 12 8 e Lorg/bouncycastle/tsp/TSPException;
13 16 8 e Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class org.bouncycastle.tsp.TSPException
8 9 12 Class java.lang.Exception
16 17 18 Class java.io.IOException
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
request
serialNumber
genTime
statusString
additionalExtensions
public org.bouncycastle.tsp.TimeStampResponse generateRejectedResponse(java.lang.Exception);
descriptor: (Ljava/lang/Exception;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.tsp.TSPValidationException
ifeq 2
1: aload 0
iconst_2
aload 1
checkcast org.bouncycastle.tsp.TSPValidationException
invokevirtual org.bouncycastle.tsp.TSPValidationException.getFailureCode:()I
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateFailResponse:(IILjava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_2
ldc 1073741824
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.generateFailResponse:(IILjava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 3 1 exception Ljava/lang/Exception;
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
exception
public org.bouncycastle.tsp.TimeStampResponse generateFailResponse(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)Lorg/bouncycastle/tsp/TimeStampResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.status:I
1: aload 0
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
putfield org.bouncycastle.tsp.TimeStampResponseGenerator.statusStrings:Lorg/bouncycastle/asn1/ASN1EncodableVector;
2: aload 0
iload 2
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.setFailInfoField:(I)V
3: aload 3
ifnull 5
4: aload 0
aload 3
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.addStatusString:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.tsp.TimeStampResponseGenerator.getPKIStatusInfo:()Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
astore 4
start local 4 6: new org.bouncycastle.asn1.tsp.TimeStampResp
dup
aload 4
aconst_null
invokespecial org.bouncycastle.asn1.tsp.TimeStampResp.<init>:(Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;Lorg/bouncycastle/asn1/cms/ContentInfo;)V
astore 5
start local 5 7: new org.bouncycastle.tsp.TimeStampResponse
dup
aload 5
invokespecial org.bouncycastle.tsp.TimeStampResponse.<init>:(Lorg/bouncycastle/asn1/tsp/TimeStampResp;)V
8: areturn
9: StackMap locals: org.bouncycastle.tsp.TimeStampResponseGenerator int int java.lang.String org.bouncycastle.asn1.cmp.PKIStatusInfo org.bouncycastle.asn1.tsp.TimeStampResp
StackMap stack: java.io.IOException
pop
10: new org.bouncycastle.tsp.TSPException
dup
ldc "created badly formatted response!"
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 11 1 status I
0 11 2 failInfoField I
0 11 3 statusString Ljava/lang/String;
6 11 4 pkiStatusInfo Lorg/bouncycastle/asn1/cmp/PKIStatusInfo;
7 11 5 resp Lorg/bouncycastle/asn1/tsp/TimeStampResp;
Exception table:
from to target type
7 8 9 Class java.io.IOException
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
status
failInfoField
statusString
private java.util.Set convert(java.util.Set);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
aload 1
invokeinterface java.util.Set.size:()I
invokespecial java.util.HashSet.<init>:(I)V
astore 2
start local 2 3: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 4: goto 10
5: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 6: aload 4
instanceof java.lang.String
ifeq 9
7: aload 2
new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 4
checkcast java.lang.String
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: goto 10
9: StackMap locals: java.lang.Object
StackMap stack:
aload 2
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/tsp/TimeStampResponseGenerator;
0 12 1 orig Ljava/util/Set;
3 12 2 con Ljava/util/Set;
4 11 3 it Ljava/util/Iterator;
6 10 4 o Ljava/lang/Object;
MethodParameters:
Name Flags
orig
}
SourceFile: "TimeStampResponseGenerator.java"
NestMembers:
org.bouncycastle.tsp.TimeStampResponseGenerator$FailInfo
InnerClasses:
FailInfo = org.bouncycastle.tsp.TimeStampResponseGenerator$FailInfo of org.bouncycastle.tsp.TimeStampResponseGenerator