Uses of Class
javax.security.auth.x500.X500Principal
Package
Description
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
-
Uses of X500Principal in java.security.cert
Modifier and TypeMethodDescriptionCertificateRevokedException.getAuthorityName()
Returns the name of the authority that signed the certificate's revocation status information.final X500Principal
TrustAnchor.getCA()
Returns the name of the most-trusted CA as an X500Principal.X509CRLEntry.getCertificateIssuer()
Get the issuer of the X509Certificate described by this entry.X509CertSelector.getIssuer()
Returns the issuer criterion as anX500Principal
.X509Certificate.getIssuerX500Principal()
Returns the issuer (issuer distinguished name) value from the certificate as anX500Principal
.X509CRL.getIssuerX500Principal()
Returns the issuer (issuer distinguished name) value from the CRL as anX500Principal
.X509CertSelector.getSubject()
Returns the subject criterion as anX500Principal
.X509Certificate.getSubjectX500Principal()
Returns the subject (subject distinguished name) value from the certificate as anX500Principal
.Modifier and TypeMethodDescriptionX509CRLSelector.getIssuers()
Returns the issuerNames criterion.Modifier and TypeMethodDescriptionvoid
X509CRLSelector.addIssuer
(X500Principal issuer) Adds a name to the issuerNames criterion.void
X509CertSelector.setIssuer
(X500Principal issuer) Sets the issuer criterion.void
X509CertSelector.setSubject
(X500Principal subject) Sets the subject criterion.Modifier and TypeMethodDescriptionvoid
X509CRLSelector.setIssuers
(Collection<X500Principal> issuers) Sets the issuerNames criterion.ModifierConstructorDescriptionCertificateRevokedException
(Date revocationDate, CRLReason reason, X500Principal authority, Map<String, Extension> extensions) Constructs aCertificateRevokedException
with the specified revocation date, reason code, authority name, and map of extensions.TrustAnchor
(X500Principal caPrincipal, PublicKey pubKey, byte[] nameConstraints) Creates an instance ofTrustAnchor
where the most-trusted CA is specified as an X500Principal and public key.