Package | Description |
---|---|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
Modifier and Type | Method and Description |
---|---|
X500Principal |
CertificateRevokedException.getAuthorityName()
Returns the name of the authority that signed the certificate's
revocation status information.
|
X500Principal |
TrustAnchor.getCA()
Returns the name of the most-trusted CA as an X500Principal.
|
X500Principal |
X509CRLEntry.getCertificateIssuer()
Get the issuer of the X509Certificate described by this entry.
|
X500Principal |
X509CertSelector.getIssuer()
Returns the issuer criterion as an
X500Principal . |
X500Principal |
X509CRL.getIssuerX500Principal()
Returns the issuer (issuer distinguished name) value from the
CRL as an
X500Principal . |
X500Principal |
X509Certificate.getIssuerX500Principal()
Returns the issuer (issuer distinguished name) value from the
certificate as an
X500Principal . |
X500Principal |
X509CertSelector.getSubject()
Returns the subject criterion as an
X500Principal . |
X500Principal |
X509Certificate.getSubjectX500Principal()
Returns the subject (subject distinguished name) value from the
certificate as an
X500Principal . |
Modifier and Type | Method and Description |
---|---|
Collection<X500Principal> |
X509CRLSelector.getIssuers()
Returns the issuerNames criterion.
|
Modifier and Type | Method and Description |
---|---|
void |
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 Type | Method and Description |
---|---|
void |
X509CRLSelector.setIssuers(Collection<X500Principal> issuers)
Sets the issuerNames criterion.
|
Constructor and Description |
---|
CertificateRevokedException(Date revocationDate,
CRLReason reason,
X500Principal authority,
Map<String,Extension> extensions)
Constructs a
CertificateRevokedException with
the specified revocation date, reason code, authority name, and map
of extensions. |
TrustAnchor(X500Principal caPrincipal,
PublicKey pubKey,
byte[] nameConstraints)
Creates an instance of
TrustAnchor where the
most-trusted CA is specified as an X500Principal and public key. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.