summaryrefslogtreecommitdiff
path: root/include/xmlsec/keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xmlsec/keys.h')
-rw-r--r--include/xmlsec/keys.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/xmlsec/keys.h b/include/xmlsec/keys.h
index efd43900..26444dd6 100644
--- a/include/xmlsec/keys.h
+++ b/include/xmlsec/keys.h
@@ -56,8 +56,10 @@ XMLSEC_EXPORT int xmlSecKeyReqInitialize (xmlSecKeyReqPtr keyReq);
XMLSEC_EXPORT void xmlSecKeyReqFinalize (xmlSecKeyReqPtr keyReq);
XMLSEC_EXPORT int xmlSecKeyReqCopy (xmlSecKeyReqPtr dst,
xmlSecKeyReqPtr src);
-XMLSEC_EXPORT int xmlSecKeyReqValidate (xmlSecKeyReqPtr keyReq,
+XMLSEC_EXPORT int xmlSecKeyReqMatchKey (xmlSecKeyReqPtr keyReq,
xmlSecKeyPtr key);
+XMLSEC_EXPORT int xmlSecKeyReqMatchKeyValue (xmlSecKeyReqPtr keyReq,
+ xmlSecKeyDataPtr value);
/**
* xmlSecKeyInifiteRetrivals:
@@ -219,10 +221,9 @@ XMLSEC_EXPORT xmlSecKeyPtr xmlSecKeyGenerate (const xmlChar* type,
size_t sizeBits);
-XMLSEC_EXPORT int xmlSecKeyVerify (xmlSecKeyPtr key,
+XMLSEC_EXPORT int xmlSecKeyMatch (xmlSecKeyPtr key,
const xmlChar *name,
- xmlSecKeyDataId id,
- xmlSecKeyDataType type);
+ xmlSecKeyReqPtr keyReq);
/***********************************************************************