summaryrefslogtreecommitdiff
path: root/include/xmlsec/xmldsig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/xmldsig.h')
-rw-r--r--include/xmlsec/xmldsig.h54
1 files changed, 6 insertions, 48 deletions
diff --git a/include/xmlsec/xmldsig.h b/include/xmlsec/xmldsig.h
index f00780a1..7dab2411 100644
--- a/include/xmlsec/xmldsig.h
+++ b/include/xmlsec/xmldsig.h
@@ -1,4 +1,4 @@
-/**
+/*
* XML Security Library (http://www.aleksey.com/xmlsec).
*
* "XML Digital Signature" implementation
@@ -15,10 +15,6 @@
#ifndef XMLSEC_NO_XMLDSIG
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#include <libxml/tree.h>
#include <libxml/parser.h>
@@ -31,6 +27,10 @@ extern "C" {
#include <xmlsec/keyinfo.h>
#include <xmlsec/transforms.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
typedef struct _xmlSecDSigReferenceCtx xmlSecDSigReferenceCtx,
*xmlSecDSigReferenceCtxPtr;
@@ -94,40 +94,6 @@ typedef enum {
*/
#define XMLSEC_DSIG_FLAGS_USE_VISA3D_HACK 0x00000010
-/** TIZEN CUSTUMIZED
- * XMLSEC_DSIG_FLAGS_IGNORE_REFERENCES:
- *
- * If this flag is set then <dsig:Reference/> nodes will not be processed.
- */
-#define XMLSEC_DSIG_FLAGS_IGNORE_REFERENCES 0x00000020
-
-/** TIZEN CUSTUMIZED
- * XMLSEC_DSIG_FLAGS_CHECK_PROXY:
- *
- * If this flag is set then xmlSecProxyCtx will be processed.
- */
-#define XMLSEC_DSIG_FLAGS_CHECK_PROXY 0x00000040
-
-/** TIZEN CUSTUMIZED
- * XMLSEC_DSIG_FLAGS_SKIP_PROXY:
- *
- * If this flag is set then xmlSecProxyCtx will not be processed.
- */
-#define XMLSEC_DSIG_FLAGS_SKIP_PROXY 0x00000080
-
-/** TIZEN CUSTUMIZED
- * @cache: the cache include reference uri for supporting partial mode.
- * cache represented uri will be check on processing references.
- * @next: the pointer to indicate linked node (xmlSecProxyCtx).
- */
-struct _xmlSecProxyCtx {
- xmlChar* cache;
- struct _xmlSecProxyCtx* next;
-};
-
-typedef struct _xmlSecProxyCtx xmlSecProxyCtx,
- *xmlSecProxyCtxPtr;
-
/**
* xmlSecDSigCtx:
* @userData: the pointer to user data (xmlsec and xmlsec-crypto libraries
@@ -148,7 +114,7 @@ typedef struct _xmlSecProxyCtx xmlSecProxyCtx,
* functions.
* @operation: the operation: sign or verify.
* @result: the pointer to signature (not valid for signature verification).
- * @status: the <dsig:Signatuire/> processing status.
+ * @status: the <dsig:Signature/> processing status.
* @signMethod: the pointer to signature transform.
* @c14nMethod: the pointer to c14n transform.
* @preSignMemBufMethod: the pointer to binary buffer right before signature
@@ -177,10 +143,6 @@ struct _xmlSecDSigCtx {
xmlSecTransformId defC14NMethodId;
xmlSecTransformId defDigestMethodId;
- /* TIZEN CUTUMIZED: these data user can set before performing the operation */
- xmlSecProxyCtxPtr skipReferences;
- xmlSecProxyCtxPtr checkReferences;
-
/* these data are returned */
xmlSecKeyPtr signKey;
xmlSecTransformOperation operation;
@@ -219,10 +181,6 @@ XMLSEC_EXPORT void xmlSecDSigCtxDebugDump (xmlSecDSigCtxPt
XMLSEC_EXPORT void xmlSecDSigCtxDebugXmlDump (xmlSecDSigCtxPtr dsigCtx,
FILE* output);
-/* TIZEN CUSTUMIZED: xmlSecProxyCtx operator */
-XMLSEC_EXPORT int xmlSecProxyCtxAdd (xmlSecProxyCtxPtr* proxyCtxPtrPtr,
- const xmlChar* uri);
-XMLSEC_EXPORT void xmlSecProxyCtxDestroy (xmlSecProxyCtxPtr proxyCtxPtr);
/**************************************************************************
*