[47969a6] | 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 |
|
---|
[615961f] | 7 | <!ENTITY qca-download-http "http://delta.affinix.com/download/qca/2.0/qca-&qca-version;.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY qca-download-ftp " ">
|
---|
[615961f] | 9 | <!ENTITY qca-md5sum "c2b00c732036244701bae4853a2101cf">
|
---|
| 10 | <!ENTITY qca-size "956 KB">
|
---|
| 11 | <!ENTITY qca-buildsize "30 MB">
|
---|
| 12 | <!ENTITY qca-time "1.2 SBU (additional 0.3 SBU for the tests)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qca" xreflabel="qca-&qca-version;">
|
---|
| 16 | <?dbhtml filename="qca.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Qca-&qca-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qca">
|
---|
[81586492] | 26 | <primary sortas="a-qca">qca</primary>
|
---|
[47969a6] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[ad41452] | 30 | <title>Introduction to Qca</title>
|
---|
[47969a6] | 31 |
|
---|
[0d7900a] | 32 | <para><application>Qca</application> aims to provide a straightforward
|
---|
| 33 | and cross-platform crypto API, using <application>Qt</application> datatypes
|
---|
| 34 | and conventions. <application>Qca</application> separates the API from
|
---|
[47969a6] | 35 | the implementation, using plugins known as Providers.</para>
|
---|
| 36 |
|
---|
[fa9e03f] | 37 | &lfs77_checked; &gcc5_built;
|
---|
[47969a6] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&qca-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&qca-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &qca-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &qca-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &qca-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &qca-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[ad41452] | 61 | <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
|
---|
[47969a6] | 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 64 | <para role="required">
|
---|
[615961f] | 65 | <xref linkend="cacerts"/>,
|
---|
| 66 | <xref linkend="cmake"/>,
|
---|
[7af92fe5] | 67 | <xref linkend="qt4"/> and
|
---|
[e40b79b6] | 68 | <xref linkend="which"/>
|
---|
[47969a6] | 69 | </para>
|
---|
| 70 |
|
---|
[615961f] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="Optional">
|
---|
| 73 | <xref linkend="cyrus-sasl"/>,
|
---|
| 74 | <xref linkend="gnupg2"/>,
|
---|
| 75 | <xref linkend="libgcrypt"/>,
|
---|
| 76 | <xref linkend="libgpg-error"/>,
|
---|
| 77 | <xref linkend="nss"/>,
|
---|
| 78 | <xref linkend="nspr"/>,
|
---|
| 79 | <xref linkend="openssl"/>,
|
---|
| 80 | <xref linkend="p11-kit"/>,
|
---|
| 81 | <xref linkend="qt5"/>,
|
---|
| 82 | <xref linkend="doxygen"/>, and
|
---|
| 83 | <xref linkend="which"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
[47969a6] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/qca"/></para>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
[ad41452] | 92 | <title>Installation of Qca</title>
|
---|
[47969a6] | 93 |
|
---|
[ad41452] | 94 | <para>Install <application>Qca</application> by running the following
|
---|
[47969a6] | 95 | commands:</para>
|
---|
| 96 |
|
---|
[615961f] | 97 | <screen><userinput>mkdir build &&
|
---|
| 98 | cd build &&
|
---|
| 99 |
|
---|
[cbdad90b] | 100 | cmake -DCMAKE_INSTALL_PREFIX=&qt4-dir; \
|
---|
| 101 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 102 | -DQT4_BUILD=ON \
|
---|
| 103 | -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
|
---|
| 104 | .. &&
|
---|
[b6d3d395] | 105 |
|
---|
[47969a6] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[9ca304a] | 108 | <para>To test the results, issue <command>make test</command>.</para>
|
---|
| 109 |
|
---|
[47969a6] | 110 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 111 |
|
---|
| 112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
[ad41452] | 115 |
|
---|
[47969a6] | 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
[615961f] | 119 | <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
| 120 | used to apply a higher level of compiler optimizations.</para>
|
---|
[47969a6] | 121 |
|
---|
[8c9a5b9] | 122 | <para><parameter>-DQT4_BUILD=ON</parameter>: This switch is used to force
|
---|
| 123 | building with Qt4 even if Qt5 is found.</para>
|
---|
[9ca304a] | 124 |
|
---|
[cbdad90b] | 125 | <para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>:
|
---|
| 126 | Install the qca man page in the normal location.</para>
|
---|
| 127 |
|
---|
[47969a6] | 128 | </sect2>
|
---|
[ad41452] | 129 |
|
---|
[47969a6] | 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
[ad41452] | 134 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 135 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 136 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 137 |
|
---|
| 138 | <seglistitem>
|
---|
[615961f] | 139 | <seg>mozcerts and qcatool</seg>
|
---|
| 140 | <seg>libqca.so and plugins at &qt4-dir;/lib/qca/crypto</seg>
|
---|
| 141 | <seg>
|
---|
| 142 | &qt4-dir;/include/QtCrypto,
|
---|
| 143 | &qt4-dir;/lib/cmake/Qca and
|
---|
| 144 | &qt4-dir;/lib/qca
|
---|
| 145 | </seg>
|
---|
[47969a6] | 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
[a88acf4] | 148 |
|
---|
[47969a6] | 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
[615961f] | 154 | <varlistentry id="mozcerts">
|
---|
| 155 | <term><command>mozcerts</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>is a command line tool for converting certdata.txt into
|
---|
| 158 | outfile.pem files.</para>
|
---|
| 159 | <indexterm zone="qca mozcerts">
|
---|
| 160 | <primary sortas="b-mozcerts">mozcerts</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="qcatool">
|
---|
| 166 | <term><command>qcatool</command></term>
|
---|
[a88acf4] | 167 | <listitem>
|
---|
| 168 | <para>is a command line tool for performing various cryptographic
|
---|
[615961f] | 169 | operations with Qca.</para>
|
---|
| 170 | <indexterm zone="qca qcatool">
|
---|
| 171 | <primary sortas="b-qcatool">qcatool</primary>
|
---|
[a88acf4] | 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="libqca">
|
---|
| 177 | <term><filename class='libraryfile'>libqca.so</filename></term>
|
---|
[47969a6] | 178 | <listitem>
|
---|
[a88acf4] | 179 | <para>is the Qt Cryptography Architecture (Qca) library.</para>
|
---|
| 180 | <indexterm zone="qca libqca">
|
---|
| 181 | <primary sortas="c-libqca">libqca.so</primary>
|
---|
[47969a6] | 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | </variablelist>
|
---|
[a88acf4] | 187 |
|
---|
[47969a6] | 188 | </sect2>
|
---|
| 189 |
|
---|
| 190 | </sect1>
|
---|