compact2

# 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.

See: Description

- Class Summary
  Class | Description
  --- | ---
  X500Principal | This class represents an X.500 `Principal`.
  X500PrivateCredential | This class represents an `X500PrivateCredential`.

## Package javax.security.auth.x500 Description

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 3280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile
- RFC 4512: Lightweight Directory Access Protocol (LDAP): Directory Information Models

Since:
  JDK1.4

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.