summaryrefslogtreecommitdiff
path: root/include/xmlsec/nss/bignum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/nss/bignum.h')
-rw-r--r--include/xmlsec/nss/bignum.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/include/xmlsec/nss/bignum.h b/include/xmlsec/nss/bignum.h
new file mode 100644
index 00000000..6147d20a
--- /dev/null
+++ b/include/xmlsec/nss/bignum.h
@@ -0,0 +1,37 @@
+/**
+ * XMLSec library
+ *
+ * Reading/writing BIGNUM values
+ *
+ * This is free software; see Copyright file in the source
+ * distribution for precise wording.
+ *
+ * Copyright (c) 2003 America Online, Inc. All rights reserved.
+ */
+#ifndef __XMLSEC_NSS_BIGNUM_H__
+#define __XMLSEC_NSS_BIGNUM_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include <libxml/tree.h>
+
+#include <nspr.h>
+#include <nss.h>
+
+#include <xmlsec/xmlsec.h>
+
+XMLSEC_CRYPTO_EXPORT SECItem* xmlSecNssNodeGetBigNumValue (PRArenaPool *arena,
+ const xmlNodePtr cur,
+ SECItem *a);
+XMLSEC_CRYPTO_EXPORT int xmlSecNssNodeSetBigNumValue (xmlNodePtr cur,
+ const SECItem *a,
+ int addLineBreaks);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __XMLSEC_NSS_BIGNUM_H__ */
+