javax.security.auth.x500 (Java SE 26 & JDK 26)
Description: declaration: module: java.base, package: javax.security.auth.x500
Keywords: javax.security.auth.x500 package

# Package javax.security.auth.x500

package javax.security.auth.x500
This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.

## Package Specification

- RFC 1779: A String Representation of Distinguished Names
- RFC 2253: Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names
- RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
- RFC 4512: Lightweight Directory Access Protocol (LDAP): Directory Information Models

Since:
  1.4
External Specifications
  - RFC 1779: A String Representation of Distinguished Names
  - RFC 2253: Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names
  - RFC 4512: Lightweight Directory Access Protocol (LDAP): Directory Information Models
  - RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile

- Related Packages
  Module
  Package
  Description
  java.base
  javax.security.auth
  This package provides a framework for authentication and authorization.
  java.base
  javax.security.auth.callback
  This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example).
  java.security.jgss
  javax.security.auth.kerberos
  This package contains utility classes related to the Kerberos network authentication protocol.
  java.base
  javax.security.auth.login
  This package provides a pluggable authentication framework.
  java.base
  javax.security.auth.spi
  This package provides the interface to be used for implementing pluggable authentication modules.
- Classes
  Class
  Description
  X500Principal
  This class represents an X.500 `Principal`.
  X500PrivateCredential
  This class represents an `X500PrivateCredential`.