Git init
[external/xmlsec1.git] / include / xmlsec / nss / bignum.h
1 /** 
2  * XMLSec library
3  * 
4  * Reading/writing BIGNUM values
5  * 
6  * This is free software; see Copyright file in the source
7  * distribution for precise wording.
8  * 
9  * Copyright (c) 2003 America Online, Inc.  All rights reserved.
10  */
11 #ifndef __XMLSEC_NSS_BIGNUM_H__
12 #define __XMLSEC_NSS_BIGNUM_H__    
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */ 
17
18 #include <libxml/tree.h> 
19
20 #include <nspr.h>
21 #include <nss.h>
22
23 #include <xmlsec/xmlsec.h>
24
25 XMLSEC_CRYPTO_EXPORT SECItem*   xmlSecNssNodeGetBigNumValue     (PRArenaPool *arena, 
26                                                                  const xmlNodePtr cur, 
27                                                                  SECItem *a);
28 XMLSEC_CRYPTO_EXPORT int        xmlSecNssNodeSetBigNumValue     (xmlNodePtr cur,
29                                                                  const SECItem *a, 
30                                                                  int addLineBreaks);
31
32 #ifdef __cplusplus
33 }
34 #endif /* __cplusplus */
35
36 #endif /* __XMLSEC_NSS_BIGNUM_H__ */
37