public class sun.security.jgss.krb5.Krb5NameElement implements sun.security.jgss.spi.GSSNameSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.jgss.krb5.Krb5NameElement
super_class: java.lang.Object
{
private sun.security.krb5.PrincipalName krb5PrincipalName;
descriptor: Lsun/security/krb5/PrincipalName;
flags: (0x0002) ACC_PRIVATE
private java.lang.String gssNameStr;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.ietf.jgss.Oid gssNameType;
descriptor: Lorg/ietf/jgss/Oid;
flags: (0x0002) ACC_PRIVATE
private void <init>(sun.security.krb5.PrincipalName, java.lang.String, org.ietf.jgss.Oid);
descriptor: (Lsun/security/krb5/PrincipalName;Ljava/lang/String;Lorg/ietf/jgss/Oid;)V
flags: (0x0002) ACC_PRIVATE
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
aconst_null
putfield sun.security.jgss.krb5.Krb5NameElement.gssNameStr:Ljava/lang/String;
2: aload 0
aconst_null
putfield sun.security.jgss.krb5.Krb5NameElement.gssNameType:Lorg/ietf/jgss/Oid;
3: aload 0
aload 1
putfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
4: aload 0
aload 2
putfield sun.security.jgss.krb5.Krb5NameElement.gssNameStr:Ljava/lang/String;
5: aload 0
aload 3
putfield sun.security.jgss.krb5.Krb5NameElement.gssNameType:Lorg/ietf/jgss/Oid;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/jgss/krb5/Krb5NameElement;
0 7 1 principalName Lsun/security/krb5/PrincipalName;
0 7 2 gssNameStr Ljava/lang/String;
0 7 3 gssNameType Lorg/ietf/jgss/Oid;
MethodParameters:
Name Flags
principalName
gssNameStr
gssNameType
static sun.security.jgss.krb5.Krb5NameElement getInstance(java.lang.String, org.ietf.jgss.Oid);
descriptor: (Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/krb5/Krb5NameElement;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
astore 1
goto 11
2: StackMap locals:
StackMap stack:
aload 1
getstatic org.ietf.jgss.GSSName.NT_USER_NAME:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 11
3: aload 1
getstatic org.ietf.jgss.GSSName.NT_HOSTBASED_SERVICE:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 11
4: aload 1
getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 11
5: aload 1
getstatic org.ietf.jgss.GSSName.NT_EXPORT_NAME:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 11
6: new org.ietf.jgss.GSSException
dup
iconst_4
iconst_m1
7: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.ietf.jgss.Oid.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: ldc " is an unsupported nametype"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
getstatic org.ietf.jgss.GSSName.NT_EXPORT_NAME:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 1
getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifeq 17
13: StackMap locals:
StackMap stack:
new sun.security.krb5.PrincipalName
dup
aload 0
14: iconst_1
15: invokespecial sun.security.krb5.PrincipalName.<init>:(Ljava/lang/String;I)V
astore 2
start local 2 16: goto 34
end local 2 17: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.jgss.krb5.Krb5NameElement.getComponents:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 18: aload 1
getstatic org.ietf.jgss.GSSName.NT_USER_NAME:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ifeq 23
19: new sun.security.krb5.PrincipalName
dup
aload 0
20: iconst_1
21: invokespecial sun.security.krb5.PrincipalName.<init>:(Ljava/lang/String;I)V
astore 2
start local 2 22: goto 34
end local 2 23: StackMap locals: java.lang.String org.ietf.jgss.Oid top java.lang.String[]
StackMap stack:
aconst_null
astore 4
start local 4 24: aload 3
iconst_0
aaload
astore 5
start local 5 25: aload 3
arraylength
iconst_2
if_icmplt 27
26: aload 3
iconst_1
aaload
astore 4
27: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 5
aload 4
invokestatic sun.security.jgss.krb5.Krb5NameElement.getHostBasedInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 28: new sun.security.krb5.PrincipalName
dup
aload 6
29: iconst_3
30: invokespecial sun.security.krb5.PrincipalName.<init>:(Ljava/lang/String;I)V
astore 2
end local 6 end local 5 end local 4 end local 3 start local 2 31: goto 34
end local 2 StackMap locals: java.lang.String org.ietf.jgss.Oid
StackMap stack: sun.security.krb5.KrbException
32: astore 3
start local 3 33: new org.ietf.jgss.GSSException
dup
iconst_3
iconst_m1
aload 3
invokevirtual sun.security.krb5.KrbException.getMessage:()Ljava/lang/String;
invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
end local 3 start local 2 34: StackMap locals: sun.security.krb5.PrincipalName
StackMap stack:
aload 2
invokevirtual sun.security.krb5.PrincipalName.isRealmDeduced:()Z
ifeq 43
getstatic sun.security.krb5.Realm.AUTODEDUCEREALM:Z
ifne 43
35: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 36: aload 3
ifnull 43
37: aload 3
new javax.security.auth.kerberos.ServicePermission
dup
38: new java.lang.StringBuilder
dup
ldc "@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual sun.security.krb5.PrincipalName.getRealmAsString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "-"
invokespecial javax.security.auth.kerberos.ServicePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
39: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
40: goto 43
StackMap locals: java.lang.String org.ietf.jgss.Oid sun.security.krb5.PrincipalName java.lang.SecurityManager
StackMap stack: java.lang.SecurityException
41: pop
42: new org.ietf.jgss.GSSException
dup
bipush 11
invokespecial org.ietf.jgss.GSSException.<init>:(I)V
athrow
end local 3 43: StackMap locals:
StackMap stack:
new sun.security.jgss.krb5.Krb5NameElement
dup
aload 2
aload 0
aload 1
invokespecial sun.security.jgss.krb5.Krb5NameElement.<init>:(Lsun/security/krb5/PrincipalName;Ljava/lang/String;Lorg/ietf/jgss/Oid;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 gssNameStr Ljava/lang/String;
0 44 1 gssNameType Lorg/ietf/jgss/Oid;
16 17 2 principalName Lsun/security/krb5/PrincipalName;
22 23 2 principalName Lsun/security/krb5/PrincipalName;
31 32 2 principalName Lsun/security/krb5/PrincipalName;
34 44 2 principalName Lsun/security/krb5/PrincipalName;
18 31 3 components [Ljava/lang/String;
24 31 4 hostName Ljava/lang/String;
25 31 5 service Ljava/lang/String;
28 31 6 principal Ljava/lang/String;
33 34 3 e Lsun/security/krb5/KrbException;
36 43 3 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
11 31 32 Class sun.security.krb5.KrbException
37 40 41 Class java.lang.SecurityException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
gssNameStr
gssNameType
public static sun.security.jgss.krb5.Krb5NameElement getInstance(sun.security.krb5.PrincipalName);
descriptor: (Lsun/security/krb5/PrincipalName;)Lsun/security/jgss/krb5/Krb5NameElement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new sun.security.jgss.krb5.Krb5NameElement
dup
aload 0
1: aload 0
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
2: getstatic sun.security.jgss.krb5.Krb5MechFactory.NT_GSS_KRB5_PRINCIPAL:Lorg/ietf/jgss/Oid;
3: invokespecial sun.security.jgss.krb5.Krb5NameElement.<init>:(Lsun/security/krb5/PrincipalName;Ljava/lang/String;Lorg/ietf/jgss/Oid;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 principalName Lsun/security/krb5/PrincipalName;
MethodParameters:
Name Flags
principalName
private static java.lang.String[] getComponents(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
bipush 64
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 2
start local 2 1: iload 2
ifle 6
2: aload 0
iload 2
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 6
3: iload 2
iconst_2
isub
iflt 5
4: aload 0
iload 2
iconst_2
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpeq 6
5: StackMap locals: java.lang.String top int
StackMap stack:
iconst_m1
istore 2
6: StackMap locals:
StackMap stack:
iload 2
ifle 11
7: aload 0
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 8: aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 9: iconst_2
anewarray java.lang.String
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
astore 1
end local 4 end local 3 start local 1 10: goto 12
end local 1 11: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
astore 1
start local 1 12: StackMap locals: java.lang.String java.lang.String[] int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 gssNameStr Ljava/lang/String;
10 11 1 retVal [Ljava/lang/String;
12 13 1 retVal [Ljava/lang/String;
1 13 2 separatorPos I
8 10 3 serviceName Ljava/lang/String;
9 10 4 hostName Ljava/lang/String;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
gssNameStr
private static java.lang.String getHostBasedInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuffer
dup
aload 0
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 1
ifnonnull 5
2: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
astore 1
3: goto 5
StackMap locals: java.lang.String java.lang.String java.lang.StringBuffer
StackMap stack: java.net.UnknownHostException
4: pop
5: StackMap locals:
StackMap stack:
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
6: aload 2
bipush 47
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
aload 1
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
astore 2
7: aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 serviceName Ljava/lang/String;
0 8 1 hostName Ljava/lang/String;
1 8 2 temp Ljava/lang/StringBuffer;
Exception table:
from to target type
1 3 4 Class java.net.UnknownHostException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
serviceName
hostName
public final sun.security.krb5.PrincipalName getKrb5PrincipalName();
descriptor: ()Lsun/security/krb5/PrincipalName;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public boolean equals(sun.security.jgss.spi.GSSNameSpi);
descriptor: (Lsun/security/jgss/spi/GSSNameSpi;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.jgss.krb5.Krb5NameElement
ifeq 7
3: aload 1
checkcast sun.security.jgss.krb5.Krb5NameElement
astore 2
start local 2 4: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
5: aload 2
getfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
6: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/jgss/krb5/Krb5NameElement;
0 8 1 other Lsun/security/jgss/spi/GSSNameSpi;
4 7 2 that Lsun/security/jgss/krb5/Krb5NameElement;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
other
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, 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.jgss.krb5.Krb5NameElement
ifeq 6
3: aload 0
aload 1
checkcast sun.security.jgss.krb5.Krb5NameElement
invokevirtual sun.security.jgss.krb5.Krb5NameElement.equals:(Lsun/security/jgss/spi/GSSNameSpi;)Z
4: ireturn
5: StackMap locals:
StackMap stack: org.ietf.jgss.GSSException
pop
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/jgss/krb5/Krb5NameElement;
0 7 1 another Ljava/lang/Object;
Exception table:
from to target type
2 4 5 Class org.ietf.jgss.GSSException
MethodParameters:
Name Flags
another
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: sipush 629
aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public byte[] export();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.krb5PrincipalName:Lsun/security/krb5/PrincipalName;
invokevirtual sun.security.krb5.PrincipalName.getName:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
Exceptions:
throws org.ietf.jgss.GSSException
public org.ietf.jgss.Oid getMechanism();
descriptor: ()Lorg/ietf/jgss/Oid;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.krb5.Krb5MechFactory.GSS_KRB5_MECH_OID:Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
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.jgss.krb5.Krb5NameElement.gssNameStr:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public org.ietf.jgss.Oid getGSSNameType();
descriptor: ()Lorg/ietf/jgss/Oid;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.gssNameType:Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public org.ietf.jgss.Oid getStringNameType();
descriptor: ()Lorg/ietf/jgss/Oid;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.gssNameType:Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public boolean isAnonymousName();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.Krb5NameElement.gssNameType:Lorg/ietf/jgss/Oid;
getstatic org.ietf.jgss.GSSName.NT_ANONYMOUS:Lorg/ietf/jgss/Oid;
invokevirtual org.ietf.jgss.Oid.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
public java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.krb5.Krb5MechFactory.PROVIDER:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/krb5/Krb5NameElement;
}
SourceFile: "Krb5NameElement.java"