Module java.base
Package javax.security.auth.x500

# Class X500Principal

=
public final class X500Principal
extends java.lang.Object
implements java.io.Serializable, java.security.Principal

## Fields

- =
  public static final java.lang.String CANONICAL = "CANONICAL"
- =
  public static final java.lang.String RFC1779 = "RFC1779"
- =
  public static final java.lang.String RFC2253 = "RFC2253"

## Constructors

- =
  public X500Principal(byte[] arg0)
- =
  public X500Principal(java.io.InputStream arg0)
- =
  public X500Principal(java.lang.String arg0)
- =
  public X500Principal(java.lang.String arg0, java.util.Map<java.lang.String, java.lang.String> arg1)

## Methods

- =
  public boolean equals(java.lang.Object arg0)
- =
  public byte[] getEncoded()
- =
  public java.lang.String getName()
- =
  public java.lang.String getName(java.lang.String arg0)
- =
  public java.lang.String getName(java.lang.String arg0, java.util.Map<java.lang.String, java.lang.String> arg1)
- =
  public int hashCode()
- =
  public java.lang.String toString()

## Serialized Form

=

### serialVersionUID

=-500463348111345721

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.io.NotActiveException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.