Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up Certificate Extensions Mangement #612

Open
pki-bot opened this issue Oct 2, 2020 · 2 comments
Open

Clean up Certificate Extensions Mangement #612

pki-bot opened this issue Oct 2, 2020 · 2 comments
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 2, 2020

This issue was migrated from Pagure Issue #40. Originally filed by admiyo on 2011-11-16 21:34:59:


Certificates make use of the interface CertAttrSet. This has a couple methods that assume Hashtable type behavior:

void set(String name, Object obj)
    throws CertificateException, IOException;

Object get(String name)
throws CertificateException, IOException;

One class that implements this interface is netscape.security.x509.Extensions which also extends Hashtable.
At some place, code pulls objects out of the Hashtables and assumes that they can be case to netscape.security.x509.Extension but other places stoer primiteive wrappers in the Hashtable and so forth.

This interface needs to be split into more appropriate pieces. THere should be one interface for managing collections of Extension, and a different one for handling getting/seeting the primitives and other attribute of certificates.

@pki-bot pki-bot added this to the UNTRIAGED milestone Oct 2, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from edewata (@edewata) at 2016-11-30 05:18:44

This is a code refactoring which doesn't affect the user.

@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from admiyo at 2017-02-27 13:59:02

Metadata Update from @admiyo:

  • Issue assigned to edewata
  • Issue set to the milestone: UNTRIAGED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant