summaryrefslogtreecommitdiff
path: root/include/xmlsec/keyinfo.h
diff options
context:
space:
mode:
authorKonrad Lipinski <k.lipinski2@samsung.com>2019-07-22 18:20:09 +0200
committerKonrad Lipinski <k.lipinski2@samsung.com>2019-08-01 14:54:38 +0200
commit8ebee53b1dd1fc005ec1f27652b35abd56202a32 (patch)
tree7f4ff1146605a2fee5fa55c3bc2732f0f53c18dc /include/xmlsec/keyinfo.h
parentcc6febdd37186eeea33bcbce89d79f661ee0009f (diff)
downloadxmlsec1-8ebee53b1dd1fc005ec1f27652b35abd56202a32.tar.gz
xmlsec1-8ebee53b1dd1fc005ec1f27652b35abd56202a32.tar.bz2
xmlsec1-8ebee53b1dd1fc005ec1f27652b35abd56202a32.zip
Adjust upstream c4d0493d545b99194eea1b2b058930d5a9bb91b1 (1.2.28) to Tizenupstream/1.2.28
Change-Id: Id22df649ea95852ef01b6077beb90b31809004d0
Diffstat (limited to 'include/xmlsec/keyinfo.h')
-rw-r--r--include/xmlsec/keyinfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xmlsec/keyinfo.h b/include/xmlsec/keyinfo.h
index 1f79284d..49b96016 100644
--- a/include/xmlsec/keyinfo.h
+++ b/include/xmlsec/keyinfo.h
@@ -155,6 +155,17 @@ typedef enum {
#define XMLSEC_KEYINFO_FLAGS_X509DATA_SKIP_STRICT_CHECKS 0x00004000
/**
+ * XMLSEC_KEYINFO_FLAGS_SKIP_VERIFY_CHAIN:
+ *
+ * If the flag is set then we wont stop document validation
+ * on certificate chain error. Instead of stopping validation
+ * we'll just set flag XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN
+ * as flags2 value.
+ */
+#define XMLSEC_KEYINFO_FLAGS_ALLOW_BROKEN_CHAIN 0x00008000
+#define XMLSEC_KEYINFO_ERROR_FLAGS_BROKEN_CHAIN 0x00000001
+
+/**
* xmlSecKeyInfoCtx:
* @userData: the pointer to user data (xmlsec and xmlsec-crypto
* never touch this).