public class sun.security.timestamp.TimestampToken
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.timestamp.TimestampToken
super_class: java.lang.Object
{
private int version;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.security.util.ObjectIdentifier policy;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger serialNumber;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.AlgorithmId hashAlgorithm;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0002) ACC_PRIVATE
private byte[] hashedMessage;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.util.Date genTime;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
private java.math.BigInteger nonce;
descriptor: Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.io.IOException
dup
ldc "No timestamp token info"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.timestamp.TimestampToken byte[]
StackMap stack:
aload 0
aload 1
invokevirtual sun.security.timestamp.TimestampToken.parse:([B)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/timestamp/TimestampToken;
0 5 1 timestampTokenInfo [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timestampTokenInfo
public java.util.Date getDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TimestampToken.genTime:Ljava/util/Date;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
public sun.security.x509.AlgorithmId getHashAlgorithm();
descriptor: ()Lsun/security/x509/AlgorithmId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TimestampToken.hashAlgorithm:Lsun/security/x509/AlgorithmId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
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.TimestampToken.hashedMessage:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
public java.math.BigInteger getNonce();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TimestampToken.nonce:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
public java.math.BigInteger getSerialNumber();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TimestampToken.serialNumber:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
public java.lang.String getPolicyID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TimestampToken.policy:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TimestampToken;
private void parse(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 1: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 3
2: new java.io.IOException
dup
ldc "Bad encoding for timestamp token info"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield sun.security.timestamp.TimestampToken.version:I
4: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
putfield sun.security.timestamp.TimestampToken.policy:Lsun/security/util/ObjectIdentifier;
5: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 6: aload 0
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
putfield sun.security.timestamp.TimestampToken.hashAlgorithm:Lsun/security/x509/AlgorithmId;
7: aload 0
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.timestamp.TimestampToken.hashedMessage:[B
8: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.timestamp.TimestampToken.serialNumber:Ljava/math/BigInteger;
9: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getGeneralizedTime:()Ljava/util/Date;
putfield sun.security.timestamp.TimestampToken.genTime:Ljava/util/Date;
10: goto 15
11: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
start local 4 12: aload 4
getfield sun.security.util.DerValue.tag:B
iconst_2
if_icmpne 15
13: aload 0
aload 4
invokevirtual sun.security.util.DerValue.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.timestamp.TimestampToken.nonce:Ljava/math/BigInteger;
14: goto 16
end local 4 15: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifgt 11
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/timestamp/TimestampToken;
0 17 1 timestampTokenInfo [B
1 17 2 tstInfo Lsun/security/util/DerValue;
6 17 3 messageImprint Lsun/security/util/DerValue;
12 15 4 d Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timestampTokenInfo
}
SourceFile: "TimestampToken.java"