static const XMLCh LOCAL_NAME[];
/**
- * Sets the canonicalization method for the ds:SignedInfo element
+ * Gets the canonicalization method for the ds:SignedInfo element.
+ *
+ * @return the canonicalization method
+ */
+ virtual const XMLCh* getCanonicalizationMethod() const=0;
+
+ /**
+ * Gets the signing algorithm for the signature.
+ *
+ * @return the signature algorithm
+ */
+ virtual const XMLCh* getSignatureAlgorithm() const=0;
+
+ /**
+ * Sets the canonicalization method for the ds:SignedInfo element.
*
* @param c14n the canonicalization method
*/
unsigned int in_len
);
+ /**
+ * Populates a set of key names using the information found in a native KeyInfo object.
+ *
+ * @param keyInfo a native KeyInfo object
+ * @param names a set of names to populate
+ */
+ static void extractNames(DSIGKeyInfoList* keyInfo, std::set<std::string>& names);
+
protected:
Signature() {}
};