Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314219 Details for
Bug 458317
certificate policies extensions not displayed in PrettyPrintCert (and in CA screens)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch version 2
patch.dogtag.458317.2 (text/plain), 4.61 KB, created by
Ade Lee
on 2008-08-13 16:40:43 UTC
(
hide
)
Description:
patch version 2
Filename:
MIME Type:
Creator:
Ade Lee
Created:
2008-08-13 16:40:43 UTC
Size:
4.61 KB
patch
obsolete
>Index: pki/base/util/src/netscape/security/util/ExtPrettyPrint.java >=================================================================== >--- pki/base/util/src/netscape/security/util/ExtPrettyPrint.java (revision 108) >+++ pki/base/util/src/netscape/security/util/ExtPrettyPrint.java (working copy) >@@ -1534,15 +1534,51 @@ > } > sb.append(pp.indent(mIndentSize + 4) + mResource.getString( > PrettyPrintResources.TOKEN_CERT_POLICIES) + "\n"); >- CertificatePoliciesExtension cp = (CertificatePoliciesExtension) mExt; >- Vector cpv = (Vector) cp.get("infos"); >+ CertificatePoliciesExtension cp = (CertificatePoliciesExtension) mExt; >+ Vector cpv = (Vector) cp.get("infos"); > Enumeration e = cpv.elements(); > > if (e != null) { > while (e.hasMoreElements()) { > CertificatePolicyInfo cpi = (CertificatePolicyInfo) e.nextElement(); > >- sb.append(pp.indent(mIndentSize + 8) + cpi.getPolicyIdentifier().getIdentifier().toString() + "\n"); >+ sb.append(pp.indent(mIndentSize + 8) + "Policy Identifier: " + cpi.getPolicyIdentifier().getIdentifier().toString() + "\n"); >+ PolicyQualifiers cpq = cpi.getPolicyQualifiers(); >+ if (cpq != null) { >+ for (int i=0; i < cpq.size(); i++) { >+ PolicyQualifierInfo pq = cpq.getInfoAt(i); >+ Qualifier q = pq.getQualifier(); >+ if (q instanceof CPSuri) { >+ sb.append(pp.indent(mIndentSize + 12) + "Policy Qualifier Identifier: CPS Pointer Qualifier - " >+ + pq.getId() + "\n"); >+ sb.append(pp.indent(mIndentSize + 12) + "Policy Qualifier Data: " + ((CPSuri) q).getURI() + "\n"); >+ } >+ else if (q instanceof UserNotice) { >+ sb.append(pp.indent(mIndentSize + 12) + "Policy Qualifier Identifier: CPS User Notice Qualifier - " >+ + pq.getId() + "\n"); >+ NoticeReference nref = ((UserNotice) q).getNoticeReference(); >+ DisplayText dt = ((UserNotice) q).getDisplayText(); >+ sb.append(pp.indent(mIndentSize +12) + "Policy Qualifier Data: \n"); >+ if (nref != null) { >+ sb.append(pp.indent(mIndentSize+16) + "Organization: " + nref.getOrganization().getText() + "\n" ); >+ sb.append(pp.indent(mIndentSize+16) + "Notice Numbers: " ); >+ int[] nums = nref.getNumbers(); >+ for (int k=0; k<nums.length; k++) { >+ if (k != 0) { >+ sb.append(","); >+ sb.append(nums[k]); >+ } else { >+ sb.append(nums[k]); >+ } >+ } >+ sb.append("\n"); >+ } >+ if (dt != null) { >+ sb.append(pp.indent(mIndentSize+16) + "Explicit Text: " + dt.getText() + "\n"); >+ } >+ } >+ } >+ } > } > } > return sb.toString(); > >Index: pki/linux/util/pki-util.spec >=================================================================== >--- pki/linux/util/pki-util.spec (revision 108) >+++ pki/linux/util/pki-util.spec (working copy) >@@ -33,7 +33,7 @@ > ## Package Header Definitions > %define base_name %{base_prefix}-%{base_component} > %define base_version 1.0.0 >-%define base_release 3 >+%define base_release 4 > %define base_group System Environment/Base > %define base_vendor Red Hat, Inc. > %define base_license GPLv2 with exceptions >@@ -278,6 +278,8 @@ > ############################################################################### > > %changelog >+* Wed Aug 13 2008 Ade Lee <alee@redhat.com> 1.0.0-4 >+- Fix for bug #458317: certitificate policy extensions not displayed in PrettyPrintCert > * Wed Jun 25 2008 Andrew Wnuk <awnuk@redhat.com> 1.0.0-3 > - Fix for bug #443687. > * Mon Jun 9 2008 Matthew Harmsen <mharmsen@redhat.com> 1.0.0-2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 458317
:
313714
|
314219
|
314233
|
314240