Feature #7181

New Methods On OpenSSL::OCSP::CertificateId

Added by Paul Kehrer over 1 year ago. Updated 3 months ago.

[ruby-core:48062]
Status:Assigned
Priority:Normal
Assignee:Martin Bosslet
Category:ext
Target version:current: 2.2.0

Description

This patch adds 3 new methods to OpenSSL::OCSP::CertificateId. These methods are useful when building an OCSP responder or doing comparison without repeatedly calling OpenSSL::OCSP::CertificateId#cmp_issuer

#issuernamehash
#issuerkeyhash
#signaturealgorithm (returns string representation of alg used just like OpenSSL::X509::Certificate#signaturealgorithm or OpenSSL::X509::Request#signature_algorithm)

Martin, I assigned this one to you since you helped me with the last OpenSSL patch I submitted, but let me know if it needs to be pointed another direction or what else I might need to do!

certid_methods.patch Magnifier (3.45 KB) Paul Kehrer, 10/18/2012 12:43 PM

certid_methods_v2.patch Magnifier (3.37 KB) Paul Kehrer, 10/18/2012 12:51 PM

History

#1 Updated by Paul Kehrer over 1 year ago

Oops, left one extraneous line in a test. Removed in v2.

#2 Updated by Yusuke Endoh over 1 year ago

  • Status changed from Open to Assigned
  • Target version set to next minor

#3 Updated by Paul Kehrer 8 months ago

Any chance of this landing in a 2.0.0 patchset?

#4 Updated by Tomoyuki Chikanaga 7 months ago

Hello, reaperhulk.

I'm sorry, it's too late to 2.0.0.
And the feature freeze of 2.1.0 (next minor release) deadline is coming. Please see https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering210 for details.

Martin, could you review the patch?

#5 Updated by Yui NARUSE 7 months ago

  • Target version changed from next minor to 2.1.0

#6 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF