Bug 4323 - Public utility method to read X.509 certificate string
: Public utility method to read X.509 certificate string
Status: RESOLVED FIXED
: CoG jglobus
security
: unspecified
: All All
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-04-05 10:59 by
Modified: 2006-04-06 15:23 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-04-05 10:59:35
This is an enhancement request.  Please consider making this method a public
method:

org.globus.gsi.CertUtil#readCertificate(BufferedReader)

In the GridShib project, to process an X.509 certificate passed as an HTTP
parameter, we are using the following incantation:

X509Certificate cert = 
  readCertificate(new BufferedReader(new StringReader(certStr)));

where certStr is the value of the HTTP parameter.  Since readCertificate in
Java CoG is a private method, this only works if we copy the method definition
to our codebase.
------- Comment #1 From 2006-04-05 11:53:11 -------
Added Jarek
------- Comment #2 From 2006-04-06 15:23:02 -------
Change committed to trunk.