public class org.bouncycastle.tsp.TimeStampRequestGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.tsp.TimeStampRequestGenerator
super_class: java.lang.Object
{
private org.bouncycastle.asn1.ASN1ObjectIdentifier reqPolicy;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1Boolean certReq;
descriptor: Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.ExtensionsGenerator extGenerator;
descriptor: Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.asn1.x509.ExtensionsGenerator
dup
invokespecial org.bouncycastle.asn1.x509.ExtensionsGenerator.<init>:()V
putfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
public void setReqPolicy(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.tsp.TimeStampRequestGenerator.reqPolicy:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 2 1 reqPolicy Ljava/lang/String;
MethodParameters:
Name Flags
reqPolicy
public void setReqPolicy(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)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.TimeStampRequestGenerator.reqPolicy:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 2 1 reqPolicy Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
reqPolicy
public void setCertReq(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
invokestatic org.bouncycastle.asn1.ASN1Boolean.getInstance:(Z)Lorg/bouncycastle/asn1/ASN1Boolean;
putfield org.bouncycastle.tsp.TimeStampRequestGenerator.certReq:Lorg/bouncycastle/asn1/ASN1Boolean;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 2 1 certReq Z
MethodParameters:
Name Flags
certReq
public void addExtension(java.lang.String, boolean, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Ljava/lang/String;ZLorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.getEncoded:()[B
invokevirtual org.bouncycastle.tsp.TimeStampRequestGenerator.addExtension:(Ljava/lang/String;Z[B)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/TimeStampRequestGenerator;
0 2 1 OID Ljava/lang/String;
0 2 2 critical Z
0 2 3 value Lorg/bouncycastle/asn1/ASN1Encodable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
OID
critical
value
public void addExtension(java.lang.String, boolean, byte[]);
descriptor: (Ljava/lang/String;Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
iload 2
aload 3
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Z[B)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/TimeStampRequestGenerator;
0 2 1 OID Ljava/lang/String;
0 2 2 critical Z
0 2 3 value [B
MethodParameters:
Name Flags
OID
critical
value
public void addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier, boolean, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ZLorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
aload 1
iload 2
aload 3
invokestatic org.bouncycastle.tsp.TSPUtil.addExtension:(Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ZLorg/bouncycastle/asn1/ASN1Encodable;)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/TimeStampRequestGenerator;
0 2 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 2 2 isCritical Z
0 2 3 value Lorg/bouncycastle/asn1/ASN1Encodable;
Exceptions:
throws org.bouncycastle.tsp.TSPIOException
MethodParameters:
Name Flags
oid
isCritical
value
public void addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier, boolean, byte[]);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
aload 1
iload 2
aload 3
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Z[B)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/TimeStampRequestGenerator;
0 2 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 2 2 isCritical Z
0 2 3 value [B
MethodParameters:
Name Flags
oid
isCritical
value
public org.bouncycastle.tsp.TimeStampRequest generate(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)Lorg/bouncycastle/tsp/TimeStampRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.bouncycastle.tsp.TimeStampRequestGenerator.generate:(Ljava/lang/String;[BLjava/math/BigInteger;)Lorg/bouncycastle/tsp/TimeStampRequest;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 1 1 digestAlgorithm Ljava/lang/String;
0 1 2 digest [B
MethodParameters:
Name Flags
digestAlgorithm
digest
public org.bouncycastle.tsp.TimeStampRequest generate(java.lang.String, byte[], java.math.BigInteger);
descriptor: (Ljava/lang/String;[BLjava/math/BigInteger;)Lorg/bouncycastle/tsp/TimeStampRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "No digest algorithm specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
astore 4
start local 4 3: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 4
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 5
start local 5 4: new org.bouncycastle.asn1.tsp.MessageImprint
dup
aload 5
aload 2
invokespecial org.bouncycastle.asn1.tsp.MessageImprint.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
astore 6
start local 6 5: aconst_null
astore 7
start local 7 6: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.isEmpty:()Z
ifne 8
7: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.extGenerator:Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.generate:()Lorg/bouncycastle/asn1/x509/Extensions;
astore 7
8: StackMap locals: org.bouncycastle.tsp.TimeStampRequestGenerator java.lang.String byte[] java.math.BigInteger org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.tsp.MessageImprint org.bouncycastle.asn1.x509.Extensions
StackMap stack:
aload 3
ifnull 12
9: new org.bouncycastle.tsp.TimeStampRequest
dup
new org.bouncycastle.asn1.tsp.TimeStampReq
dup
aload 6
10: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.reqPolicy:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.ASN1Integer
dup
aload 3
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.certReq:Lorg/bouncycastle/asn1/ASN1Boolean;
aload 7
invokespecial org.bouncycastle.asn1.tsp.TimeStampReq.<init>:(Lorg/bouncycastle/asn1/tsp/MessageImprint;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1Boolean;Lorg/bouncycastle/asn1/x509/Extensions;)V
11: invokespecial org.bouncycastle.tsp.TimeStampRequest.<init>:(Lorg/bouncycastle/asn1/tsp/TimeStampReq;)V
areturn
12: StackMap locals:
StackMap stack:
new org.bouncycastle.tsp.TimeStampRequest
dup
new org.bouncycastle.asn1.tsp.TimeStampReq
dup
aload 6
13: aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.reqPolicy:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aconst_null
aload 0
getfield org.bouncycastle.tsp.TimeStampRequestGenerator.certReq:Lorg/bouncycastle/asn1/ASN1Boolean;
aload 7
invokespecial org.bouncycastle.asn1.tsp.TimeStampReq.<init>:(Lorg/bouncycastle/asn1/tsp/MessageImprint;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1Boolean;Lorg/bouncycastle/asn1/x509/Extensions;)V
14: invokespecial org.bouncycastle.tsp.TimeStampRequest.<init>:(Lorg/bouncycastle/asn1/tsp/TimeStampReq;)V
areturn
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 15 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 15 1 digestAlgorithmOID Ljava/lang/String;
0 15 2 digest [B
0 15 3 nonce Ljava/math/BigInteger;
3 15 4 digestAlgOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
4 15 5 algID Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
5 15 6 messageImprint Lorg/bouncycastle/asn1/tsp/MessageImprint;
6 15 7 ext Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
digestAlgorithmOID
digest
nonce
public org.bouncycastle.tsp.TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier, byte[]);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[B)Lorg/bouncycastle/tsp/TimeStampRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 2
invokevirtual org.bouncycastle.tsp.TimeStampRequestGenerator.generate:(Ljava/lang/String;[B)Lorg/bouncycastle/tsp/TimeStampRequest;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/tsp/TimeStampRequestGenerator;
0 1 1 digestAlgorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 1 2 digest [B
MethodParameters:
Name Flags
digestAlgorithm
digest
public org.bouncycastle.tsp.TimeStampRequest generate(org.bouncycastle.asn1.ASN1ObjectIdentifier, byte[], java.math.BigInteger);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[BLjava/math/BigInteger;)Lorg/bouncycastle/tsp/TimeStampRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 2
aload 3
invokevirtual org.bouncycastle.tsp.TimeStampRequestGenerator.generate:(Ljava/lang/String;[BLjava/math/BigInteger;)Lorg/bouncycastle/tsp/TimeStampRequest;
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/TimeStampRequestGenerator;
0 1 1 digestAlgorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 1 2 digest [B
0 1 3 nonce Ljava/math/BigInteger;
MethodParameters:
Name Flags
digestAlgorithm
digest
nonce
}
SourceFile: "TimeStampRequestGenerator.java"