public class sun.security.x509.OtherName implements sun.security.x509.GeneralNameInterface
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.OtherName
super_class: java.lang.Object
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.ObjectIdentifier oid;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private byte[] nameValue;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.GeneralNameInterface gni;
descriptor: Lsun/security/x509/GeneralNameInterface;
flags: (0x0002) ACC_PRIVATE
private static final byte TAG_VALUE;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private int myhash;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.security.util.ObjectIdentifier, byte[]);
descriptor: (Lsun/security/util/ObjectIdentifier;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.security.x509.OtherName.nameValue:[B
2: aload 0
aconst_null
putfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
3: aload 0
iconst_m1
putfield sun.security.x509.OtherName.myhash:I
4: aload 1
ifnull 5
aload 2
ifnonnull 6
5: StackMap locals: sun.security.x509.OtherName sun.security.util.ObjectIdentifier byte[]
StackMap stack:
new java.lang.NullPointerException
dup
ldc "parameters may not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
7: aload 0
aload 2
putfield sun.security.x509.OtherName.nameValue:[B
8: aload 0
aload 0
aload 1
aload 2
invokevirtual sun.security.x509.OtherName.getGNI:(Lsun/security/util/ObjectIdentifier;[B)Lsun/security/x509/GeneralNameInterface;
putfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
9: aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
ifnull 12
10: aload 0
aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
putfield sun.security.x509.OtherName.name:Ljava/lang/String;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Unrecognized ObjectIdentifier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
putfield sun.security.x509.OtherName.name:Ljava/lang/String;
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/x509/OtherName;
0 14 1 oid Lsun/security/util/ObjectIdentifier;
0 14 2 value [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oid
value
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.OtherName.nameValue:[B
2: aload 0
aconst_null
putfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
3: aload 0
iconst_m1
putfield sun.security.x509.OtherName.myhash:I
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.OtherName.oid:Lsun/security/util/ObjectIdentifier;
6: aload 2
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 7: aload 0
aload 3
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.x509.OtherName.nameValue:[B
8: aload 0
aload 0
aload 0
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
aload 0
getfield sun.security.x509.OtherName.nameValue:[B
invokevirtual sun.security.x509.OtherName.getGNI:(Lsun/security/util/ObjectIdentifier;[B)Lsun/security/x509/GeneralNameInterface;
putfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
9: aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
ifnull 12
10: aload 0
aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
putfield sun.security.x509.OtherName.name:Ljava/lang/String;
11: goto 13
12: StackMap locals: sun.security.x509.OtherName sun.security.util.DerValue sun.security.util.DerInputStream sun.security.util.DerValue
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "Unrecognized ObjectIdentifier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.OtherName.oid: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;
putfield sun.security.x509.OtherName.name:Ljava/lang/String;
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/x509/OtherName;
0 14 1 derValue Lsun/security/util/DerValue;
5 14 2 in Lsun/security/util/DerInputStream;
7 14 3 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derValue
public sun.security.util.ObjectIdentifier getOID();
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.OtherName.oid:Lsun/security/util/ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/OtherName;
public byte[] getNameValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.OtherName.nameValue:[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/OtherName;
private sun.security.x509.GeneralNameInterface getGNI(sun.security.util.ObjectIdentifier, byte[]);
descriptor: (Lsun/security/util/ObjectIdentifier;[B)Lsun/security/x509/GeneralNameInterface;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.security.x509.OIDMap.getClass:(Lsun/security/util/ObjectIdentifier;)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
astore 4
start local 4 4: aload 3
aload 4
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 5
start local 5 5: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
astore 6
start local 6 6: aload 5
aload 6
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.x509.GeneralNameInterface
7: astore 7
start local 7 8: aload 7
9: areturn
end local 7 end local 6 end local 5 end local 4 end local 3 10: StackMap locals: sun.security.x509.OtherName sun.security.util.ObjectIdentifier byte[]
StackMap stack: java.lang.Exception
astore 3
start local 3 11: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Instantiation error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/x509/OtherName;
0 12 1 oid Lsun/security/util/ObjectIdentifier;
0 12 2 nameValue [B
1 10 3 extClass Ljava/lang/Class<*>;
4 10 4 params [Ljava/lang/Class;
5 10 5 cons Ljava/lang/reflect/Constructor<*>;
6 10 6 passed [Ljava/lang/Object;
8 10 7 gni Lsun/security/x509/GeneralNameInterface;
11 12 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 10 Class java.lang.Exception
3 9 10 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oid
nameValue
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/OtherName;
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
ifnull 3
1: aload 0
getfield sun.security.x509.OtherName.gni:Lsun/security/x509/GeneralNameInterface;
aload 1
invokeinterface sun.security.x509.GeneralNameInterface.encode:(Lsun/security/util/DerOutputStream;)V
2: return
3: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 4: aload 2
aload 0
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
5: aload 2
bipush -128
iconst_1
iconst_0
invokestatic sun.security.util.DerValue.createTag:(BZB)B
aload 0
getfield sun.security.x509.OtherName.nameValue:[B
invokevirtual sun.security.util.DerOutputStream.write:(B[B)V
6: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/OtherName;
0 8 1 out Lsun/security/util/DerOutputStream;
4 7 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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.OtherName
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.OtherName
astore 2
start local 2 5: aload 2
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
aload 0
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: sun.security.x509.OtherName
StackMap stack:
aconst_null
astore 3
start local 3 8: aload 0
aload 2
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
aload 2
getfield sun.security.x509.OtherName.nameValue:[B
invokevirtual sun.security.x509.OtherName.getGNI:(Lsun/security/util/ObjectIdentifier;[B)Lsun/security/x509/GeneralNameInterface;
astore 3
9: goto 12
StackMap locals: sun.security.x509.OtherName java.lang.Object sun.security.x509.OtherName sun.security.x509.GeneralNameInterface
StackMap stack: java.io.IOException
10: pop
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 3
ifnull 20
13: aload 3
aload 0
invokeinterface sun.security.x509.GeneralNameInterface.constrains:(Lsun/security/x509/GeneralNameInterface;)I
ifne 14
iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 4
start local 4 16: goto 21
end local 4 StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
17: pop
18: iconst_0
istore 4
start local 4 19: goto 21
end local 4 20: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.OtherName.nameValue:[B
aload 2
getfield sun.security.x509.OtherName.nameValue:[B
invokestatic java.util.Arrays.equals:([B[B)Z
istore 4
start local 4 21: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/x509/OtherName;
0 22 1 other Ljava/lang/Object;
5 22 2 otherOther Lsun/security/x509/OtherName;
8 22 3 otherGNI Lsun/security/x509/GeneralNameInterface;
16 17 4 result Z
19 20 4 result Z
21 22 4 result Z
Exception table:
from to target type
8 9 10 Class java.io.IOException
13 16 17 Class java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.OtherName.myhash:I
iconst_m1
if_icmpne 7
1: aload 0
bipush 37
aload 0
getfield sun.security.x509.OtherName.oid:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.hashCode:()I
iadd
putfield sun.security.x509.OtherName.myhash:I
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
bipush 37
aload 0
getfield sun.security.x509.OtherName.myhash:I
imul
aload 0
getfield sun.security.x509.OtherName.nameValue:[B
iload 1
baload
iadd
putfield sun.security.x509.OtherName.myhash:I
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield sun.security.x509.OtherName.nameValue:[B
arraylength
if_icmplt 4
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.OtherName.myhash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/OtherName;
3 7 1 i I
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
ldc "Other-Name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.OtherName.name:Ljava/lang/String;
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 1 0 this Lsun/security/x509/OtherName;
public int constrains(sun.security.x509.GeneralNameInterface);
descriptor: (Lsun/security/x509/GeneralNameInterface;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_m1
istore 2
start local 2 2: goto 7
end local 2 StackMap locals:
StackMap stack:
3: aload 1
invokeinterface sun.security.x509.GeneralNameInterface.getType:()I
ifeq 6
4: iconst_m1
istore 2
start local 2 5: goto 7
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Narrowing, widening, and matching are not supported for OtherName."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
start local 2 7: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/OtherName;
0 8 1 inputName Lsun/security/x509/GeneralNameInterface;
2 3 2 constraintType I
5 6 2 constraintType I
7 8 2 constraintType I
MethodParameters:
Name Flags
inputName
public int subtreeDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
1: ldc "subtreeDepth() not supported for generic OtherName"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/OtherName;
}
SourceFile: "OtherName.java"