10 lines
12 KiB
HTML
10 lines
12 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="The standard defining the format of public key certificates."><title>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 mod"><!--[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="#">Module x509</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="#">Module x509</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate openssl</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></div><h1>Module <span>x509</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#1-2544">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The standard defining the format of public key certificates.</p>
|
|
<p>An <code>X509</code> certificate binds an identity to a public key, and is either
|
|
signed by a certificate authority (CA) or self-signed. An entity that gets
|
|
a hold of a certificate can both verify your identity (via a CA) and encrypt
|
|
data with the included public key. <code>X509</code> certificates are used in many
|
|
Internet protocols, including SSL/TLS, which is the basis for HTTPS,
|
|
the secure protocol for browsing the web.</p>
|
|
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="extension/index.html" title="mod openssl::x509::extension">extension</a></dt><dd>Add extensions to an <code>X509</code> certificate or certificate request.</dd><dt><a class="mod" href="store/index.html" title="mod openssl::x509::store">store</a></dt><dd>Describe a context in which to verify an <code>X509</code> certificate.</dd><dt><a class="mod" href="verify/index.html" title="mod openssl::x509::verify">verify</a></dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AccessDescription.html" title="struct openssl::x509::AccessDescription">Access<wbr>Description</a></dt><dd><code>AccessDescription</code> of certificate authority information.</dd><dt><a class="struct" href="struct.AccessDescriptionRef.html" title="struct openssl::x509::AccessDescriptionRef">Access<wbr>Description<wbr>Ref</a></dt><dd>Reference to <code>AccessDescription</code>.</dd><dt><a class="struct" href="struct.CrlReason.html" title="struct openssl::x509::CrlReason">CrlReason</a></dt><dd>The reason that a certificate was revoked.</dd><dt><a class="struct" href="struct.DistPoint.html" title="struct openssl::x509::DistPoint">Dist<wbr>Point</a></dt><dd>A <code>X509</code> distribution point.</dd><dt><a class="struct" href="struct.DistPointName.html" title="struct openssl::x509::DistPointName">Dist<wbr>Point<wbr>Name</a></dt><dd>A <code>X509</code> distribution point.</dd><dt><a class="struct" href="struct.DistPointNameRef.html" title="struct openssl::x509::DistPointNameRef">Dist<wbr>Point<wbr>Name<wbr>Ref</a></dt><dd>Reference to <code>DistPointName</code>.</dd><dt><a class="struct" href="struct.DistPointRef.html" title="struct openssl::x509::DistPointRef">Dist<wbr>Point<wbr>Ref</a></dt><dd>Reference to <code>DistPoint</code>.</dd><dt><a class="struct" href="struct.GeneralName.html" title="struct openssl::x509::GeneralName">General<wbr>Name</a></dt><dd>An <code>X509</code> certificate alternative names.</dd><dt><a class="struct" href="struct.GeneralNameRef.html" title="struct openssl::x509::GeneralNameRef">General<wbr>Name<wbr>Ref</a></dt><dd>Reference to <code>GeneralName</code>.</dd><dt><a class="struct" href="struct.X509.html" title="struct openssl::x509::X509">X509</a></dt><dd>An <code>X509</code> public key certificate.</dd><dt><a class="struct" href="struct.X509Algorithm.html" title="struct openssl::x509::X509Algorithm">X509<wbr>Algorithm</a></dt><dd>An <code>X509</code> certificate signature algorithm.</dd><dt><a class="struct" href="struct.X509AlgorithmRef.html" title="struct openssl::x509::X509AlgorithmRef">X509<wbr>Algorithm<wbr>Ref</a></dt><dd>Reference to <code>X509Algorithm</code>.</dd><dt><a class="struct" href="struct.X509Builder.html" title="struct openssl::x509::X509Builder">X509<wbr>Builder</a></dt><dd>A builder used to construct an <code>X509</code>.</dd><dt><a class="struct" href="struct.X509Crl.html" title="struct openssl::x509::X509Crl">X509Crl</a></dt><dd>An <code>X509</code> certificate revocation list.</dd><dt><a class="struct" href="struct.X509CrlRef.html" title="struct openssl::x509::X509CrlRef">X509<wbr>CrlRef</a></dt><dd>Reference to <code>X509Crl</code>.</dd><dt><a class="struct" href="struct.X509Extension.html" title="struct openssl::x509::X509Extension">X509<wbr>Extension</a></dt><dd>Permit additional fields to be added to an <code>X509</code> v3 certificate.</dd><dt><a class="struct" href="struct.X509ExtensionRef.html" title="struct openssl::x509::X509ExtensionRef">X509<wbr>Extension<wbr>Ref</a></dt><dd>Reference to <code>X509Extension</code>.</dd><dt><a class="struct" href="struct.X509Name.html" title="struct openssl::x509::X509Name">X509<wbr>Name</a></dt><dd>The names of an <code>X509</code> certificate.</dd><dt><a class="struct" href="struct.X509NameBuilder.html" title="struct openssl::x509::X509NameBuilder">X509<wbr>Name<wbr>Builder</a></dt><dd>A builder used to construct an <code>X509Name</code>.</dd><dt><a class="struct" href="struct.X509NameEntries.html" title="struct openssl::x509::X509NameEntries">X509<wbr>Name<wbr>Entries</a></dt><dd>A type to destructure and examine an <code>X509Name</code>.</dd><dt><a class="struct" href="struct.X509NameEntry.html" title="struct openssl::x509::X509NameEntry">X509<wbr>Name<wbr>Entry</a></dt><dd>A name entry associated with a <code>X509Name</code>.</dd><dt><a class="struct" href="struct.X509NameEntryRef.html" title="struct openssl::x509::X509NameEntryRef">X509<wbr>Name<wbr>Entry<wbr>Ref</a></dt><dd>Reference to <code>X509NameEntry</code>.</dd><dt><a class="struct" href="struct.X509NameRef.html" title="struct openssl::x509::X509NameRef">X509<wbr>Name<wbr>Ref</a></dt><dd>Reference to <code>X509Name</code>.</dd><dt><a class="struct" href="struct.X509Object.html" title="struct openssl::x509::X509Object">X509<wbr>Object</a></dt><dd>An <code>X509</code> or an X509 certificate revocation list.</dd><dt><a class="struct" href="struct.X509ObjectRef.html" title="struct openssl::x509::X509ObjectRef">X509<wbr>Object<wbr>Ref</a></dt><dd>Reference to <code>X509Object</code></dd><dt><a class="struct" href="struct.X509PurposeId.html" title="struct openssl::x509::X509PurposeId">X509<wbr>Purpose<wbr>Id</a></dt><dt><a class="struct" href="struct.X509PurposeRef.html" title="struct openssl::x509::X509PurposeRef">X509<wbr>Purpose<wbr>Ref</a></dt><dd>A reference to an [<code>X509_PURPOSE</code>].</dd><dt><a class="struct" href="struct.X509Ref.html" title="struct openssl::x509::X509Ref">X509Ref</a></dt><dd>Reference to <code>X509</code>.</dd><dt><a class="struct" href="struct.X509Req.html" title="struct openssl::x509::X509Req">X509Req</a></dt><dd>An <code>X509</code> certificate request.</dd><dt><a class="struct" href="struct.X509ReqBuilder.html" title="struct openssl::x509::X509ReqBuilder">X509<wbr>ReqBuilder</a></dt><dd>A builder used to construct an <code>X509Req</code>.</dd><dt><a class="struct" href="struct.X509ReqRef.html" title="struct openssl::x509::X509ReqRef">X509<wbr>ReqRef</a></dt><dd>Reference to <code>X509Req</code>.</dd><dt><a class="struct" href="struct.X509Revoked.html" title="struct openssl::x509::X509Revoked">X509<wbr>Revoked</a></dt><dd>An <code>X509</code> certificate revocation status.</dd><dt><a class="struct" href="struct.X509RevokedRef.html" title="struct openssl::x509::X509RevokedRef">X509<wbr>Revoked<wbr>Ref</a></dt><dd>Reference to <code>X509Revoked</code>.</dd><dt><a class="struct" href="struct.X509StoreContext.html" title="struct openssl::x509::X509StoreContext">X509<wbr>Store<wbr>Context</a></dt><dd>An <code>X509</code> certificate store context.</dd><dt><a class="struct" href="struct.X509StoreContextRef.html" title="struct openssl::x509::X509StoreContextRef">X509<wbr>Store<wbr>Context<wbr>Ref</a></dt><dd>A reference to an <a href="struct.X509StoreContext.html" title="struct openssl::x509::X509StoreContext"><code>X509StoreContext</code></a>.</dd><dt><a class="struct" href="struct.X509VerifyResult.html" title="struct openssl::x509::X509VerifyResult">X509<wbr>Verify<wbr>Result</a></dt><dd>The result of peer certificate verification.</dd><dt><a class="struct" href="struct.X509v3Context.html" title="struct openssl::x509::X509v3Context">X509v3<wbr>Context</a></dt><dd>A context object required to construct certain <code>X509</code> extension values.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.AuthorityInformationAccess.html" title="enum openssl::x509::AuthorityInformationAccess">Authority<wbr>Information<wbr>Access</a></dt><dd>The CRL extension identifying how to access information and services for the issuer of the CRL</dd><dt><a class="enum" href="enum.CertificateIssuer.html" title="enum openssl::x509::CertificateIssuer">Certificate<wbr>Issuer</a></dt><dd>The CRL entry extension identifying the issuer of a certificate used in
|
|
indirect CRLs, as defined in RFC 5280 Section 5.3.3.</dd><dt><a class="enum" href="enum.CrlStatus.html" title="enum openssl::x509::CrlStatus">CrlStatus</a></dt><dd>The status of a certificate in a revoction list</dd><dt><a class="enum" href="enum.ReasonCode.html" title="enum openssl::x509::ReasonCode">Reason<wbr>Code</a></dt><dd>The CRL entry extension identifying the reason for revocation see <a href="struct.CrlReason.html" title="struct openssl::x509::CrlReason"><code>CrlReason</code></a>,
|
|
this is as defined in RFC 5280 Section 5.3.1.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.ExtensionType.html" title="trait openssl::x509::ExtensionType">Extension<wbr>Type</a></dt><dd>A type of X509 extension.</dd></dl></section></div></main></body></html> |