Add credential context APIs, refactor criteria matching, auto-extract criteria from...
[shibboleth/cpp-xmltooling.git] / xmltooling / signature / KeyInfo.h
index d9382a8..a0d16f5 100644 (file)
@@ -160,6 +160,13 @@ namespace xmlsignature {
         DECL_TYPED_CHILDREN(SPKIData);
         /** KeyInfoType local name */
         static const XMLCh TYPE_NAME[];
+
+        /**
+         * Populates a set of key names using the information found in this KeyInfo object.
+         *
+         * @param names a set of names to populate
+         */
+        virtual void extractNames(std::set<std::string>& names) const=0;
     END_XMLOBJECT;
 
     DECL_XMLSIGOBJECTBUILDER(PGPData);