[87b71a96] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[2a05c87] | 7 | <!ENTITY libtasn1-download-http "http://ftp.gnu.org/gnu/libtasn1/libtasn1-&libtasn1-version;.tar.gz">
|
---|
| 8 | <!ENTITY libtasn1-download-ftp "ftp://ftp.gnu.org/gnu/libtasn1/libtasn1-&libtasn1-version;.tar.gz">
|
---|
[e478152] | 9 | <!ENTITY libtasn1-md5sum "5c724bd1f73aaf4a311833e1cd297b21">
|
---|
[780a799a] | 10 | <!ENTITY libtasn1-size "1.8 MB">
|
---|
[29dbd37] | 11 | <!ENTITY libtasn1-buildsize "11 MB (with tests)">
|
---|
[e478152] | 12 | <!ENTITY libtasn1-time "0.3 SBU (with tests)">
|
---|
[87b71a96] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libtasn1" xreflabel="libtasn1-&libtasn1-version;">
|
---|
| 16 | <?dbhtml filename="libtasn1.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libtasn1-&libtasn1-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libtasn1">
|
---|
| 26 | <primary sortas="a-libtasn1">libtasn1</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libtasn1</title>
|
---|
| 31 |
|
---|
[73d97caf] | 32 | <para>
|
---|
| 33 | <application>libtasn1</application> is a highly portable C library
|
---|
| 34 | that encodes and decodes DER/BER data following an ASN.1 schema.
|
---|
| 35 | </para>
|
---|
[87b71a96] | 36 |
|
---|
[7fd2c27] | 37 | &lfs80_checked;
|
---|
[e478152] | 38 | &gcc7_checked;
|
---|
[e79ed72] | 39 |
|
---|
[87b71a96] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[73d97caf] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libtasn1-download-http;"/>
|
---|
| 45 | </para>
|
---|
[87b71a96] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[73d97caf] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libtasn1-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[87b71a96] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[73d97caf] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &libtasn1-md5sum;
|
---|
| 55 | </para>
|
---|
[87b71a96] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[73d97caf] | 58 | <para>
|
---|
| 59 | Download size: &libtasn1-size;
|
---|
| 60 | </para>
|
---|
[87b71a96] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[73d97caf] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &libtasn1-buildsize;
|
---|
| 65 | </para>
|
---|
[87b71a96] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[73d97caf] | 68 | <para>
|
---|
| 69 | Estimated build time: &libtasn1-time;
|
---|
| 70 | </para>
|
---|
[87b71a96] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">libtasn1 Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[73d97caf] | 77 | <para role="optional">
|
---|
| 78 | <xref linkend="gtk-doc"/> and
|
---|
[f1607a4] | 79 | <xref linkend="valgrind"/>
|
---|
[73d97caf] | 80 | </para>
|
---|
[87b71a96] | 81 |
|
---|
| 82 | <para condition="html" role="usernotes">User Notes:
|
---|
[73d97caf] | 83 | <ulink url="&blfs-wiki;/libtasn1"/>
|
---|
| 84 | </para>
|
---|
[87b71a96] | 85 | </sect2>
|
---|
| 86 |
|
---|
| 87 | <sect2 role="installation">
|
---|
| 88 | <title>Installation of libtasn1</title>
|
---|
| 89 |
|
---|
[73d97caf] | 90 | <para>
|
---|
| 91 | Install <application>libtasn1</application> by running the
|
---|
| 92 | following commands:
|
---|
| 93 | </para>
|
---|
[87b71a96] | 94 |
|
---|
[73d97caf] | 95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[87b71a96] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[73d97caf] | 98 | <para>
|
---|
| 99 | To test the results, issue: <command>make check</command>.
|
---|
| 100 | </para>
|
---|
[87b71a96] | 101 |
|
---|
[73d97caf] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 104 | user:
|
---|
| 105 | </para>
|
---|
[87b71a96] | 106 |
|
---|
[73d97caf] | 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[f419c73] | 108 |
|
---|
[73d97caf] | 109 | <para>
|
---|
| 110 | If you did not pass the <option>--enable-gtk-doc</option> parameter
|
---|
[7b7e01c3] | 111 | to the <command>configure</command> script, you can install the API
|
---|
[73d97caf] | 112 | documentation using the following command as the
|
---|
| 113 | <systemitem class="username">root</systemitem> user:
|
---|
| 114 | </para>
|
---|
[f419c73] | 115 |
|
---|
| 116 | <screen role="root"><userinput>make -C doc/reference install-data-local</userinput></screen>
|
---|
[87b71a96] | 117 |
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
[e05cd03f] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[73d97caf] | 124 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 127 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[87b71a96] | 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
[96beb254] | 136 | <segtitle>Installed Library</segtitle>
|
---|
[73d97caf] | 137 | <segtitle>Installed Directory</segtitle>
|
---|
[87b71a96] | 138 |
|
---|
| 139 | <seglistitem>
|
---|
[73d97caf] | 140 | <seg>
|
---|
| 141 | asn1Coding, asn1Decoding and asn1Parser
|
---|
| 142 | </seg>
|
---|
| 143 | <seg>
|
---|
| 144 | libtasn1.so
|
---|
| 145 | </seg>
|
---|
| 146 | <seg>
|
---|
| 147 | /usr/share/gtk-doc/html/libtasn1
|
---|
| 148 | </seg>
|
---|
[87b71a96] | 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="asn1Coding">
|
---|
| 158 | <term><command>asn1Coding</command></term>
|
---|
| 159 | <listitem>
|
---|
[73d97caf] | 160 | <para>
|
---|
| 161 | is an ASN.1 DER encoder.
|
---|
| 162 | </para>
|
---|
[87b71a96] | 163 | <indexterm zone="libtasn1 asn1Coding">
|
---|
| 164 | <primary sortas="b-asn1Coding">asn1Coding</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="asn1Decoding">
|
---|
| 170 | <term><command>asn1Decoding</command></term>
|
---|
| 171 | <listitem>
|
---|
[73d97caf] | 172 | <para>
|
---|
| 173 | is an ASN.1 DER decoder.
|
---|
| 174 | </para>
|
---|
[87b71a96] | 175 | <indexterm zone="libtasn1 asn1Decoding">
|
---|
| 176 | <primary sortas="b-asn1Decoding">asn1Decoding</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="asn1Parser">
|
---|
| 182 | <term><command>asn1Parser</command></term>
|
---|
| 183 | <listitem>
|
---|
[73d97caf] | 184 | <para>
|
---|
| 185 | is an ASN.1 syntax tree generator for
|
---|
| 186 | <application>libtasn1</application>.
|
---|
| 187 | </para>
|
---|
[87b71a96] | 188 | <indexterm zone="libtasn1 asn1Parser">
|
---|
| 189 | <primary sortas="b-asn1Parser">asn1Parser</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="libtasn1-lib">
|
---|
[73d97caf] | 195 | <term><filename class="libraryfile">libtasn1.so</filename></term>
|
---|
[87b71a96] | 196 | <listitem>
|
---|
[73d97caf] | 197 | <para>
|
---|
| 198 | is a library for Abstract Syntax Notation One (ASN.1) and
|
---|
| 199 | Distinguish Encoding Rules (DER) manipulation.
|
---|
| 200 | </para>
|
---|
[87b71a96] | 201 | <indexterm zone="libtasn1 libtasn1-lib">
|
---|
[73d97caf] | 202 | <primary sortas="c-libtasn1">libtasn1.so</primary>
|
---|
[87b71a96] | 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | </sect1>
|
---|