summaryrefslogtreecommitdiffstats
path: root/OpenSSL/OCSP/CertificateId.html
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-10-17 21:16:54 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-10-17 21:16:54 +0900
commit0c12273a7174d300bad342a053186ae172d2952d (patch)
treebdc64bc3164b5d534717c7272a8d309a60021a76 /OpenSSL/OCSP/CertificateId.html
parentad2abc0cd93977a35565178a3b4b4e50edbd8f0b (diff)
downloadruby-openssl-0c12273a7174d300bad342a053186ae172d2952d.tar.gz
Sync with v2.2.1
Diffstat (limited to 'OpenSSL/OCSP/CertificateId.html')
-rw-r--r--OpenSSL/OCSP/CertificateId.html170
1 files changed, 11 insertions, 159 deletions
diff --git a/OpenSSL/OCSP/CertificateId.html b/OpenSSL/OCSP/CertificateId.html
index 555ec179..f1ada8ed 100644
--- a/OpenSSL/OCSP/CertificateId.html
+++ b/OpenSSL/OCSP/CertificateId.html
@@ -21,8 +21,6 @@
<link href="../../css/rdoc.css" rel="stylesheet">
-
-
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
@@ -59,40 +57,30 @@
<div id="class-metadata">
- <div id="parent-class-section" class="nav-section">
+
+<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
-
<p class="link">Object
-
</div>
- <!-- Method Quickref -->
+
+<!-- Method Quickref -->
<div id="method-list-section" class="nav-section">
<h3>Methods</h3>
<ul class="link-list" role="directory">
-
<li ><a href="#method-c-new">::new</a>
-
<li ><a href="#method-i-cmp">#cmp</a>
-
<li ><a href="#method-i-cmp_issuer">#cmp_issuer</a>
-
<li ><a href="#method-i-hash_algorithm">#hash_algorithm</a>
-
<li ><a href="#method-i-initialize_copy">#initialize_copy</a>
-
<li ><a href="#method-i-issuer_key_hash">#issuer_key_hash</a>
-
<li ><a href="#method-i-issuer_name_hash">#issuer_name_hash</a>
-
<li ><a href="#method-i-serial">#serial</a>
-
<li ><a href="#method-i-to_der">#to_der</a>
-
</ul>
</div>
@@ -110,60 +98,40 @@
</section>
-
<section id="5Buntitled-5D" class="documentation-section">
-
-
-
-
-
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Class Methods</h3>
</header>
-
<div id="method-c-new" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::OCSP::CertificateId.new(subject, issuer, digest = nil) &rarr; certificate_id
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::OCSP::CertificateId.new(der_string) &rarr; certificate_id
</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::OCSP::CertificateId.new(obj) &rarr; certificate_id
</span>
-
</div>
-
-
<div class="method-description">
-
<p>Creates a new <a href="CertificateId.html"><code>OpenSSL::OCSP::CertificateId</code></a> for the given <em>subject</em> and <em>issuer</em> <a href="../X509.html"><code>X509</code></a> certificates. The <em>digest</em> is a digest algorithm that is used to compute the hash values. This defaults to SHA-1.</p>
<p>If only one argument is given, decodes it as DER representation of a certificate ID or generates certificate ID from the object that responds to the <a href="CertificateId.html#method-i-to_der"><code>to_der</code></a> method.</p>
-
-
-
<div class="method-source-code" id="new-source">
<pre>static VALUE
ossl_ocspcid_initialize(int argc, VALUE *argv, VALUE self)
@@ -202,44 +170,29 @@ ossl_ocspcid_initialize(int argc, VALUE *argv, VALUE self)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Instance Methods</h3>
</header>
-
<div id="method-i-cmp" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
cmp(other) &rarr; true or false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Compares this certificate id with <em>other</em> and returns <code>true</code> if they are the same.</p>
-
-
-
<div class="method-source-code" id="cmp-source">
<pre>static VALUE
ossl_ocspcid_cmp(VALUE self, VALUE other)
@@ -254,36 +207,22 @@ ossl_ocspcid_cmp(VALUE self, VALUE other)
return (result == 0) ? Qtrue : Qfalse;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-cmp_issuer" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
cmp_issuer(other) &rarr; true or false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
- <p>Compares this certificate id&#39;s issuer with <em>other</em> and returns <code>true</code> if they are the same.</p>
-
-
+ <p>Compares this certificate id’s issuer with <em>other</em> and returns <code>true</code> if they are the same.</p>
-
<div class="method-source-code" id="cmp_issuer-source">
<pre>static VALUE
ossl_ocspcid_cmp_issuer(VALUE self, VALUE other)
@@ -298,36 +237,22 @@ ossl_ocspcid_cmp_issuer(VALUE self, VALUE other)
return (result == 0) ? Qtrue : Qfalse;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-hash_algorithm" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
hash_algorithm &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the ln (long name) of the hash algorithm used to generate the issuerNameHash and the issuerKeyHash values.</p>
-
-
-
<div class="method-source-code" id="hash_algorithm-source">
<pre>static VALUE
ossl_ocspcid_get_hash_algorithm(VALUE self)
@@ -349,33 +274,21 @@ ossl_ocspcid_get_hash_algorithm(VALUE self)
return ossl_membio2str(out);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-initialize_copy" class="method-detail ">
-
<div class="method-heading">
<span class="method-name">initialize_copy</span><span
class="method-args">(p1)</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="initialize_copy-source">
<pre>static VALUE
ossl_ocspcid_initialize_copy(VALUE self, VALUE other)
@@ -396,36 +309,22 @@ ossl_ocspcid_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-issuer_key_hash" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
issuer_key_hash &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
- <p>Returns the issuerKeyHash of this certificate ID, the hash of the issuer&#39;s public key.</p>
-
-
+ <p>Returns the issuerKeyHash of this certificate ID, the hash of the issuer’s public key.</p>
-
<div class="method-source-code" id="issuer_key_hash-source">
<pre>static VALUE
ossl_ocspcid_get_issuer_key_hash(VALUE self)
@@ -443,36 +342,22 @@ ossl_ocspcid_get_issuer_key_hash(VALUE self)
return ret;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-issuer_name_hash" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
issuer_name_hash &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
- <p>Returns the issuerNameHash of this certificate ID, the hash of the issuer&#39;s distinguished name calculated with the hashAlgorithm.</p>
-
-
+ <p>Returns the issuerNameHash of this certificate ID, the hash of the issuer’s distinguished name calculated with the hashAlgorithm.</p>
-
<div class="method-source-code" id="issuer_name_hash-source">
<pre>static VALUE
ossl_ocspcid_get_issuer_name_hash(VALUE self)
@@ -490,36 +375,22 @@ ossl_ocspcid_get_issuer_name_hash(VALUE self)
return ret;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-serial" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
serial &rarr; Integer
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the serial number of the certificate for which status is being requested.</p>
-
-
-
<div class="method-source-code" id="serial-source">
<pre>static VALUE
ossl_ocspcid_get_serial(VALUE self)
@@ -533,36 +404,22 @@ ossl_ocspcid_get_serial(VALUE self)
return asn1integer_to_num(serial);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_der" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_der &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Encodes this certificate identifier into a DER-encoded string.</p>
-
-
-
<div class="method-source-code" id="to_der-source">
<pre>static VALUE
ossl_ocspcid_to_der(VALUE self)
@@ -584,25 +441,20 @@ ossl_ocspcid_to_der(VALUE self)
return str;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
- </section>
+ </section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>