summaryrefslogtreecommitdiff
path: root/docs/api/sgml/openssl/bn.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/sgml/openssl/bn.sgml')
-rw-r--r--docs/api/sgml/openssl/bn.sgml16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/api/sgml/openssl/bn.sgml b/docs/api/sgml/openssl/bn.sgml
index a9ac2dc6..ab87ccb8 100644
--- a/docs/api/sgml/openssl/bn.sgml
+++ b/docs/api/sgml/openssl/bn.sgml
@@ -17,9 +17,9 @@
<link linkend="BIGNUM-CAPS">BIGNUM</link>* <link linkend="xmlSecOpenSSLNodeGetBNValue">xmlSecOpenSSLNodeGetBNValue</link> (const <link linkend="xmlNode">xmlNodePtr</link> cur,
<link linkend="BIGNUM-CAPS">BIGNUM</link> **a);
-int <link linkend="xmlSecOpenSSLNodeSetBNValue">xmlSecOpenSSLNodeSetBNValue</link> (<link linkend="xmlNode">xmlNodePtr</link> cur,
+<link linkend="int">int</link> <link linkend="xmlSecOpenSSLNodeSetBNValue">xmlSecOpenSSLNodeSetBNValue</link> (<link linkend="xmlNode">xmlNodePtr</link> cur,
const <link linkend="BIGNUM-CAPS">BIGNUM</link> *a,
- int addLineBreaks);
+ <link linkend="int">int</link> addLineBreaks);
</synopsis>
</refsynopsisdiv>
@@ -29,6 +29,8 @@ int <link linkend="xmlSecOpenSSLNodeSetBNValue">xmlSecOpenSSLNodeSetBNVa
+
+
<refsect1>
<title>Description</title>
<para>
@@ -40,11 +42,11 @@ int <link linkend="xmlSecOpenSSLNodeSetBNValue">xmlSecOpenSSLNodeSetBNVa
<title>Details</title>
<refsect2>
<title><anchor id="xmlSecOpenSSLNodeGetBNValue">xmlSecOpenSSLNodeGetBNValue ()</title>
-<programlisting><link linkend="BIGNUM-CAPS">BIGNUM</link>* xmlSecOpenSSLNodeGetBNValue (const <link linkend="xmlNode">xmlNodePtr</link> cur,
+<indexterm><primary>xmlSecOpenSSLNodeGetBNValue</primary></indexterm><programlisting><link linkend="BIGNUM-CAPS">BIGNUM</link>* xmlSecOpenSSLNodeGetBNValue (const <link linkend="xmlNode">xmlNodePtr</link> cur,
<link linkend="BIGNUM-CAPS">BIGNUM</link> **a);</programlisting>
<para>
Converts the node content from CryptoBinary format
-(http://www.w3.org/TR/xmldsig-core/<link linkend="sec-CryptoBinary">sec-CryptoBinary</link>)
+(http://www.w3.org/TR/xmldsig-core/<link linkend="sec-CryptoBinary"><type>sec-CryptoBinary</type></link>)
to a BIGNUM. If no BIGNUM buffer provided then a new
BIGNUM is created (caller is responsible for freeing it).</para>
<para>
@@ -62,12 +64,12 @@ or NULL if an error occurs.
</variablelist></refsect2>
<refsect2>
<title><anchor id="xmlSecOpenSSLNodeSetBNValue">xmlSecOpenSSLNodeSetBNValue ()</title>
-<programlisting>int xmlSecOpenSSLNodeSetBNValue (<link linkend="xmlNode">xmlNodePtr</link> cur,
+<indexterm><primary>xmlSecOpenSSLNodeSetBNValue</primary></indexterm><programlisting><link linkend="int">int</link> xmlSecOpenSSLNodeSetBNValue (<link linkend="xmlNode">xmlNodePtr</link> cur,
const <link linkend="BIGNUM-CAPS">BIGNUM</link> *a,
- int addLineBreaks);</programlisting>
+ <link linkend="int">int</link> addLineBreaks);</programlisting>
<para>
Converts BIGNUM to CryptoBinary string
-(http://www.w3.org/TR/xmldsig-core/<link linkend="sec-CryptoBinary">sec-CryptoBinary</link>)
+(http://www.w3.org/TR/xmldsig-core/<link linkend="sec-CryptoBinary"><type>sec-CryptoBinary</type></link>)
and sets it as the content of the given node. If the
addLineBreaks is set then line breaks are added
before and after the CryptoBinary string.</para>