public class sun.security.x509.CRLReasonCodeExtension extends sun.security.x509.Extension implements sun.security.x509.CertAttrSet<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.CRLReasonCodeExtension
super_class: sun.security.x509.Extension
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "CRLReasonCode"
public static final java.lang.String REASON;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "reason"
private static java.security.cert.CRLReason[] values;
descriptor: [Ljava/security/cert/CRLReason;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int reasonCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.security.cert.CRLReason.values:()[Ljava/security/cert/CRLReason;
putstatic sun.security.x509.CRLReasonCodeExtension.values:[Ljava/security/cert/CRLReason;
return
LocalVariableTable:
Start End Slot Name Signature
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
ifne 3
1: aload 0
aconst_null
putfield sun.security.x509.CRLReasonCodeExtension.extensionValue:[B
2: return
3: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 4: aload 1
aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
invokevirtual sun.security.util.DerOutputStream.putEnumerated:(I)V
5: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.CRLReasonCodeExtension.extensionValue:[B
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/CRLReasonCodeExtension;
4 7 1 dos Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokespecial sun.security.x509.CRLReasonCodeExtension.<init>:(ZI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 2 1 reason I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reason
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
iconst_0
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
2: aload 0
getstatic sun.security.x509.PKIXExtensions.ReasonCode_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CRLReasonCodeExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iload 1
putfield sun.security.x509.CRLReasonCodeExtension.critical:Z
4: aload 0
iload 2
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
5: aload 0
invokevirtual sun.security.x509.CRLReasonCodeExtension.encodeThis:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 7 1 critical Z
0 7 2 reason I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
reason
public void <init>(java.lang.Boolean, java.lang.Object);
descriptor: (Ljava/lang/Boolean;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
iconst_0
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
2: aload 0
getstatic sun.security.x509.PKIXExtensions.ReasonCode_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CRLReasonCodeExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.CRLReasonCodeExtension.critical:Z
4: aload 0
aload 2
checkcast byte[]
putfield sun.security.x509.CRLReasonCodeExtension.extensionValue:[B
5: new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.CRLReasonCodeExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 3
start local 3 6: aload 0
aload 3
invokevirtual sun.security.util.DerValue.getEnumerated:()I
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 8 1 critical Ljava/lang/Boolean;
0 8 2 value Ljava/lang/Object;
6 8 3 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
value
public void set(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.lang.Integer
ifne 2
1: new java.io.IOException
dup
ldc "Attribute must be of type Integer."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "reason"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
4: goto 8
5: StackMap locals:
StackMap stack:
new java.io.IOException
dup
6: ldc "Name not supported by CRLReasonCodeExtension"
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.CRLReasonCodeExtension.encodeThis:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 10 1 name Ljava/lang/String;
0 10 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public java.lang.Integer get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "reason"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: new java.lang.Integer
dup
aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
invokespecial java.lang.Integer.<init>:(I)V
areturn
2: StackMap locals:
StackMap stack:
new java.io.IOException
dup
3: ldc "Name not supported by CRLReasonCodeExtension"
4: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 5 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void delete(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "reason"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
iconst_0
putfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
2: goto 6
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
4: ldc "Name not supported by CRLReasonCodeExtension"
5: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.CRLReasonCodeExtension.encodeThis:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 8 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Reason Code: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.security.x509.CRLReasonCodeExtension.getReasonCode:()Ljava/security/cert/CRLReason;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CRLReasonCodeExtension;
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.security.x509.CRLReasonCodeExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.ReasonCode_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CRLReasonCodeExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_0
putfield sun.security.x509.CRLReasonCodeExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.CRLReasonCodeExtension.encodeThis:()V
5: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 0
aload 2
invokespecial sun.security.x509.Extension.encode:(Lsun/security/util/DerOutputStream;)V
6: aload 1
aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/CRLReasonCodeExtension;
0 8 1 out Ljava/io/OutputStream;
1 8 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.util.Enumeration<java.lang.String> getElements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.security.x509.AttributeNameEnumeration
dup
invokespecial sun.security.x509.AttributeNameEnumeration.<init>:()V
astore 1
start local 1 1: aload 1
ldc "reason"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
invokevirtual sun.security.x509.AttributeNameEnumeration.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/CRLReasonCodeExtension;
1 3 1 elements Lsun/security/x509/AttributeNameEnumeration;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "CRLReasonCode"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CRLReasonCodeExtension;
public java.security.cert.CRLReason getReasonCode();
descriptor: ()Ljava/security/cert/CRLReason;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
ifle 2
aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
getstatic sun.security.x509.CRLReasonCodeExtension.values:[Ljava/security/cert/CRLReason;
arraylength
if_icmpge 2
1: getstatic sun.security.x509.CRLReasonCodeExtension.values:[Ljava/security/cert/CRLReason;
aload 0
getfield sun.security.x509.CRLReasonCodeExtension.reasonCode:I
aaload
areturn
2: StackMap locals:
StackMap stack:
getstatic java.security.cert.CRLReason.UNSPECIFIED:Ljava/security/cert/CRLReason;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/CRLReasonCodeExtension;
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.security.x509.CRLReasonCodeExtension.get:(Ljava/lang/String;)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.cert.CertificateException, java.io.IOException
}
Signature: Lsun/security/x509/Extension;Lsun/security/x509/CertAttrSet<Ljava/lang/String;>;
SourceFile: "CRLReasonCodeExtension.java"