100 lines
85 KiB
HTML
100 lines
85 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Reference to `X509`."><title>X509Ref in openssl::x509 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="openssl" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">X509Ref</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../openssl/index.html">openssl</a><span class="version">0.10.75</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">X509Ref</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.alias" title="alias">alias</a></li><li><a href="#method.authority_info" title="authority_info">authority_info</a></li><li><a href="#method.authority_issuer" title="authority_issuer">authority_issuer</a></li><li><a href="#method.authority_key_id" title="authority_key_id">authority_key_id</a></li><li><a href="#method.authority_serial" title="authority_serial">authority_serial</a></li><li><a href="#method.crl_distribution_points" title="crl_distribution_points">crl_distribution_points</a></li><li><a href="#method.digest" title="digest">digest</a></li><li><a href="#method.fingerprint" title="fingerprint">fingerprint</a></li><li><a href="#method.issued" title="issued">issued</a></li><li><a href="#method.issuer_alt_names" title="issuer_alt_names">issuer_alt_names</a></li><li><a href="#method.issuer_name" title="issuer_name">issuer_name</a></li><li><a href="#method.issuer_name_hash" title="issuer_name_hash">issuer_name_hash</a></li><li><a href="#method.not_after" title="not_after">not_after</a></li><li><a href="#method.not_before" title="not_before">not_before</a></li><li><a href="#method.ocsp_responders" title="ocsp_responders">ocsp_responders</a></li><li><a href="#method.pathlen" title="pathlen">pathlen</a></li><li><a href="#method.public_key" title="public_key">public_key</a></li><li><a href="#method.serial_number" title="serial_number">serial_number</a></li><li><a href="#method.signature" title="signature">signature</a></li><li><a href="#method.signature_algorithm" title="signature_algorithm">signature_algorithm</a></li><li><a href="#method.subject_alt_names" title="subject_alt_names">subject_alt_names</a></li><li><a href="#method.subject_key_id" title="subject_key_id">subject_key_id</a></li><li><a href="#method.subject_name" title="subject_name">subject_name</a></li><li><a href="#method.subject_name_hash" title="subject_name_hash">subject_name_hash</a></li><li><a href="#method.to_der" title="to_der">to_der</a></li><li><a href="#method.to_pem" title="to_pem">to_pem</a></li><li><a href="#method.to_text" title="to_text">to_text</a></li><li><a href="#method.verify" title="verify">verify</a></li><li><a href="#method.version" title="version">version</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsRef%3CX509Ref%3E-for-X509" title="AsRef<X509Ref>">AsRef<X509Ref></a></li><li><a href="#impl-AsRef%3CX509Ref%3E-for-X509Ref" title="AsRef<X509Ref>">AsRef<X509Ref></a></li><li><a href="#impl-Borrow%3CX509Ref%3E-for-X509" title="Borrow<X509Ref>">Borrow<X509Ref></a></li><li><a href="#impl-Eq-for-X509Ref" title="Eq">Eq</a></li><li><a href="#impl-ForeignTypeRef-for-X509Ref" title="ForeignTypeRef">ForeignTypeRef</a></li><li><a href="#impl-Ord-for-X509Ref" title="Ord">Ord</a></li><li><a href="#impl-PartialEq-for-X509Ref" title="PartialEq">PartialEq</a></li><li><a href="#impl-PartialEq%3CX509%3E-for-X509Ref" title="PartialEq<X509>">PartialEq<X509></a></li><li><a href="#impl-PartialEq%3CX509Ref%3E-for-X509" title="PartialEq<X509Ref>">PartialEq<X509Ref></a></li><li><a href="#impl-PartialOrd-for-X509Ref" title="PartialOrd">PartialOrd</a></li><li><a href="#impl-PartialOrd%3CX509%3E-for-X509Ref" title="PartialOrd<X509>">PartialOrd<X509></a></li><li><a href="#impl-PartialOrd%3CX509Ref%3E-for-X509" title="PartialOrd<X509Ref>">PartialOrd<X509Ref></a></li><li><a href="#impl-Send-for-X509Ref" title="Send">Send</a></li><li><a href="#impl-Sync-for-X509Ref" title="Sync">Sync</a></li><li><a href="#impl-ToOwned-for-X509Ref" title="ToOwned">ToOwned</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-X509Ref" title="!Freeze">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-X509Ref" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-Unpin-for-X509Ref" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-X509Ref" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In openssl::<wbr>x509</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">openssl</a>::<wbr><a href="index.html">x509</a></div><h1>Struct <span class="struct">X509Ref</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a> </span></div><pre class="rust item-decl"><code>pub struct X509Ref(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Reference to <code>X509</code>.</p>
|
||
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#384-690">Source</a><a href="#impl-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.subject_name" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#387-392">Source</a><h4 class="code-header">pub fn <a href="#method.subject_name" class="fn">subject_name</a>(&self) -> &<a class="struct" href="struct.X509NameRef.html" title="struct openssl::x509::X509NameRef">X509NameRef</a></h4></section></summary><div class="docblock"><p>Returns this certificate’s subject name.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_subject_name.html"><code>X509_get_subject_name</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.subject_name_hash" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#396-401">Source</a><h4 class="code-header">pub fn <a href="#method.subject_name_hash" class="fn">subject_name_hash</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the hash of the certificates subject</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_subject_name_hash.html"><code>X509_subject_name_hash</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.issuer_name" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#405-410">Source</a><h4 class="code-header">pub fn <a href="#method.issuer_name" class="fn">issuer_name</a>(&self) -> &<a class="struct" href="struct.X509NameRef.html" title="struct openssl::x509::X509NameRef">X509NameRef</a></h4></section></summary><div class="docblock"><p>Returns this certificate’s issuer name.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_issuer_name.html"><code>X509_get_issuer_name</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.issuer_name_hash" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#414-419">Source</a><h4 class="code-header">pub fn <a href="#method.issuer_name_hash" class="fn">issuer_name_hash</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the hash of the certificates issuer</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_issuer_name_hash.html"><code>X509_issuer_name_hash</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.subject_alt_names" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#423-433">Source</a><h4 class="code-header">pub fn <a href="#method.subject_alt_names" class="fn">subject_alt_names</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../stack/struct.Stack.html" title="struct openssl::stack::Stack">Stack</a><<a class="struct" href="struct.GeneralName.html" title="struct openssl::x509::GeneralName">GeneralName</a>>></h4></section></summary><div class="docblock"><p>Returns this certificate’s subject alternative name entries, if they exist.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_ext_d2i.html"><code>X509_get_ext_d2i</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.crl_distribution_points" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#437-447">Source</a><h4 class="code-header">pub fn <a href="#method.crl_distribution_points" class="fn">crl_distribution_points</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../stack/struct.Stack.html" title="struct openssl::stack::Stack">Stack</a><<a class="struct" href="struct.DistPoint.html" title="struct openssl::x509::DistPoint">DistPoint</a>>></h4></section></summary><div class="docblock"><p>Returns this certificate’s CRL distribution points, if they exist.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_ext_d2i.html"><code>X509_get_ext_d2i</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.issuer_alt_names" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#451-461">Source</a><h4 class="code-header">pub fn <a href="#method.issuer_alt_names" class="fn">issuer_alt_names</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../stack/struct.Stack.html" title="struct openssl::stack::Stack">Stack</a><<a class="struct" href="struct.GeneralName.html" title="struct openssl::x509::GeneralName">GeneralName</a>>></h4></section></summary><div class="docblock"><p>Returns this certificate’s issuer alternative name entries, if they exist.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_ext_d2i.html"><code>X509_get_ext_d2i</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.authority_info" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#467-477">Source</a><h4 class="code-header">pub fn <a href="#method.authority_info" class="fn">authority_info</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../stack/struct.Stack.html" title="struct openssl::stack::Stack">Stack</a><<a class="struct" href="struct.AccessDescription.html" title="struct openssl::x509::AccessDescription">AccessDescription</a>>></h4></section></summary><div class="docblock"><p>Returns this certificate’s <a href="https://tools.ietf.org/html/rfc5280#section-4.2.2.1"><code>authority information access</code></a> entries, if they exist.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_ext_d2i.html"><code>X509_get_ext_d2i</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.pathlen" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#482-485">Source</a><h4 class="code-header">pub fn <a href="#method.pathlen" class="fn">pathlen</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>></h4></section></summary><div class="docblock"><p>Retrieves the path length extension from a certificate, if it exists.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_pathlen.html"><code>X509_get_pathlen</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.subject_key_id" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#490-495">Source</a><h4 class="code-header">pub fn <a href="#method.subject_key_id" class="fn">subject_key_id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../asn1/struct.Asn1OctetStringRef.html" title="struct openssl::asn1::Asn1OctetStringRef">Asn1OctetStringRef</a>></h4></section></summary><div class="docblock"><p>Returns this certificate’s subject key id, if it exists.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_subject_key_id.html"><code>X509_get0_subject_key_id</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.authority_key_id" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#500-505">Source</a><h4 class="code-header">pub fn <a href="#method.authority_key_id" class="fn">authority_key_id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../asn1/struct.Asn1OctetStringRef.html" title="struct openssl::asn1::Asn1OctetStringRef">Asn1OctetStringRef</a>></h4></section></summary><div class="docblock"><p>Returns this certificate’s authority key id, if it exists.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_authority_key_id.html"><code>X509_get0_authority_key_id</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.authority_issuer" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#510-515">Source</a><h4 class="code-header">pub fn <a href="#method.authority_issuer" class="fn">authority_issuer</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../stack/struct.StackRef.html" title="struct openssl::stack::StackRef">StackRef</a><<a class="struct" href="struct.GeneralName.html" title="struct openssl::x509::GeneralName">GeneralName</a>>></h4></section></summary><div class="docblock"><p>Returns this certificate’s authority issuer name entries, if they exist.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_authority_issuer.html"><code>X509_get0_authority_issuer</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.authority_serial" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#520-525">Source</a><h4 class="code-header">pub fn <a href="#method.authority_serial" class="fn">authority_serial</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../asn1/struct.Asn1IntegerRef.html" title="struct openssl::asn1::Asn1IntegerRef">Asn1IntegerRef</a>></h4></section></summary><div class="docblock"><p>Returns this certificate’s authority serial number, if it exists.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_authority_serial.html"><code>X509_get0_authority_serial</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.public_key" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#528-533">Source</a><h4 class="code-header">pub fn <a href="#method.public_key" class="fn">public_key</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../pkey/struct.PKey.html" title="struct openssl::pkey::PKey">PKey</a><<a class="enum" href="../pkey/enum.Public.html" title="enum openssl::pkey::Public">Public</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_pubkey.html"><code>X509_get_pubkey</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.digest" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#537-554">Source</a><h4 class="code-header">pub fn <a href="#method.digest" class="fn">digest</a>(
|
||
&self,
|
||
hash_type: <a class="struct" href="../hash/struct.MessageDigest.html" title="struct openssl::hash::MessageDigest">MessageDigest</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../hash/struct.DigestBytes.html" title="struct openssl::hash::DigestBytes">DigestBytes</a>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>Returns a digest of the DER representation of the certificate.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_digest.html"><code>X509_digest</code></a>.</p>
|
||
</div></details><section id="method.fingerprint" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#557-559">Source</a><h4 class="code-header">pub fn <a href="#method.fingerprint" class="fn">fingerprint</a>(
|
||
&self,
|
||
hash_type: <a class="struct" href="../hash/struct.MessageDigest.html" title="struct openssl::hash::MessageDigest">MessageDigest</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.10.9: renamed to digest</span></div></span><details class="toggle method-toggle" open><summary><section id="method.not_after" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#563-568">Source</a><h4 class="code-header">pub fn <a href="#method.not_after" class="fn">not_after</a>(&self) -> &<a class="struct" href="../asn1/struct.Asn1TimeRef.html" title="struct openssl::asn1::Asn1TimeRef">Asn1TimeRef</a></h4></section></summary><div class="docblock"><p>Returns the certificate’s Not After validity period.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_getm_notAfter.html"><code>X509_getm_notAfter</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.not_before" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#572-577">Source</a><h4 class="code-header">pub fn <a href="#method.not_before" class="fn">not_before</a>(&self) -> &<a class="struct" href="../asn1/struct.Asn1TimeRef.html" title="struct openssl::asn1::Asn1TimeRef">Asn1TimeRef</a></h4></section></summary><div class="docblock"><p>Returns the certificate’s Not Before validity period.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_getm_notBefore.html"><code>X509_getm_notBefore</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.signature" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#581-587">Source</a><h4 class="code-header">pub fn <a href="#method.signature" class="fn">signature</a>(&self) -> &<a class="struct" href="../asn1/struct.Asn1BitStringRef.html" title="struct openssl::asn1::Asn1BitStringRef">Asn1BitStringRef</a></h4></section></summary><div class="docblock"><p>Returns the certificate’s signature</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_signature.html"><code>X509_get0_signature</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.signature_algorithm" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#591-598">Source</a><h4 class="code-header">pub fn <a href="#method.signature_algorithm" class="fn">signature_algorithm</a>(&self) -> &<a class="struct" href="struct.X509AlgorithmRef.html" title="struct openssl::x509::X509AlgorithmRef">X509AlgorithmRef</a></h4></section></summary><div class="docblock"><p>Returns the certificate’s signature algorithm.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get0_signature.html"><code>X509_get0_signature</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.ocsp_responders" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#603-605">Source</a><h4 class="code-header">pub fn <a href="#method.ocsp_responders" class="fn">ocsp_responders</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../stack/struct.Stack.html" title="struct openssl::stack::Stack">Stack</a><<a class="struct" href="../string/struct.OpensslString.html" title="struct openssl::string::OpensslString">OpensslString</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>Returns the list of OCSP responder URLs specified in the certificate’s Authority Information
|
||
Access field.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get1_ocsp.html"><code>X509_get1_ocsp</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.issued" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#609-614">Source</a><h4 class="code-header">pub fn <a href="#method.issued" class="fn">issued</a>(&self, subject: &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>) -> <a class="struct" href="struct.X509VerifyResult.html" title="struct openssl::x509::X509VerifyResult">X509VerifyResult</a></h4></section></summary><div class="docblock"><p>Checks that this certificate issued <code>subject</code>.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_check_issued.html"><code>X509_check_issued</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.version" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#623-625">Source</a><h4 class="code-header">pub fn <a href="#method.version" class="fn">version</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Returns certificate version. If this certificate has no explicit version set, it defaults to
|
||
version 1.</p>
|
||
<p>Note that <code>0</code> return value stands for version 1, <code>1</code> for version 2 and so on.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_version.html"><code>X509_get_version</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.verify" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#634-639">Source</a><h4 class="code-header">pub fn <a href="#method.verify" class="fn">verify</a><T>(&self, key: &<a class="struct" href="../pkey/struct.PKeyRef.html" title="struct openssl::pkey::PKeyRef">PKeyRef</a><T>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>><div class="where">where
|
||
T: <a class="trait" href="../pkey/trait.HasPublic.html" title="trait openssl::pkey::HasPublic">HasPublic</a>,</div></h4></section></summary><div class="docblock"><p>Check if the certificate is signed using the given public key.</p>
|
||
<p>Only the signature is checked: no other checks (such as certificate chain validity)
|
||
are performed.</p>
|
||
<p>Returns <code>true</code> if verification succeeds.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_verify.html"><code>X509_verify</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.serial_number" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#643-648">Source</a><h4 class="code-header">pub fn <a href="#method.serial_number" class="fn">serial_number</a>(&self) -> &<a class="struct" href="../asn1/struct.Asn1IntegerRef.html" title="struct openssl::asn1::Asn1IntegerRef">Asn1IntegerRef</a></h4></section></summary><div class="docblock"><p>Returns this certificate’s serial number.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_get_serialNumber.html"><code>X509_get_serialNumber</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.alias" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#656-666">Source</a><h4 class="code-header">pub fn <a href="#method.alias" class="fn">alias</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&[<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>]></h4></section></summary><div class="docblock"><p>Returns this certificate’s “alias”. This field is populated by
|
||
OpenSSL in some situations – specifically OpenSSL will store a
|
||
PKCS#12 <code>friendlyName</code> in this field. This is not a part of the X.509
|
||
certificate itself, OpenSSL merely attaches it to this structure in
|
||
memory.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_alias_get0.html"><code>X509_alias_get0</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_pem" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#668-675">Source</a><h4 class="code-header">pub fn <a href="#method.to_pem" class="fn">to_pem</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>Serializes the certificate into a PEM-encoded X509 structure.</p>
|
||
<p>The output will have a header of <code>-----BEGIN CERTIFICATE-----</code>.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/PEM_write_bio_X509.html"><code>PEM_write_bio_X509</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_der" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#677-682">Source</a><h4 class="code-header">pub fn <a href="#method.to_der" class="fn">to_der</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>Serializes the certificate into a DER-encoded X509 structure.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/i2d_X509.html"><code>i2d_X509</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_text" class="method"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#684-689">Source</a><h4 class="code-header">pub fn <a href="#method.to_text" class="fn">to_text</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/1.93.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>>, <a class="struct" href="../error/struct.ErrorStack.html" title="struct openssl::error::ErrorStack">ErrorStack</a>></h4></section></summary><div class="docblock"><p>Converts the certificate to human readable text.</p>
|
||
<p>This corresponds to <a href="https://www.openssl.org/docs/manmaster/man3/X509_print.html"><code>X509_print</code></a>.</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3CX509Ref%3E-for-X509" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#impl-AsRef%3CX509Ref%3E-for-X509" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>> for <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&self) -> &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3CX509Ref%3E-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#830-834">Source</a><a href="#impl-AsRef%3CX509Ref%3E-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-1" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#831-833">Source</a><a href="#method.as_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&self) -> &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Borrow%3CX509Ref%3E-for-X509" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#impl-Borrow%3CX509Ref%3E-for-X509" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>> for <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ForeignTypeRef-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#impl-ForeignTypeRef-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../foreign_types_shared/trait.ForeignTypeRef.html" title="trait foreign_types_shared::ForeignTypeRef">ForeignTypeRef</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.CType" class="associatedtype trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#associatedtype.CType" class="anchor">§</a><h4 class="code-header">type <a href="../../foreign_types_shared/trait.ForeignTypeRef.html#associatedtype.CType" class="associatedtype">CType</a> = <a class="enum" href="../../openssl_sys/openssl/handwritten/types/enum.X509.html" title="enum openssl_sys::openssl::handwritten::types::X509">X509</a></h4></section></summary><div class='docblock'>The raw C type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_ptr" class="method trait-impl"><a class="src rightside" href="../../src/foreign_types_shared/lib.rs.html#36">Source</a><a href="#method.from_ptr" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../foreign_types_shared/trait.ForeignTypeRef.html#method.from_ptr" class="fn">from_ptr</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a>Self::<a class="associatedtype" href="../../foreign_types_shared/trait.ForeignTypeRef.html#associatedtype.CType" title="type foreign_types_shared::ForeignTypeRef::CType">CType</a>) -> &'a Self</h4></section></summary><div class='docblock'>Constructs a shared instance of this type from its raw type.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_ptr_mut" class="method trait-impl"><a class="src rightside" href="../../src/foreign_types_shared/lib.rs.html#42">Source</a><a href="#method.from_ptr_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="../../foreign_types_shared/trait.ForeignTypeRef.html#method.from_ptr_mut" class="fn">from_ptr_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a>Self::<a class="associatedtype" href="../../foreign_types_shared/trait.ForeignTypeRef.html#associatedtype.CType" title="type foreign_types_shared::ForeignTypeRef::CType">CType</a>) -> &'a mut Self</h4></section></summary><div class='docblock'>Constructs a mutable reference of this type from its raw type.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_ptr" class="method trait-impl"><a class="src rightside" href="../../src/foreign_types_shared/lib.rs.html#48">Source</a><a href="#method.as_ptr" class="anchor">§</a><h4 class="code-header">fn <a href="../../foreign_types_shared/trait.ForeignTypeRef.html#method.as_ptr" class="fn">as_ptr</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.pointer.html">*mut </a>Self::<a class="associatedtype" href="../../foreign_types_shared/trait.ForeignTypeRef.html#associatedtype.CType" title="type foreign_types_shared::ForeignTypeRef::CType">CType</a></h4></section></summary><div class='docblock'>Returns a raw pointer to the wrapped value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#703-710">Source</a><a href="#impl-Ord-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#704-709">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &Self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/1.93.1/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1021-1023">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1060-1062">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1086-1088">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CX509%3E-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#730-734">Source</a><a href="#impl-PartialEq%3CX509%3E-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a>> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#731-733">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CX509Ref%3E-for-X509" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#864-868">Source</a><a href="#impl-PartialEq%3CX509Ref%3E-for-X509" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>> for <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-2" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#865-867">Source</a><a href="#method.eq-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#724-728">Source</a><a href="#impl-PartialEq-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#725-727">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CX509%3E-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#718-722">Source</a><a href="#impl-PartialOrd%3CX509%3E-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a>> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-1" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#719-721">Source</a><a href="#method.partial_cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.93.1/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1452">Source</a></span><a href="#method.ge-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CX509Ref%3E-for-X509" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#852-856">Source</a><a href="#impl-PartialOrd%3CX509Ref%3E-for-X509" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>> for <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-2" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#853-855">Source</a><a href="#method.partial_cmp-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.93.1/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1452">Source</a></span><a href="#method.ge-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#712-716">Source</a><a href="#impl-PartialOrd-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#713-715">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &Self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.93.1/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/core/cmp.rs.html#1452">Source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ToOwned-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#692-701">Source</a><a href="#impl-ToOwned-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#693">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#695-700">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> <a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.63.0">1.63.0</span> · <a class="src" href="https://doc.rust-lang.org/1.93.1/src/alloc/borrow.rs.html#79">Source</a></span><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: &mut Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" title="type alloc::borrow::ToOwned::Owned">Owned</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.93.1/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><section id="impl-Eq-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#736">Source</a><a href="#impl-Eq-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section><section id="impl-Send-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#impl-Send-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section><section id="impl-Sync-for-X509Ref" class="impl"><a class="src rightside" href="../../src/openssl/x509/mod.rs.html#374-382">Source</a><a href="#impl-Sync-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-X509Ref" class="impl"><a href="#impl-Freeze-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section><section id="impl-RefUnwindSafe-for-X509Ref" class="impl"><a href="#impl-RefUnwindSafe-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section><section id="impl-Unpin-for-X509Ref" class="impl"><a href="#impl-Unpin-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section><section id="impl-UnwindSafe-for-X509Ref" class="impl"><a href="#impl-UnwindSafe-for-X509Ref" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.93.1/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.93.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html> |