public class org.bouncycastle.tsp.TimeStampTokenGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.tsp.TimeStampTokenGenerator
super_class: java.lang.Object
{
public static final int R_SECONDS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int R_TENTHS_OF_SECONDS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int R_MICROSECONDS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int R_MILLISECONDS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private int resolution;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private int accuracySeconds;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int accuracyMillis;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int accuracyMicros;
descriptor: I
flags: (0x0002) ACC_PRIVATE
boolean ordering;
descriptor: Z
flags: (0x0000)
org.bouncycastle.asn1.x509.GeneralName tsa;
descriptor: Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0000)
private org.bouncycastle.asn1.ASN1ObjectIdentifier tsaPolicyOID;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.util.List certs;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.List crls;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.List attrCerts;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.Map otherRevoc;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cms.SignerInfoGenerator signerInfoGen;
descriptor: Lorg/bouncycastle/cms/SignerInfoGenerator;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.cms.SignerInfoGenerator, org.bouncycastle.operator.DigestCalculator, org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/operator/DigestCalculator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)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
iconst_0
invokespecial org.bouncycastle.tsp.TimeStampTokenGenerator.<init>:(Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/operator/DigestCalculator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Z)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/TimeStampTokenGenerator;
0 2 1 signerInfoGen Lorg/bouncycastle/cms/SignerInfoGenerator;
0 2 2 digestCalculator Lorg/bouncycastle/operator/DigestCalculator;
0 2 3 tsaPolicy Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
Exceptions:
throws java.lang.IllegalArgumentException, org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
signerInfoGen final
digestCalculator
tsaPolicy
public void <init>(org.bouncycastle.cms.SignerInfoGenerator, org.bouncycastle.operator.DigestCalculator, org.bouncycastle.asn1.ASN1ObjectIdentifier, boolean);
descriptor: (Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/operator/DigestCalculator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=9, 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
iconst_0
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.resolution:I
2: aload 0
aconst_null
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
3: aload 0
iconst_m1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracySeconds:I
4: aload 0
iconst_m1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMillis:I
5: aload 0
iconst_m1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMicros:I
6: aload 0
iconst_0
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.ordering:Z
7: aload 0
aconst_null
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.tsa:Lorg/bouncycastle/asn1/x509/GeneralName;
8: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.certs:Ljava/util/List;
9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.crls:Ljava/util/List;
10: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.attrCerts:Ljava/util/List;
11: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.otherRevoc:Ljava/util/Map;
12: aload 0
aload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.signerInfoGen:Lorg/bouncycastle/cms/SignerInfoGenerator;
13: aload 0
aload 3
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.tsaPolicyOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
14: aload 1
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.hasAssociatedCertificate:()Z
ifne 16
15: new java.lang.IllegalArgumentException
dup
ldc "SignerInfoGenerator must have an associated certificate"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int
StackMap stack:
aload 1
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getAssociatedCertificate:()Lorg/bouncycastle/cert/X509CertificateHolder;
astore 5
start local 5 17: aload 5
invokestatic org.bouncycastle.tsp.TSPUtil.validateCertificate:(Lorg/bouncycastle/cert/X509CertificateHolder;)V
18: aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 6
start local 6 19: aload 6
aload 5
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getEncoded:()[B
invokevirtual java.io.OutputStream.write:([B)V
20: aload 6
invokevirtual java.io.OutputStream.close:()V
21: aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.idSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 30
22: new org.bouncycastle.asn1.ess.ESSCertID
dup
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
23: iload 4
ifeq 24
new org.bouncycastle.asn1.x509.IssuerSerial
dup
new org.bouncycastle.asn1.x509.GeneralNames
dup
new org.bouncycastle.asn1.x509.GeneralName
dup
aload 5
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getIssuer:()Lorg/bouncycastle/asn1/x500/X500Name;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
aload 5
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getSerialNumber:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.x509.IssuerSerial.<init>:(Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
goto 25
24: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int org.bouncycastle.cert.X509CertificateHolder java.io.OutputStream
StackMap stack: new 22 new 22 byte[]
aconst_null
25: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int org.bouncycastle.cert.X509CertificateHolder java.io.OutputStream
StackMap stack: new 22 new 22 byte[] org.bouncycastle.asn1.x509.IssuerSerial
invokespecial org.bouncycastle.asn1.ess.ESSCertID.<init>:([BLorg/bouncycastle/asn1/x509/IssuerSerial;)V
astore 7
start local 7 26: aload 0
new org.bouncycastle.cms.SignerInfoGenerator
dup
aload 1
new org.bouncycastle.tsp.TimeStampTokenGenerator$1
dup
aload 0
aload 1
aload 7
invokespecial org.bouncycastle.tsp.TimeStampTokenGenerator$1.<init>:(Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/asn1/ess/ESSCertID;)V
27: aload 1
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getUnsignedAttributeTableGenerator:()Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
invokespecial org.bouncycastle.cms.SignerInfoGenerator.<init>:(Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)V
28: putfield org.bouncycastle.tsp.TimeStampTokenGenerator.signerInfoGen:Lorg/bouncycastle/cms/SignerInfoGenerator;
end local 7 29: goto 41
30: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
astore 7
start local 7 31: new org.bouncycastle.asn1.ess.ESSCertIDv2
dup
aload 7
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
32: iload 4
ifeq 33
new org.bouncycastle.asn1.x509.IssuerSerial
dup
new org.bouncycastle.asn1.x509.GeneralNames
dup
new org.bouncycastle.asn1.x509.GeneralName
dup
aload 5
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getIssuer:()Lorg/bouncycastle/asn1/x500/X500Name;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
new org.bouncycastle.asn1.ASN1Integer
dup
aload 5
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getSerialNumber:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokespecial org.bouncycastle.asn1.x509.IssuerSerial.<init>:(Lorg/bouncycastle/asn1/x509/GeneralNames;Lorg/bouncycastle/asn1/ASN1Integer;)V
goto 34
33: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int org.bouncycastle.cert.X509CertificateHolder java.io.OutputStream org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack: new 31 new 31 org.bouncycastle.asn1.x509.AlgorithmIdentifier byte[]
aconst_null
34: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int org.bouncycastle.cert.X509CertificateHolder java.io.OutputStream org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack: new 31 new 31 org.bouncycastle.asn1.x509.AlgorithmIdentifier byte[] org.bouncycastle.asn1.x509.IssuerSerial
invokespecial org.bouncycastle.asn1.ess.ESSCertIDv2.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[BLorg/bouncycastle/asn1/x509/IssuerSerial;)V
astore 8
start local 8 35: aload 0
new org.bouncycastle.cms.SignerInfoGenerator
dup
aload 1
new org.bouncycastle.tsp.TimeStampTokenGenerator$2
dup
aload 0
aload 1
aload 8
invokespecial org.bouncycastle.tsp.TimeStampTokenGenerator$2.<init>:(Lorg/bouncycastle/tsp/TimeStampTokenGenerator;Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/asn1/ess/ESSCertIDv2;)V
36: aload 1
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getUnsignedAttributeTableGenerator:()Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
invokespecial org.bouncycastle.cms.SignerInfoGenerator.<init>:(Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)V
37: putfield org.bouncycastle.tsp.TimeStampTokenGenerator.signerInfoGen:Lorg/bouncycastle/cms/SignerInfoGenerator;
end local 8 end local 7 end local 6 38: goto 41
39: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.operator.DigestCalculator org.bouncycastle.asn1.ASN1ObjectIdentifier int org.bouncycastle.cert.X509CertificateHolder
StackMap stack: java.io.IOException
astore 6
start local 6 40: new org.bouncycastle.tsp.TSPException
dup
ldc "Exception processing certificate."
aload 6
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 41: StackMap locals:
StackMap stack:
return
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 42 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 42 1 signerInfoGen Lorg/bouncycastle/cms/SignerInfoGenerator;
0 42 2 digestCalculator Lorg/bouncycastle/operator/DigestCalculator;
0 42 3 tsaPolicy Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 42 4 isIssuerSerialIncluded Z
17 42 5 assocCert Lorg/bouncycastle/cert/X509CertificateHolder;
19 38 6 dOut Ljava/io/OutputStream;
26 29 7 essCertid Lorg/bouncycastle/asn1/ess/ESSCertID;
31 38 7 digAlgID Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
35 38 8 essCertid Lorg/bouncycastle/asn1/ess/ESSCertIDv2;
40 41 6 e Ljava/io/IOException;
Exception table:
from to target type
18 38 39 Class java.io.IOException
Exceptions:
throws java.lang.IllegalArgumentException, org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
signerInfoGen final
digestCalculator
tsaPolicy
isIssuerSerialIncluded
public void addCertificates(org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/util/Store;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.certs:Ljava/util/List;
aload 1
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 certStore Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
certStore
public void addCRLs(org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/util/Store;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.crls:Ljava/util/List;
aload 1
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 crlStore Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
crlStore
public void addAttributeCertificates(org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/util/Store;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.attrCerts:Ljava/util/List;
aload 1
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 attrStore Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
attrStore
public void addOtherRevocationInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/util/Store;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.otherRevoc:Ljava/util/Map;
aload 1
aload 2
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 otherRevocationInfoFormat Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 2 2 otherRevocationInfos Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
otherRevocationInfoFormat
otherRevocationInfos
public void setResolution(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.resolution:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 resolution I
MethodParameters:
Name Flags
resolution
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void setAccuracySeconds(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracySeconds:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 accuracySeconds I
MethodParameters:
Name Flags
accuracySeconds
public void setAccuracyMillis(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMillis:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 accuracyMillis I
MethodParameters:
Name Flags
accuracyMillis
public void setAccuracyMicros(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMicros:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 accuracyMicros I
MethodParameters:
Name Flags
accuracyMicros
public void setOrdering(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.ordering:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 ordering Z
MethodParameters:
Name Flags
ordering
public void setTSA(org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.tsp.TimeStampTokenGenerator.tsa:Lorg/bouncycastle/asn1/x509/GeneralName;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 2 1 tsa Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
tsa
public org.bouncycastle.tsp.TimeStampToken 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/TimeStampToken;
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.TimeStampTokenGenerator.generate:(Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/tsp/TimeStampToken;
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/TimeStampTokenGenerator;
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.TimeStampToken generate(org.bouncycastle.tsp.TimeStampRequest, java.math.BigInteger, java.util.Date, org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/tsp/TimeStampRequest;Ljava/math/BigInteger;Ljava/util/Date;Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/tsp/TimeStampToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=18, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getMessageImprintAlgOID:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 5
start local 5 1: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 5
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 6
start local 6 2: new org.bouncycastle.asn1.tsp.MessageImprint
dup
aload 6
aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getMessageImprintDigest:()[B
invokespecial org.bouncycastle.asn1.tsp.MessageImprint.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
astore 7
start local 7 3: aconst_null
astore 8
start local 8 4: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracySeconds:I
ifgt 5
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMillis:I
ifgt 5
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMicros:I
ifle 15
5: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.tsp.TimeStampRequest java.math.BigInteger java.util.Date org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.tsp.MessageImprint org.bouncycastle.asn1.tsp.Accuracy
StackMap stack:
aconst_null
astore 9
start local 9 6: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracySeconds:I
ifle 8
7: new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracySeconds:I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
astore 9
8: StackMap locals: org.bouncycastle.asn1.ASN1Integer
StackMap stack:
aconst_null
astore 10
start local 10 9: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMillis:I
ifle 11
10: new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMillis:I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
astore 10
11: StackMap locals: org.bouncycastle.asn1.ASN1Integer
StackMap stack:
aconst_null
astore 11
start local 11 12: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMicros:I
ifle 14
13: new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.accuracyMicros:I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
astore 11
14: StackMap locals: org.bouncycastle.asn1.ASN1Integer
StackMap stack:
new org.bouncycastle.asn1.tsp.Accuracy
dup
aload 9
aload 10
aload 11
invokespecial org.bouncycastle.asn1.tsp.Accuracy.<init>:(Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1Integer;)V
astore 8
end local 11 end local 10 end local 9 15: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 16: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.ordering:Z
ifeq 18
17: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.ordering:Z
invokestatic org.bouncycastle.asn1.ASN1Boolean.getInstance:(Z)Lorg/bouncycastle/asn1/ASN1Boolean;
astore 9
18: StackMap locals: org.bouncycastle.asn1.ASN1Boolean
StackMap stack:
aconst_null
astore 10
start local 10 19: aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getNonce:()Ljava/math/BigInteger;
ifnull 21
20: new org.bouncycastle.asn1.ASN1Integer
dup
aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getNonce:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
astore 10
21: StackMap locals: org.bouncycastle.asn1.ASN1Integer
StackMap stack:
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.tsaPolicyOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 11
start local 11 22: aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getReqPolicy:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
ifnull 24
23: aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getReqPolicy:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 11
24: StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack:
aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getExtensions:()Lorg/bouncycastle/asn1/x509/Extensions;
astore 12
start local 12 25: aload 4
ifnull 37
26: new org.bouncycastle.asn1.x509.ExtensionsGenerator
dup
invokespecial org.bouncycastle.asn1.x509.ExtensionsGenerator.<init>:()V
astore 13
start local 13 27: aload 12
ifnull 32
28: aload 12
invokevirtual org.bouncycastle.asn1.x509.Extensions.oids:()Ljava/util/Enumeration;
astore 14
start local 14 29: goto 31
30: StackMap locals: org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.x509.ExtensionsGenerator java.util.Enumeration
StackMap stack:
aload 13
aload 12
aload 14
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.ASN1ObjectIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/x509/Extension;)V
31: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 30
end local 14 32: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.bouncycastle.asn1.x509.Extensions.oids:()Ljava/util/Enumeration;
astore 14
start local 14 33: goto 35
34: StackMap locals: java.util.Enumeration
StackMap stack:
aload 13
aload 4
aload 14
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.ASN1ObjectIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/x509/Extension;)V
35: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 34
end local 14 36: aload 13
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.generate:()Lorg/bouncycastle/asn1/x509/Extensions;
astore 12
end local 13 37: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.resolution:I
ifne 42
38: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
ifnonnull 39
new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 3
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/util/Date;)V
goto 40
StackMap locals:
StackMap stack:
39: new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 3
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/util/Date;Ljava/util/Locale;)V
StackMap locals:
StackMap stack: org.bouncycastle.asn1.ASN1GeneralizedTime
40: astore 13
start local 13 41: goto 43
end local 13 42: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.bouncycastle.tsp.TimeStampTokenGenerator.createGeneralizedTime:(Ljava/util/Date;)Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
astore 13
start local 13 43: StackMap locals: org.bouncycastle.asn1.ASN1GeneralizedTime
StackMap stack:
new org.bouncycastle.asn1.tsp.TSTInfo
dup
aload 11
44: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 2
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
45: aload 13
aload 8
aload 9
46: aload 10
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.tsa:Lorg/bouncycastle/asn1/x509/GeneralName;
aload 12
47: invokespecial org.bouncycastle.asn1.tsp.TSTInfo.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/tsp/MessageImprint;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1GeneralizedTime;Lorg/bouncycastle/asn1/tsp/Accuracy;Lorg/bouncycastle/asn1/ASN1Boolean;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/x509/Extensions;)V
astore 14
start local 14 48: new org.bouncycastle.cms.CMSSignedDataGenerator
dup
invokespecial org.bouncycastle.cms.CMSSignedDataGenerator.<init>:()V
astore 15
start local 15 49: aload 1
invokevirtual org.bouncycastle.tsp.TimeStampRequest.getCertReq:()Z
ifeq 52
50: aload 15
new org.bouncycastle.util.CollectionStore
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.certs:Ljava/util/List;
invokespecial org.bouncycastle.util.CollectionStore.<init>:(Ljava/util/Collection;)V
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.addCertificates:(Lorg/bouncycastle/util/Store;)V
51: aload 15
new org.bouncycastle.util.CollectionStore
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.attrCerts:Ljava/util/List;
invokespecial org.bouncycastle.util.CollectionStore.<init>:(Ljava/util/Collection;)V
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.addAttributeCertificates:(Lorg/bouncycastle/util/Store;)V
52: StackMap locals: org.bouncycastle.asn1.tsp.TSTInfo org.bouncycastle.cms.CMSSignedDataGenerator
StackMap stack:
aload 15
new org.bouncycastle.util.CollectionStore
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.crls:Ljava/util/List;
invokespecial org.bouncycastle.util.CollectionStore.<init>:(Ljava/util/Collection;)V
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.addCRLs:(Lorg/bouncycastle/util/Store;)V
53: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.otherRevoc:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 59
54: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.otherRevoc:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 16
start local 16 55: goto 58
56: StackMap locals: java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
astore 17
start local 17 57: aload 15
aload 17
new org.bouncycastle.util.CollectionStore
dup
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.otherRevoc:Ljava/util/Map;
aload 17
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokespecial org.bouncycastle.util.CollectionStore.<init>:(Ljava/util/Collection;)V
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.addOtherRevocationInfo:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/util/Store;)V
end local 17 58: StackMap locals:
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 56
end local 16 59: StackMap locals:
StackMap stack:
aload 15
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.signerInfoGen:Lorg/bouncycastle/cms/SignerInfoGenerator;
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.addSignerInfoGenerator:(Lorg/bouncycastle/cms/SignerInfoGenerator;)V
60: aload 14
ldc "DER"
invokevirtual org.bouncycastle.asn1.tsp.TSTInfo.getEncoded:(Ljava/lang/String;)[B
astore 16
start local 16 61: aload 15
new org.bouncycastle.cms.CMSProcessableByteArray
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_ct_TSTInfo:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 16
invokespecial org.bouncycastle.cms.CMSProcessableByteArray.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[B)V
iconst_1
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.generate:(Lorg/bouncycastle/cms/CMSTypedData;Z)Lorg/bouncycastle/cms/CMSSignedData;
astore 17
start local 17 62: new org.bouncycastle.tsp.TimeStampToken
dup
aload 17
invokespecial org.bouncycastle.tsp.TimeStampToken.<init>:(Lorg/bouncycastle/cms/CMSSignedData;)V
63: areturn
end local 17 end local 16 end local 15 64: StackMap locals: org.bouncycastle.tsp.TimeStampTokenGenerator org.bouncycastle.tsp.TimeStampRequest java.math.BigInteger java.util.Date org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.tsp.MessageImprint org.bouncycastle.asn1.tsp.Accuracy org.bouncycastle.asn1.ASN1Boolean org.bouncycastle.asn1.ASN1Integer org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.ASN1GeneralizedTime org.bouncycastle.asn1.tsp.TSTInfo
StackMap stack: org.bouncycastle.cms.CMSException
astore 15
start local 15 65: new org.bouncycastle.tsp.TSPException
dup
ldc "Error generating time-stamp token"
aload 15
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 15 66: StackMap locals:
StackMap stack: java.io.IOException
astore 15
start local 15 67: new org.bouncycastle.tsp.TSPException
dup
ldc "Exception encoding info"
aload 15
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 68 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 68 1 request Lorg/bouncycastle/tsp/TimeStampRequest;
0 68 2 serialNumber Ljava/math/BigInteger;
0 68 3 genTime Ljava/util/Date;
0 68 4 additionalExtensions Lorg/bouncycastle/asn1/x509/Extensions;
1 68 5 digestAlgOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
2 68 6 algID Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3 68 7 messageImprint Lorg/bouncycastle/asn1/tsp/MessageImprint;
4 68 8 accuracy Lorg/bouncycastle/asn1/tsp/Accuracy;
6 15 9 seconds Lorg/bouncycastle/asn1/ASN1Integer;
9 15 10 millis Lorg/bouncycastle/asn1/ASN1Integer;
12 15 11 micros Lorg/bouncycastle/asn1/ASN1Integer;
16 68 9 derOrdering Lorg/bouncycastle/asn1/ASN1Boolean;
19 68 10 nonce Lorg/bouncycastle/asn1/ASN1Integer;
22 68 11 tsaPolicy Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
25 68 12 respExtensions Lorg/bouncycastle/asn1/x509/Extensions;
27 37 13 extGen Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
29 32 14 en Ljava/util/Enumeration;
33 36 14 en Ljava/util/Enumeration;
41 42 13 timeStampTime Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
43 68 13 timeStampTime Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
48 68 14 tstInfo Lorg/bouncycastle/asn1/tsp/TSTInfo;
49 64 15 signedDataGenerator Lorg/bouncycastle/cms/CMSSignedDataGenerator;
55 59 16 it Ljava/util/Iterator;
57 58 17 format Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
61 64 16 derEncodedTSTInfo [B
62 64 17 signedData Lorg/bouncycastle/cms/CMSSignedData;
65 66 15 cmsEx Lorg/bouncycastle/cms/CMSException;
67 68 15 e Ljava/io/IOException;
Exception table:
from to target type
48 63 64 Class org.bouncycastle.cms.CMSException
48 63 66 Class java.io.IOException
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
request
serialNumber
genTime
additionalExtensions
private org.bouncycastle.asn1.ASN1GeneralizedTime createGeneralizedTime(java.util.Date);
descriptor: (Ljava/util/Date;)Lorg/bouncycastle/asn1/ASN1GeneralizedTime;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: ldc "yyyyMMddHHmmss.SSS"
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
ifnonnull 2
new java.text.SimpleDateFormat
dup
aload 2
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: new java.text.SimpleDateFormat
dup
aload 2
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.locale:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
StackMap locals:
StackMap stack: java.text.SimpleDateFormat
3: astore 3
start local 3 4: aload 3
new java.util.SimpleTimeZone
dup
iconst_0
ldc "Z"
invokespecial java.util.SimpleTimeZone.<init>:(ILjava/lang/String;)V
invokevirtual java.text.SimpleDateFormat.setTimeZone:(Ljava/util/TimeZone;)V
5: new java.lang.StringBuilder
dup
aload 3
aload 1
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 4
ldc "."
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
istore 5
start local 5 7: iload 5
ifge 10
8: aload 4
ldc "Z"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/lang/String;)V
areturn
10: StackMap locals: java.text.SimpleDateFormat java.lang.StringBuilder int
StackMap stack:
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.resolution:I
tableswitch { // 1 - 3
1: 11
2: 14
3: 17
default: 18
}
11: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iload 5
iconst_2
iadd
if_icmple 20
12: aload 4
iload 5
iconst_2
iadd
aload 4
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
13: goto 20
14: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iload 5
iconst_3
iadd
if_icmple 20
15: aload 4
iload 5
iconst_3
iadd
aload 4
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
16: goto 20
17: StackMap locals:
StackMap stack:
goto 20
18: StackMap locals:
StackMap stack:
new org.bouncycastle.tsp.TSPException
dup
new java.lang.StringBuilder
dup
ldc "unknown time-stamp resolution: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.tsp.TimeStampTokenGenerator.resolution:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.bouncycastle.tsp.TSPException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 48
if_icmpeq 19
21: aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
iload 5
if_icmpne 23
22: aload 4
aload 4
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
aload 4
ldc "Z"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/lang/String;)V
areturn
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 25 0 this Lorg/bouncycastle/tsp/TimeStampTokenGenerator;
0 25 1 time Ljava/util/Date;
1 25 2 format Ljava/lang/String;
4 25 3 dateF Ljava/text/SimpleDateFormat;
6 25 4 sBuild Ljava/lang/StringBuilder;
7 25 5 dotIndex I
Exceptions:
throws org.bouncycastle.tsp.TSPException
MethodParameters:
Name Flags
time
}
SourceFile: "TimeStampTokenGenerator.java"
NestMembers:
org.bouncycastle.tsp.TimeStampTokenGenerator$1 org.bouncycastle.tsp.TimeStampTokenGenerator$2
InnerClasses:
org.bouncycastle.tsp.TimeStampTokenGenerator$1
org.bouncycastle.tsp.TimeStampTokenGenerator$2