Feature #7181

New Methods On OpenSSL::OCSP::CertificateId

Added by Paul Kehrer over 2 years ago. Updated about 1 year ago.

[ruby-core:48062]
Status:Assigned
Priority:Normal
Assignee:Martin Bosslet

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

#issuer_name_hash
#issuer_key_hash
#signature_algorithm (returns string representation of alg used just like OpenSSL::X509::Certificate#signature_algorithm 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 2 years ago

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

#2 Updated by Yusuke Endoh over 2 years ago

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

#3 Updated by Paul Kehrer over 1 year ago

Any chance of this landing in a 2.0.0 patchset?

#4 Updated by Tomoyuki Chikanaga over 1 year 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 over 1 year ago

  • Target version changed from next minor to 2.1.0

#6 Updated by Hiroshi SHIBATA about 1 year ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF