public final class javax.security.auth.x500.X500Principal implements java.security.Principal, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javax.security.auth.x500.X500Principal
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -500463348111345721
public static final java.lang.String RFC1779;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "RFC1779"
public static final java.lang.String RFC2253;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "RFC2253"
public static final java.lang.String CANONICAL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "CANONICAL"
private transient sun.security.x509.X500Name thisX500Name;
descriptor: Lsun/security/x509/X500Name;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
void <init>(sun.security.x509.X500Name);
descriptor: (Lsun/security/x509/X500Name;)V
flags: (0x0000)
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
aload 1
putfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/x500/X500Principal;
0 3 1 x500Name Lsun/security/x509/X500Name;
MethodParameters:
Name Flags
x500Name
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokespecial javax.security.auth.x500.X500Principal.<init>:(Ljava/lang/String;Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/security/auth/x500/X500Principal;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 6
2: new java.lang.NullPointerException
dup
3: ldc "provided.null.name"
4: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
5: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: javax.security.auth.x500.X500Principal java.lang.String java.util.Map
StackMap stack:
aload 2
ifnonnull 11
7: new java.lang.NullPointerException
dup
8: ldc "provided.null.keyword.map"
9: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
10: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
new sun.security.x509.X500Name
dup
aload 1
aload 2
invokespecial sun.security.x509.X500Name.<init>:(Ljava/lang/String;Ljava/util/Map;)V
putfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
12: goto 19
StackMap locals:
StackMap stack: java.lang.Exception
13: astore 3
start local 3 14: new java.lang.IllegalArgumentException
dup
15: new java.lang.StringBuilder
dup
ldc "improperly specified input 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;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 17: aload 4
aload 3
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
18: aload 4
athrow
end local 4 end local 3 19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/security/auth/x500/X500Principal;
0 20 1 name Ljava/lang/String;
0 20 2 keywordMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
14 19 3 e Ljava/lang/Exception;
17 19 4 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
11 12 13 Class java.lang.Exception
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name
keywordMap
public void <init>(byte[]);
descriptor: ([B)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
new sun.security.x509.X500Name
dup
aload 1
invokespecial sun.security.x509.X500Name.<init>:([B)V
putfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
2: goto 9
StackMap locals: javax.security.auth.x500.X500Principal byte[]
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: new java.lang.IllegalArgumentException
dup
5: ldc "improperly specified input name"
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 7: aload 3
aload 2
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
8: aload 3
athrow
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/security/auth/x500/X500Principal;
0 10 1 name [B
4 9 2 e Ljava/lang/Exception;
7 9 3 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
name
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "provided null input stream"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.security.auth.x500.X500Principal java.io.InputStream
StackMap stack:
aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 5
4: aload 1
aload 1
invokevirtual java.io.InputStream.available:()I
iconst_1
iadd
invokevirtual java.io.InputStream.mark:(I)V
5: StackMap locals:
StackMap stack:
new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 6: aload 0
new sun.security.x509.X500Name
dup
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokespecial sun.security.x509.X500Name.<init>:(Lsun/security/util/DerInputStream;)V
putfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
end local 2 7: goto 23
StackMap locals:
StackMap stack: java.lang.Exception
8: astore 2
start local 2 9: aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 18
10: aload 1
invokevirtual java.io.InputStream.reset:()V
11: goto 18
StackMap locals: javax.security.auth.x500.X500Principal java.io.InputStream java.lang.Exception
StackMap stack: java.io.IOException
12: pop
13: new java.lang.IllegalArgumentException
dup
14: ldc "improperly specified input stream and unable to reset input stream"
15: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 16: aload 3
aload 2
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
17: aload 3
athrow
end local 3 18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
19: ldc "improperly specified input stream"
20: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 21: aload 3
aload 2
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
22: aload 3
athrow
end local 3 end local 2 23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/security/auth/x500/X500Principal;
0 24 1 is Ljava/io/InputStream;
6 7 2 der Lsun/security/util/DerValue;
9 23 2 e Ljava/lang/Exception;
16 18 3 iae Ljava/lang/IllegalArgumentException;
21 23 3 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
3 7 8 Class java.lang.Exception
10 11 12 Class java.io.IOException
MethodParameters:
Name Flags
is
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "RFC2253"
invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/x500/X500Principal;
public java.lang.String getName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 1
ldc "RFC1779"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.getRFC1779Name:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 1
ldc "RFC2253"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.getRFC2253Name:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 1
ldc "CANONICAL"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.getRFC2253CanonicalName:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid format specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/security/auth/x500/X500Principal;
0 8 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
public java.lang.String getName(java.lang.String, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 5
1: new java.lang.NullPointerException
dup
2: ldc "provided.null.OID.map"
3: invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
4: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
ifnull 10
6: aload 1
ldc "RFC1779"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
aload 2
invokevirtual sun.security.x509.X500Name.getRFC1779Name:(Ljava/util/Map;)Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "RFC2253"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
aload 2
invokevirtual sun.security.x509.X500Name.getRFC2253Name:(Ljava/util/Map;)Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid format specified"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/security/auth/x500/X500Principal;
0 11 1 format Ljava/lang/String;
0 11 2 oidMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
format
oidMap
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.getEncoded:()[B
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.lang.RuntimeException
dup
ldc "unable to get encoding"
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/security/auth/x500/X500Principal;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
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 javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/x500/X500Principal;
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 javax.security.auth.x500.X500Principal
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.security.auth.x500.X500Principal
astore 2
start local 2 5: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
aload 2
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.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 Ljavax/security/auth/x500/X500Principal;
0 6 1 o Ljava/lang/Object;
5 6 2 other Ljavax/security/auth/x500/X500Principal;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/x500/X500Principal;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.getEncodedInternal:()[B
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/security/auth/x500/X500Principal;
0 2 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new sun.security.x509.X500Name
dup
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast byte[]
invokespecial sun.security.x509.X500Name.<init>:([B)V
putfield javax.security.auth.x500.X500Principal.thisX500Name:Lsun/security/x509/X500Name;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/security/auth/x500/X500Principal;
0 2 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.io.NotActiveException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "X500Principal.java"