public class sun.security.x509.Extension implements java.security.cert.Extension
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.Extension
super_class: java.lang.Object
{
protected sun.security.util.ObjectIdentifier extensionId;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0004) ACC_PROTECTED
protected boolean critical;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected byte[] extensionValue;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
private static final int hashMagic;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 31
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
iconst_0
putfield sun.security.x509.Extension.critical:Z
3: aload 0
aconst_null
putfield sun.security.x509.Extension.extensionValue:[B
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/Extension;
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, 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.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
iconst_0
putfield sun.security.x509.Extension.critical:Z
3: aload 0
aconst_null
putfield sun.security.x509.Extension.extensionValue:[B
4: aload 1
invokevirtual sun.security.util.DerValue.toDerInputStream:()Lsun/security/util/DerInputStream;
astore 2
start local 2 5: aload 0
aload 2
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
6: aload 2
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 7: aload 3
getfield sun.security.util.DerValue.tag:B
iconst_1
if_icmpne 12
8: aload 0
aload 3
invokevirtual sun.security.util.DerValue.getBoolean:()Z
putfield sun.security.x509.Extension.critical:Z
9: aload 2
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
10: aload 0
aload 3
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield sun.security.x509.Extension.extensionValue:[B
11: goto 14
12: StackMap locals: sun.security.x509.Extension sun.security.util.DerValue sun.security.util.DerInputStream sun.security.util.DerValue
StackMap stack:
aload 0
iconst_0
putfield sun.security.x509.Extension.critical:Z
13: aload 0
aload 3
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield sun.security.x509.Extension.extensionValue:[B
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/x509/Extension;
0 15 1 derVal Lsun/security/util/DerValue;
5 15 2 in Lsun/security/util/DerInputStream;
7 15 3 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derVal
public void <init>(sun.security.util.ObjectIdentifier, boolean, byte[]);
descriptor: (Lsun/security/util/ObjectIdentifier;Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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
aconst_null
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
iconst_0
putfield sun.security.x509.Extension.critical:Z
3: aload 0
aconst_null
putfield sun.security.x509.Extension.extensionValue:[B
4: aload 0
aload 1
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
5: aload 0
iload 2
putfield sun.security.x509.Extension.critical:Z
6: new sun.security.util.DerValue
dup
aload 3
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 4
start local 4 7: aload 0
aload 4
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield sun.security.x509.Extension.extensionValue:[B
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/Extension;
0 9 1 extensionId Lsun/security/util/ObjectIdentifier;
0 9 2 critical Z
0 9 3 extensionValue [B
7 9 4 inDerVal Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
extensionId
critical
extensionValue
public void <init>(sun.security.x509.Extension);
descriptor: (Lsun/security/x509/Extension;)V
flags: (0x0001) ACC_PUBLIC
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.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
iconst_0
putfield sun.security.x509.Extension.critical:Z
3: aload 0
aconst_null
putfield sun.security.x509.Extension.extensionValue:[B
4: aload 0
aload 1
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
5: aload 0
aload 1
getfield sun.security.x509.Extension.critical:Z
putfield sun.security.x509.Extension.critical:Z
6: aload 0
aload 1
getfield sun.security.x509.Extension.extensionValue:[B
putfield sun.security.x509.Extension.extensionValue:[B
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/Extension;
0 8 1 ext Lsun/security/x509/Extension;
MethodParameters:
Name Flags
ext
public static sun.security.x509.Extension newExtension(sun.security.util.ObjectIdentifier, boolean, byte[]);
descriptor: (Lsun/security/util/ObjectIdentifier;Z[B)Lsun/security/x509/Extension;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.x509.Extension
dup
invokespecial sun.security.x509.Extension.<init>:()V
astore 3
start local 3 1: aload 3
aload 0
putfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 3
iload 1
putfield sun.security.x509.Extension.critical:Z
3: aload 3
aload 2
putfield sun.security.x509.Extension.extensionValue:[B
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 extensionId Lsun/security/util/ObjectIdentifier;
0 5 1 critical Z
0 5 2 rawExtensionValue [B
1 5 3 ext Lsun/security/x509/Extension;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
extensionId
critical
rawExtensionValue
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 3: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 4: aload 2
aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
5: aload 0
getfield sun.security.x509.Extension.critical:Z
ifeq 7
6: aload 2
aload 0
getfield sun.security.x509.Extension.critical:Z
invokevirtual sun.security.util.DerOutputStream.putBoolean:(Z)V
7: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 2
aload 0
getfield sun.security.x509.Extension.extensionValue:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
8: aload 3
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
9: aload 1
aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
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/x509/Extension;
0 11 1 out Ljava/io/OutputStream;
3 11 2 dos1 Lsun/security/util/DerOutputStream;
4 11 3 dos2 Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
ifnonnull 2
1: new java.io.IOException
dup
ldc "Null OID to encode for the extension!"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.Extension.extensionValue:[B
ifnonnull 4
3: new java.io.IOException
dup
ldc "No value to encode for the extension!"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 5: aload 2
aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
6: aload 0
getfield sun.security.x509.Extension.critical:Z
ifeq 8
7: aload 2
aload 0
getfield sun.security.x509.Extension.critical:Z
invokevirtual sun.security.util.DerOutputStream.putBoolean:(Z)V
8: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 2
aload 0
getfield sun.security.x509.Extension.extensionValue:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
9: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/Extension;
0 11 1 out Lsun/security/util/DerOutputStream;
5 11 2 dos Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public boolean isCritical();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.Extension.critical:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/Extension;
public sun.security.util.ObjectIdentifier getExtensionId();
descriptor: ()Lsun/security/util/ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/Extension;
public byte[] getValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.Extension.extensionValue:[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/x509/Extension;
public byte[] getExtensionValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.Extension.extensionValue:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/Extension;
public java.lang.String getId();
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.x509.Extension.extensionId: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/x509/Extension;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ObjectId: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.security.x509.Extension.critical:Z
ifeq 4
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Criticality=true\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Criticality=false\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/Extension;
1 6 1 s Ljava/lang/String;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield sun.security.x509.Extension.extensionValue:[B
ifnull 7
2: aload 0
getfield sun.security.x509.Extension.extensionValue:[B
astore 2
start local 2 3: aload 2
arraylength
istore 3
start local 3 4: goto 6
5: StackMap locals: int byte[] int
StackMap stack:
iload 1
iload 3
aload 2
iinc 3 -1
iload 3
baload
imul
iadd
istore 1
6: StackMap locals:
StackMap stack:
iload 3
ifgt 5
end local 3 end local 2 7: StackMap locals:
StackMap stack:
iload 1
bipush 31
imul
aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.hashCode:()I
iadd
istore 1
8: iload 1
bipush 31
imul
aload 0
getfield sun.security.x509.Extension.critical:Z
ifeq 9
sipush 1231
goto 10
StackMap locals:
StackMap stack: int
9: sipush 1237
StackMap locals: sun.security.x509.Extension int
StackMap stack: int int
10: iadd
istore 1
11: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/x509/Extension;
1 12 1 h I
3 7 2 val [B
4 7 3 len I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.x509.Extension
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.Extension
astore 2
start local 2 5: aload 0
getfield sun.security.x509.Extension.critical:Z
aload 2
getfield sun.security.x509.Extension.critical:Z
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: sun.security.x509.Extension
StackMap stack:
aload 0
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
aload 2
getfield sun.security.x509.Extension.extensionId:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.Extension.extensionValue:[B
aload 2
getfield sun.security.x509.Extension.extensionValue:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/Extension;
0 10 1 other Ljava/lang/Object;
5 10 2 otherExt Lsun/security/x509/Extension;
MethodParameters:
Name Flags
other
}
SourceFile: "Extension.java"