public class sun.security.timestamp.TSResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.timestamp.TSResponse
super_class: java.lang.Object
{
public static final int GRANTED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int GRANTED_WITH_MODS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int REJECTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int WAITING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int REVOCATION_WARNING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int REVOCATION_NOTIFICATION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int BAD_ALG;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int BAD_REQUEST;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int BAD_DATA_FORMAT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int TIME_NOT_AVAILABLE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 14
public static final int UNACCEPTED_POLICY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int UNACCEPTED_EXTENSION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int ADD_INFO_NOT_AVAILABLE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 17
public static final int SYSTEM_FAILURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 25
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private int status;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] statusString;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean[] failureInfo;
descriptor: [Z
flags: (0x0002) ACC_PRIVATE
private byte[] encodedTsToken;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private sun.security.pkcs.PKCS7 tsToken;
descriptor: Lsun/security/pkcs/PKCS7;
flags: (0x0002) ACC_PRIVATE
private sun.security.timestamp.TimestampToken tstInfo;
descriptor: Lsun/security/timestamp/TimestampToken;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "ts"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;)Lsun/security/util/Debug;
putstatic sun.security.timestamp.TSResponse.debug:Lsun/security/util/Debug;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.security.timestamp.TSResponse.statusString:[Ljava/lang/String;
2: aload 0
aconst_null
putfield sun.security.timestamp.TSResponse.failureInfo:[Z
3: aload 0
aconst_null
putfield sun.security.timestamp.TSResponse.encodedTsToken:[B
4: aload 0
aconst_null
putfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
5: aload 0
aload 1
invokevirtual sun.security.timestamp.TSResponse.parse:([B)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/timestamp/TSResponse;
0 7 1 tsReply [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tsReply
public int getStatusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.status:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
public java.lang.String[] getStatusMessages();
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.TSResponse.statusString:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
public boolean[] getFailureInfo();
descriptor: ()[Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.failureInfo:[Z
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
public java.lang.String getStatusCodeAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.status:I
tableswitch { // 0 - 5
0: 1
1: 2
2: 4
3: 5
4: 6
5: 7
default: 8
}
1: StackMap locals:
StackMap stack:
ldc "the timestamp request was granted."
areturn
2: StackMap locals:
StackMap stack:
ldc "the timestamp request was granted with some modifications."
3: areturn
4: StackMap locals:
StackMap stack:
ldc "the timestamp request was rejected."
areturn
5: StackMap locals:
StackMap stack:
ldc "the timestamp request has not yet been processed."
areturn
6: StackMap locals:
StackMap stack:
ldc "warning: a certificate revocation is imminent."
areturn
7: StackMap locals:
StackMap stack:
ldc "notification: a certificate revocation has occurred."
areturn
8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "unknown status code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.timestamp.TSResponse.status:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/timestamp/TSResponse;
private boolean isSet(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.timestamp.TSResponse.failureInfo:[Z
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
0 1 1 position I
MethodParameters:
Name Flags
position
public java.lang.String getFailureCodeAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.failureInfo:[Z
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 4
3: ldc "Unrecognized or unsupported algorithm identifier."
areturn
4: StackMap locals:
StackMap stack:
aload 0
iconst_2
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 6
5: ldc "The requested transaction is not permitted or supported."
areturn
6: StackMap locals:
StackMap stack:
aload 0
iconst_5
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 8
7: ldc "The data submitted has the wrong format."
areturn
8: StackMap locals:
StackMap stack:
aload 0
bipush 14
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 10
9: ldc "The TSA's time source is not available."
areturn
10: StackMap locals:
StackMap stack:
aload 0
bipush 15
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 12
11: ldc "The requested TSA policy is not supported by the TSA."
areturn
12: StackMap locals:
StackMap stack:
aload 0
bipush 16
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 14
13: ldc "The requested extension is not supported by the TSA."
areturn
14: StackMap locals:
StackMap stack:
aload 0
bipush 17
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 16
15: ldc "The additional information requested could not be understood or is not available."
areturn
16: StackMap locals:
StackMap stack:
aload 0
bipush 25
invokevirtual sun.security.timestamp.TSResponse.isSet:(I)Z
ifeq 19
17: ldc "The request cannot be handled due to system failure."
areturn
18: StackMap locals:
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
pop
19: StackMap locals:
StackMap stack:
ldc "unknown failure code"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/security/timestamp/TSResponse;
Exception table:
from to target type
2 3 18 Class java.lang.ArrayIndexOutOfBoundsException
4 5 18 Class java.lang.ArrayIndexOutOfBoundsException
6 7 18 Class java.lang.ArrayIndexOutOfBoundsException
8 9 18 Class java.lang.ArrayIndexOutOfBoundsException
10 11 18 Class java.lang.ArrayIndexOutOfBoundsException
12 13 18 Class java.lang.ArrayIndexOutOfBoundsException
14 15 18 Class java.lang.ArrayIndexOutOfBoundsException
16 17 18 Class java.lang.ArrayIndexOutOfBoundsException
public sun.security.pkcs.PKCS7 getToken();
descriptor: ()Lsun/security/pkcs/PKCS7;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
public sun.security.timestamp.TimestampToken getTimestampToken();
descriptor: ()Lsun/security/timestamp/TimestampToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.tstInfo:Lsun/security/timestamp/TimestampToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
public byte[] getEncodedToken();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.timestamp.TSResponse.encodedTsToken:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/timestamp/TSResponse;
private void parse(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, 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 response"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: 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 3
start local 3 4: aload 0
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield sun.security.timestamp.TSResponse.status:I
5: getstatic sun.security.timestamp.TSResponse.debug:Lsun/security/util/Debug;
ifnull 7
6: getstatic sun.security.timestamp.TSResponse.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "timestamp response: status="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.timestamp.TSResponse.status:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
7: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 21
8: aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.peekByte:()I
i2b
istore 4
start local 4 9: iload 4
bipush 48
if_icmpne 21
10: aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
iconst_1
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 5
start local 5 11: aload 0
aload 5
arraylength
anewarray java.lang.String
putfield sun.security.timestamp.TSResponse.statusString:[Ljava/lang/String;
12: iconst_0
istore 6
start local 6 13: goto 20
14: StackMap locals: int sun.security.util.DerValue[] int
StackMap stack:
aload 0
getfield sun.security.timestamp.TSResponse.statusString:[Ljava/lang/String;
iload 6
aload 5
iload 6
aaload
invokevirtual sun.security.util.DerValue.getUTF8String:()Ljava/lang/String;
aastore
15: getstatic sun.security.timestamp.TSResponse.debug:Lsun/security/util/Debug;
ifnull 19
16: getstatic sun.security.timestamp.TSResponse.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "timestamp response: statusString="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 0
getfield sun.security.timestamp.TSResponse.statusString:[Ljava/lang/String;
iload 6
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
aload 5
arraylength
if_icmplt 14
end local 6 end local 5 end local 4 21: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 25
22: aload 0
23: aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUnalignedBitString:()Lsun/security/util/BitArray;
invokevirtual sun.security.util.BitArray.toBooleanArray:()[Z
24: putfield sun.security.timestamp.TSResponse.failureInfo:[Z
25: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 30
26: 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 27: aload 0
aload 4
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.timestamp.TSResponse.encodedTsToken:[B
28: aload 0
new sun.security.pkcs.PKCS7
dup
aload 0
getfield sun.security.timestamp.TSResponse.encodedTsToken:[B
invokespecial sun.security.pkcs.PKCS7.<init>:([B)V
putfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
29: aload 0
new sun.security.timestamp.TimestampToken
dup
aload 0
getfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
invokevirtual sun.security.pkcs.PKCS7.getContentInfo:()Lsun/security/pkcs/ContentInfo;
invokevirtual sun.security.pkcs.ContentInfo.getData:()[B
invokespecial sun.security.timestamp.TimestampToken.<init>:([B)V
putfield sun.security.timestamp.TSResponse.tstInfo:Lsun/security/timestamp/TimestampToken;
end local 4 30: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.timestamp.TSResponse.status:I
ifeq 31
aload 0
getfield sun.security.timestamp.TSResponse.status:I
iconst_1
if_icmpne 35
31: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
ifnonnull 39
32: new sun.security.timestamp.TSResponse$TimestampException
dup
33: ldc "Bad encoding for timestamp response: expected a timeStampToken element to be present"
34: invokespecial sun.security.timestamp.TSResponse$TimestampException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.timestamp.TSResponse.tsToken:Lsun/security/pkcs/PKCS7;
ifnull 39
36: new sun.security.timestamp.TSResponse$TimestampException
dup
37: ldc "Bad encoding for timestamp response: expected no timeStampToken element to be present"
38: invokespecial sun.security.timestamp.TSResponse$TimestampException.<init>:(Ljava/lang/String;)V
athrow
39: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/security/timestamp/TSResponse;
0 40 1 tsReply [B
1 40 2 derValue Lsun/security/util/DerValue;
4 40 3 statusInfo Lsun/security/util/DerValue;
9 21 4 tag B
11 21 5 strings [Lsun/security/util/DerValue;
13 21 6 i I
27 30 4 timestampToken Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tsReply
}
SourceFile: "TSResponse.java"
NestMembers:
sun.security.timestamp.TSResponse$TimestampException
InnerClasses:
final TimestampException = sun.security.timestamp.TSResponse$TimestampException of sun.security.timestamp.TSResponse