public abstract class X509Certificate extends Certificate implements X509Extension
Modifier | Constructor and Description |
---|---|
protected |
X509Certificate()
Constructor for X.509 certificates.
|
Modifier and Type | Method and Description |
---|---|
X500Principal |
getIssuerX500Principal()
Returns the issuer (issuer distinguished name) value from the certificate as an
X500Principal . |
X500Principal |
getSubjectX500Principal()
Returns the subject (subject distinguished name) value from the certificate as an
X500Principal . |
equals, getEncoded, getPublicKey, getType, hashCode, toString, verify, verify
@Nullable public X500Principal getIssuerX500Principal()
X500Principal
.
It is recommended that subclasses override this method.
X500Principal
representing the issuer distinguished name@Nullable public X500Principal getSubjectX500Principal()
X500Principal
. If
the subject value is empty, then the getName()
method of the returned X500Principal
object returns an empty string ("").
It is recommended that subclasses override this method.
X500Principal
representing the subject distinguished name