Use this in preference to trying to recreate a principal from a String, not all DNs are what they should be, so it's best to leave them encoded where they can be.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static X509Principal | getIssuerX509Principal(X509Certificate cert)
Deprecated
as a consequence of
return the issuer of the given cert as an X509PrincipalObject.
X509Principal being deprecated.
|
| public static X509Principal | getIssuerX509Principal(X509CRL crl)
Deprecated
as a consequence of
return the issuer of the given CRL as an X509PrincipalObject.
X509Principal being deprecated.
|
| public static X509Principal | getSubjectX509Principal(X509Certificate cert)
Deprecated
as a consequence of
return the subject of the given cert as an X509PrincipalObject.
X509Principal being deprecated.
|
| PrincipalUtil | back to summary |
|---|---|
| public PrincipalUtil() | |
| getIssuerX509Principal | back to summary |
|---|---|
| public static X509Principal getIssuerX509Principal(X509Certificate cert) throws CertificateEncodingException
Deprecated as a consequence of return the issuer of the given cert as an X509PrincipalObject. | |
| getIssuerX509Principal | back to summary |
|---|---|
| public static X509Principal getIssuerX509Principal(X509CRL crl) throws CRLException
Deprecated as a consequence of return the issuer of the given CRL as an X509PrincipalObject. | |
| getSubjectX509Principal | back to summary |
|---|---|
| public static X509Principal getSubjectX509Principal(X509Certificate cert) throws CertificateEncodingException
Deprecated as a consequence of return the subject of the given cert as an X509PrincipalObject. | |