public class sun.security.x509.GeneralName
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.GeneralName
super_class: java.lang.Object
{
private sun.security.x509.GeneralNameInterface name;
descriptor: Lsun/security/x509/GeneralNameInterface;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.security.x509.GeneralNameInterface);
descriptor: (Lsun/security/x509/GeneralNameInterface;)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 0
aconst_null
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "GeneralName must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: sun.security.x509.GeneralName sun.security.x509.GeneralNameInterface
StackMap stack:
aload 0
aload 1
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/GeneralName;
0 6 1 name Lsun/security/x509/GeneralNameInterface;
MethodParameters:
Name Flags
name
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial sun.security.x509.GeneralName.<init>:(Lsun/security/util/DerValue;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/GeneralName;
0 2 1 encName Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encName
public void <init>(sun.security.util.DerValue, boolean);
descriptor: (Lsun/security/util/DerValue;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, 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.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
2: aload 1
getfield sun.security.util.DerValue.tag:B
bipush 31
iand
i2b
istore 3
start local 3 3: iload 3
tableswitch { // 0 - 8
0: 4
1: 9
2: 14
3: 45
4: 36
5: 40
6: 19
7: 26
8: 31
default: 45
}
4: StackMap locals: sun.security.x509.GeneralName sun.security.util.DerValue int int
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 8
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 8
5: aload 1
bipush 48
invokevirtual sun.security.util.DerValue.resetTag:(B)V
6: aload 0
new sun.security.x509.OtherName
dup
aload 1
invokespecial sun.security.x509.OtherName.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
7: goto 48
8: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of Other-Name"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 13
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 13
10: aload 1
bipush 22
invokevirtual sun.security.util.DerValue.resetTag:(B)V
11: aload 0
new sun.security.x509.RFC822Name
dup
aload 1
invokespecial sun.security.x509.RFC822Name.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
12: goto 48
13: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of RFC822 name"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 18
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 18
15: aload 1
bipush 22
invokevirtual sun.security.util.DerValue.resetTag:(B)V
16: aload 0
new sun.security.x509.DNSName
dup
aload 1
invokespecial sun.security.x509.DNSName.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
17: goto 48
18: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of DNSName"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 25
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 25
20: aload 1
bipush 22
invokevirtual sun.security.util.DerValue.resetTag:(B)V
21: aload 0
iload 2
ifeq 22
aload 1
invokestatic sun.security.x509.URIName.nameConstraint:(Lsun/security/util/DerValue;)Lsun/security/x509/URIName;
goto 23
22: StackMap locals:
StackMap stack: sun.security.x509.GeneralName
new sun.security.x509.URIName
dup
aload 1
invokespecial sun.security.x509.URIName.<init>:(Lsun/security/util/DerValue;)V
23: StackMap locals: sun.security.x509.GeneralName sun.security.util.DerValue int int
StackMap stack: sun.security.x509.GeneralName sun.security.x509.URIName
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
24: goto 48
25: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of URI"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 30
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 30
27: aload 1
iconst_4
invokevirtual sun.security.util.DerValue.resetTag:(B)V
28: aload 0
new sun.security.x509.IPAddressName
dup
aload 1
invokespecial sun.security.x509.IPAddressName.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
29: goto 48
30: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of IP address"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 35
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 35
32: aload 1
bipush 6
invokevirtual sun.security.util.DerValue.resetTag:(B)V
33: aload 0
new sun.security.x509.OIDName
dup
aload 1
invokespecial sun.security.x509.OIDName.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
34: goto 48
35: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of OID name"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 39
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 39
37: aload 0
new sun.security.x509.X500Name
dup
aload 1
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokespecial sun.security.x509.X500Name.<init>:(Lsun/security/util/DerInputStream;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
38: goto 48
39: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of Directory name"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 44
aload 1
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 44
41: aload 1
bipush 48
invokevirtual sun.security.util.DerValue.resetTag:(B)V
42: aload 0
new sun.security.x509.EDIPartyName
dup
aload 1
invokespecial sun.security.x509.EDIPartyName.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
43: goto 48
44: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of EDI name"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
45: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized GeneralName tag, ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
46: iload 3
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;
47: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
48: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lsun/security/x509/GeneralName;
0 49 1 encName Lsun/security/util/DerValue;
0 49 2 nameConstraint Z
3 49 3 tag S
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encName
nameConstraint
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
invokeinterface sun.security.x509.GeneralNameInterface.getType:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/GeneralName;
public sun.security.x509.GeneralNameInterface getName();
descriptor: ()Lsun/security/x509/GeneralNameInterface;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/GeneralName;
public java.lang.String toString();
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.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/GeneralName;
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.GeneralName
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.GeneralName
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
astore 2
start local 2 5: aload 0
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
aload 2
invokeinterface sun.security.x509.GeneralNameInterface.constrains:(Lsun/security/x509/GeneralNameInterface;)I
ifne 6
iconst_1
ireturn
StackMap locals: sun.security.x509.GeneralNameInterface
StackMap stack:
6: iconst_0
7: ireturn
8: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/GeneralName;
0 10 1 other Ljava/lang/Object;
5 10 2 otherGNI Lsun/security/x509/GeneralNameInterface;
Exception table:
from to target type
5 7 8 Class java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/GeneralName;
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, 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.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
aload 2
invokeinterface sun.security.x509.GeneralNameInterface.encode:(Lsun/security/util/DerOutputStream;)V
2: aload 0
getfield sun.security.x509.GeneralName.name:Lsun/security/x509/GeneralNameInterface;
invokeinterface sun.security.x509.GeneralNameInterface.getType:()I
istore 3
start local 3 3: iload 3
ifeq 6
4: iload 3
iconst_3
if_icmpeq 6
5: iload 3
iconst_5
if_icmpne 12
6: StackMap locals: sun.security.util.DerOutputStream int
StackMap stack:
aload 1
bipush -128
7: iconst_1
iload 3
i2b
8: invokestatic sun.security.util.DerValue.createTag:(BZB)B
9: aload 2
10: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
11: goto 24
StackMap locals:
StackMap stack:
12: iload 3
iconst_4
if_icmpne 19
13: aload 1
bipush -128
14: iconst_1
iload 3
i2b
15: invokestatic sun.security.util.DerValue.createTag:(BZB)B
16: aload 2
17: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
18: goto 24
19: StackMap locals:
StackMap stack:
aload 1
bipush -128
20: iconst_0
iload 3
i2b
21: invokestatic sun.security.util.DerValue.createTag:(BZB)B
22: aload 2
23: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/x509/GeneralName;
0 25 1 out Lsun/security/util/DerOutputStream;
1 25 2 tmp Lsun/security/util/DerOutputStream;
3 25 3 nameType I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "GeneralName.java"