mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8296143: CertAttrSet's set/get mechanism is not type-safe
Reviewed-by: mullan
This commit is contained in:
parent
d04d6566b0
commit
671f84bd86
66 changed files with 643 additions and 2902 deletions
|
@ -684,9 +684,7 @@ public class PKCS7 {
|
|||
try {
|
||||
X509CertInfo tbsCert =
|
||||
new X509CertInfo(cert.getTBSCertificate());
|
||||
certIssuerName = (Principal)
|
||||
tbsCert.get(X509CertInfo.ISSUER + "." +
|
||||
X509CertInfo.DN_NAME);
|
||||
certIssuerName = tbsCert.getIssuer();
|
||||
} catch (Exception e) {
|
||||
// error generating X500Name object from the cert's
|
||||
// issuer DN, leave name as is.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue