[ruby-core:76024] [Ruby trunk Feature#7181] New Methods On OpenSSL::OCSP::CertificateId

From: k@...
Date: 2016-06-14 13:17:41 UTC
List: ruby-core #76024
Issue #7181 has been updated by Kazuki Yamaguchi.


Thanks, applied as r55411 with modifications. I made #issuer_{name,key}_hash return lowercase strings to match with the return of Digest#hexdigest and renamed #signature_algorithm to #hash_algorithm because this is not a signature.

----------------------------------------
Feature #7181: New Methods On OpenSSL::OCSP::CertificateId
https://bugs.ruby-lang.org/issues/7181#change-59225

* Author: Paul Kehrer
* Status: Closed
* Priority: Normal
* Assignee: openssl
----------------------------------------
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!

---Files--------------------------------
certid_methods.patch (3.45 KB)
certid_methods_v2.patch (3.37 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next