public class sun.security.timestamp.TSRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.timestamp.TSRequest
super_class: java.lang.Object
{
private int version;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.AlgorithmId hashAlgorithmId;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0002) ACC_PRIVATE
private byte[] hashValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.lang.String policyId;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger nonce;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private boolean returnCertificate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.security.cert.X509Extension[] extensions;
descriptor: [Ljava/security/cert/X509Extension;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, byte[], java.security.MessageDigest);
descriptor: (Ljava/lang/String;[BLjava/security/MessageDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield sun.security.timestamp.TSRequest.version:I
2: aload 0
aconst_null
putfield sun.security.timestamp.TSRequest.hashAlgorithmId:Lsun/security/x509/AlgorithmId;
3: aload 0
aconst_null
putfield sun.security.timestamp.TSRequest.policyId:Ljava/lang/String;
4: aload 0
aconst_null
putfield sun.security.timestamp.TSRequest.nonce:Ljava/math/BigInteger;
5: aload 0
iconst_0
putfield sun.security.timestamp.TSRequest.returnCertificate:Z
6: aload 0
aconst_null
putfield sun.security.timestamp.TSRequest.extensions:[Ljava/security/cert/X509Extension;
7: aload 0
aload 1
putfield sun.security.timestamp.TSRequest.policyId:Ljava/lang/String;
8: aload 0
aload 3
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
putfield sun.security.timestamp.TSRequest.hashAlgorithmId:Lsun/security/x509/AlgorithmId;
9: aload 0
aload 3
aload 2
invokevirtual java.security.MessageDigest.digest:([B)[B
putfield sun.security.timestamp.TSRequest.hashValue:[B
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/timestamp/TSRequest;
0 11 1 tSAPolicyID Ljava/lang/String;
0 11 2 toBeTimeStamped [B
0 11 3 messageDigest Ljava/security/MessageDigest;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
tSAPolicyID
toBeTimeStamped
messageDigest
public byte[] getHashedMessage();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSRequest.hashValue:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSRequest;
public void setVersion(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 sun.security.timestamp.TSRequest.version:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/timestamp/TSRequest;
0 2 1 version I
MethodParameters:
Name Flags
version
public void setPolicyId(java.lang.String);
descriptor: (Ljava/lang/String;)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 sun.security.timestamp.TSRequest.policyId:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/timestamp/TSRequest;
0 2 1 policyId Ljava/lang/String;
MethodParameters:
Name Flags
policyId
public void setNonce(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)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 sun.security.timestamp.TSRequest.nonce:Ljava/math/BigInteger;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/timestamp/TSRequest;
0 2 1 nonce Ljava/math/BigInteger;
MethodParameters:
Name Flags
nonce
public void requestCertificate(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 sun.security.timestamp.TSRequest.returnCertificate:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/timestamp/TSRequest;
0 2 1 returnCertificate Z
MethodParameters:
Name Flags
returnCertificate
public void setExtensions(java.security.cert.X509Extension[]);
descriptor: ([Ljava/security/cert/X509Extension;)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 sun.security.timestamp.TSRequest.extensions:[Ljava/security/cert/X509Extension;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/timestamp/TSRequest;
0 2 1 extensions [Ljava/security/cert/X509Extension;
MethodParameters:
Name Flags
extensions
public byte[] encode();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield sun.security.timestamp.TSRequest.version:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
2: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 3: aload 0
getfield sun.security.timestamp.TSRequest.hashAlgorithmId:Lsun/security/x509/AlgorithmId;
aload 2
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
4: aload 2
aload 0
getfield sun.security.timestamp.TSRequest.hashValue:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
5: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
6: aload 0
getfield sun.security.timestamp.TSRequest.policyId:Ljava/lang/String;
ifnull 8
7: aload 1
aload 0
getfield sun.security.timestamp.TSRequest.policyId:Ljava/lang/String;
invokestatic sun.security.util.ObjectIdentifier.of:(Ljava/lang/String;)Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
8: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 0
getfield sun.security.timestamp.TSRequest.nonce:Ljava/math/BigInteger;
ifnull 10
9: aload 1
aload 0
getfield sun.security.timestamp.TSRequest.nonce:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.timestamp.TSRequest.returnCertificate:Z
ifeq 12
11: aload 1
iconst_1
invokevirtual sun.security.util.DerOutputStream.putBoolean:(Z)V
12: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 13: aload 3
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
14: aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/timestamp/TSRequest;
1 15 1 request Lsun/security/util/DerOutputStream;
3 15 2 messageImprint Lsun/security/util/DerOutputStream;
13 15 3 out Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "TSRequest.java"