public class sun.security.x509.URIName implements sun.security.x509.GeneralNameInterface
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.URIName
super_class: java.lang.Object
{
private java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
private java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.DNSName hostDNS;
descriptor: Lsun/security/x509/DNSName;
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.IPAddressName hostIP;
descriptor: Lsun/security/x509/IPAddressName;
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.util.DerValue.getIA5String:()Ljava/lang/String;
invokespecial sun.security.x509.URIName.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/URIName;
0 2 1 derValue Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derValue
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
putfield sun.security.x509.URIName.uri:Ljava/net/URI;
2: goto 5
StackMap locals: sun.security.x509.URIName java.lang.String
StackMap stack: java.net.URISyntaxException
3: astore 2
start local 2 4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnonnull 7
6: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "URI name must include scheme:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
putfield sun.security.x509.URIName.host:Ljava/lang/String;
8: aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
ifnull 26
9: aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpne 17
10: aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
iconst_1
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 11: aload 0
new sun.security.x509.IPAddressName
dup
aload 2
invokespecial sun.security.x509.IPAddressName.<init>:(Ljava/lang/String;)V
putfield sun.security.x509.URIName.hostIP:Lsun/security/x509/IPAddressName;
12: goto 26
StackMap locals: sun.security.x509.URIName java.lang.String java.lang.String
StackMap stack: java.io.IOException
13: pop
14: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name (host portion is not a valid IPv6 address):"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 17: StackMap locals:
StackMap stack:
aload 0
new sun.security.x509.DNSName
dup
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
invokespecial sun.security.x509.DNSName.<init>:(Ljava/lang/String;)V
putfield sun.security.x509.URIName.hostDNS:Lsun/security/x509/DNSName;
18: goto 26
StackMap locals:
StackMap stack: java.io.IOException
19: pop
20: aload 0
new sun.security.x509.IPAddressName
dup
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
invokespecial sun.security.x509.IPAddressName.<init>:(Ljava/lang/String;)V
putfield sun.security.x509.URIName.hostIP:Lsun/security/x509/IPAddressName;
21: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
22: pop
23: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name (host portion is not a valid DNS name, IPv4 address, or IPv6 address):"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/security/x509/URIName;
0 27 1 name Ljava/lang/String;
4 5 2 use Ljava/net/URISyntaxException;
11 17 2 ipV6Host Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
11 12 13 Class java.io.IOException
17 18 19 Class java.io.IOException
20 21 22 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public static sun.security.x509.URIName nameConstraint(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)Lsun/security/x509/URIName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.util.DerValue.getIA5String:()Ljava/lang/String;
astore 2
start local 2 1: new java.net.URI
dup
aload 2
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: goto 5
end local 1 StackMap locals: sun.security.util.DerValue top java.lang.String
StackMap stack: java.net.URISyntaxException
3: astore 3
start local 3 4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name constraint:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 start local 1 5: StackMap locals: sun.security.util.DerValue java.net.URI java.lang.String
StackMap stack:
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ifnonnull 15
6: aload 1
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ldc "."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
8: new sun.security.x509.DNSName
dup
aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial sun.security.x509.DNSName.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: goto 11
end local 4 10: StackMap locals: java.lang.String
StackMap stack:
new sun.security.x509.DNSName
dup
aload 3
invokespecial sun.security.x509.DNSName.<init>:(Ljava/lang/String;)V
astore 4
start local 4 11: StackMap locals: sun.security.x509.DNSName
StackMap stack:
new sun.security.x509.URIName
dup
aload 1
aload 3
aload 4
invokespecial sun.security.x509.URIName.<init>:(Ljava/net/URI;Ljava/lang/String;Lsun/security/x509/DNSName;)V
12: areturn
end local 4 13: StackMap locals: sun.security.util.DerValue java.net.URI java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 4
start local 4 14: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name constraint:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 15: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid URI name constraint (should not include scheme):"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 value Lsun/security/util/DerValue;
2 3 1 uri Ljava/net/URI;
5 18 1 uri Ljava/net/URI;
1 18 2 name Ljava/lang/String;
4 5 3 use Ljava/net/URISyntaxException;
7 15 3 host Ljava/lang/String;
9 10 4 hostDNS Lsun/security/x509/DNSName;
11 13 4 hostDNS Lsun/security/x509/DNSName;
14 15 4 ioe Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
7 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
void <init>(java.net.URI, java.lang.String, sun.security.x509.DNSName);
descriptor: (Ljava/net/URI;Ljava/lang/String;Lsun/security/x509/DNSName;)V
flags: (0x0000)
Code:
stack=2, locals=4, 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
aload 1
putfield sun.security.x509.URIName.uri:Ljava/net/URI;
2: aload 0
aload 2
putfield sun.security.x509.URIName.host:Ljava/lang/String;
3: aload 0
aload 3
putfield sun.security.x509.URIName.hostDNS:Lsun/security/x509/DNSName;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/URIName;
0 5 1 uri Ljava/net/URI;
0 5 2 host Ljava/lang/String;
0 5 3 hostDNS Lsun/security/x509/DNSName;
MethodParameters:
Name Flags
uri
host
hostDNS
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 6
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
invokevirtual sun.security.util.DerOutputStream.putIA5String:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/URIName;
0 2 1 out Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
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 "URIName: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.toString:()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/URIName;
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.URIName
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.URIName
astore 2
start local 2 5: aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
aload 2
invokevirtual sun.security.x509.URIName.getURI:()Ljava/net/URI;
invokevirtual java.net.URI.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/URIName;
0 6 1 obj Ljava/lang/Object;
5 6 2 other Lsun/security/x509/URIName;
MethodParameters:
Name Flags
obj
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
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: aload 0
getfield sun.security.x509.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
public java.lang.String getScheme();
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.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
public java.lang.String getHost();
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.URIName.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
public java.lang.Object getHostObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.URIName.hostIP:Lsun/security/x509/IPAddressName;
ifnull 2
1: aload 0
getfield sun.security.x509.URIName.hostIP:Lsun/security/x509/IPAddressName;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.URIName.hostDNS:Lsun/security/x509/DNSName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/URIName;
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.URIName.uri:Ljava/net/URI;
invokevirtual java.net.URI.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/URIName;
public int constrains(sun.security.x509.GeneralNameInterface);
descriptor: (Lsun/security/x509/GeneralNameInterface;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_m1
istore 2
start local 2 2: goto 33
end local 2 StackMap locals:
StackMap stack:
3: aload 1
invokeinterface sun.security.x509.GeneralNameInterface.getType:()I
bipush 6
if_icmpeq 6
4: iconst_m1
istore 2
start local 2 5: goto 33
end local 2 6: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.URIName
invokevirtual sun.security.x509.URIName.getHost:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
8: iconst_0
istore 2
start local 2 9: goto 33
end local 2 10: StackMap locals: sun.security.x509.URIName sun.security.x509.GeneralNameInterface top java.lang.String
StackMap stack:
aload 1
checkcast sun.security.x509.URIName
invokevirtual sun.security.x509.URIName.getHostObject:()Ljava/lang/Object;
astore 4
start local 4 11: aload 0
getfield sun.security.x509.URIName.hostDNS:Lsun/security/x509/DNSName;
ifnull 13
12: aload 4
instanceof sun.security.x509.DNSName
ifne 15
13: StackMap locals: java.lang.Object
StackMap stack:
iconst_3
istore 2
start local 2 14: goto 33
end local 2 15: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpne 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 5
start local 5 18: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpne 19
iconst_1
goto 20
StackMap locals: int
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 6
start local 6 21: aload 4
checkcast sun.security.x509.DNSName
astore 7
start local 7 22: aload 0
getfield sun.security.x509.URIName.hostDNS:Lsun/security/x509/DNSName;
aload 7
invokevirtual sun.security.x509.DNSName.constrains:(Lsun/security/x509/GeneralNameInterface;)I
istore 2
start local 2 23: iload 5
ifne 27
iload 6
ifne 27
24: iload 2
iconst_2
if_icmpeq 26
25: iload 2
iconst_1
if_icmpne 27
26: StackMap locals: sun.security.x509.URIName sun.security.x509.GeneralNameInterface int java.lang.String java.lang.Object int int sun.security.x509.DNSName
StackMap stack:
iconst_3
istore 2
27: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpeq 33
28: iload 2
ifne 33
29: iload 5
ifeq 32
30: iconst_2
istore 2
31: goto 33
32: StackMap locals:
StackMap stack:
iconst_1
istore 2
end local 7 end local 6 end local 5 end local 4 end local 3 33: StackMap locals: sun.security.x509.URIName sun.security.x509.GeneralNameInterface int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/security/x509/URIName;
0 34 1 inputName Lsun/security/x509/GeneralNameInterface;
2 3 2 constraintType I
5 6 2 constraintType I
9 10 2 constraintType I
14 15 2 constraintType I
23 34 2 constraintType I
7 33 3 otherHost Ljava/lang/String;
11 33 4 otherHostObject Ljava/lang/Object;
18 33 5 thisDomain Z
21 33 6 otherDomain Z
22 33 7 otherDNS Lsun/security/x509/DNSName;
Exceptions:
throws java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
inputName
public int subtreeDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new sun.security.x509.DNSName
dup
aload 0
getfield sun.security.x509.URIName.host:Ljava/lang/String;
invokespecial sun.security.x509.DNSName.<init>:(Ljava/lang/String;)V
astore 1
2: goto 5
StackMap locals: sun.security.x509.URIName sun.security.x509.DNSName
StackMap stack: java.io.IOException
3: astore 2
start local 2 4: new java.lang.UnsupportedOperationException
dup
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.x509.DNSName.subtreeDepth:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/URIName;
1 6 1 dnsName Lsun/security/x509/DNSName;
4 5 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
Exceptions:
throws java.lang.UnsupportedOperationException
}
SourceFile: "URIName.java"