From d4d35351fd63a7051a7cbef2002cb0c641925ec3 Mon Sep 17 00:00:00 2001 From: "sangwan.kwon" Date: Wed, 27 Jul 2016 15:33:38 +0900 Subject: Imported Upstream version 1.2.22 Change-Id: I4d17734839f021e46aef7a30483ac17e8c85fb1d Signed-off-by: sangwan.kwon --- docs/api/xmlsec-openssl-bn.html | 162 +++++++++++++++++++++++++++++----------- 1 file changed, 118 insertions(+), 44 deletions(-) (limited to 'docs/api/xmlsec-openssl-bn.html') diff --git a/docs/api/xmlsec-openssl-bn.html b/docs/api/xmlsec-openssl-bn.html index 93613247..138747cf 100644 --- a/docs/api/xmlsec-openssl-bn.html +++ b/docs/api/xmlsec-openssl-bn.html @@ -36,8 +36,31 @@ .navigation .title { font-size: 200%; } + - +
+
XML Security Library

    @@ -78,88 +101,139 @@
+
- - - + + + - +

bn

-

Name

bn -- Big numbers helper functions.
-
-

Synopsis

-
BIGNUM *            xmlSecOpenSSLNodeGetBNValue         (const xmlNodePtr cur,
-                                                         BIGNUM **a);
-intxmlSecOpenSSLNodeSetBNValue         (xmlNodePtr cur,
-                                                         const BIGNUM *a,
-                                                         int addLineBreaks);
+

Name

bn -- Big numbers helper functions.
+
+

Functions

+
+

+ +++ + + + + + + + + + +
+BIGNUM * +xmlSecOpenSSLNodeGetBNValue () +
int +xmlSecOpenSSLNodeSetBNValue () +
+

+

Description

Big numbers helper functions.

-

Details

+

Functions

xmlSecOpenSSLNodeGetBNValue ()

-
BIGNUM *            xmlSecOpenSSLNodeGetBNValue         (const xmlNodePtr cur,
-                                                         BIGNUM **a);
+
BIGNUM *
+xmlSecOpenSSLNodeGetBNValue (const xmlNodePtr cur,
+                             BIGNUM **a);

Converts the node content from CryptoBinary format -(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary) +(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary) to a BIGNUM. If no BIGNUM buffer provided then a new BIGNUM is created (caller is responsible for freeing it).

+
+

Parameters

+

- - - - - +
cur :

the poitner to an XML node.

++++ - - + + + - - + + + -
a :

the BIGNUM buffer.

cur

the poitner to an XML node.

Returns :

a pointer to BIGNUM produced from CryptoBinary string -or NULL if an error occurs.

a

the BIGNUM buffer.

+
+

+ + +
+

Returns

+

a pointer to BIGNUM produced from CryptoBinary string +or NULL if an error occurs.

+

xmlSecOpenSSLNodeSetBNValue ()

-
int                 xmlSecOpenSSLNodeSetBNValue         (xmlNodePtr cur,
-                                                         const BIGNUM *a,
-                                                         int addLineBreaks);
+
int
+xmlSecOpenSSLNodeSetBNValue (xmlNodePtr cur,
+                             const BIGNUM *a,
+                             int addLineBreaks);

Converts BIGNUM to CryptoBinary string -(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary) +(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary) 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.

+
+

Parameters

+

- +
++++ - - + + + - - + + + - - + + - - - - -
cur :

the pointer to an XML node.

cur

the pointer to an XML node.

a :

the BIGNUM.

a

the BIGNUM.

addLineBreaks :

if the flag is equal to 1 then +

addLineBreaks

if the flag is equal to 1 then linebreaks will be added before and after new buffer content.

Returns :

0 on success or -1 otherwise.

+
+

+ +
+

Returns

+

0 on success or -1 otherwise.

+
+ + +
+

Types and Values

+

-- cgit v1.2.3