Added uni/multicast encrypting methods.
[shibboleth/opensaml2.git] / saml / binding / MessageEncoder.h
index ad87a08..0bb70ee 100644 (file)
@@ -46,6 +46,15 @@ namespace opensaml {
         virtual ~MessageEncoder() {}
 
         /**
+         * Indicates whether the encoding format requires that messages be as compact as possible.
+         *
+         * @return  true iff the encoding has size constraints
+         */
+        virtual bool isCompact() const {
+            return false;
+        }
+
+        /**
          * Interface to caller-supplied artifact generation mechanism.
          * 
          * Generating an artifact for storage and retrieval requires knowledge of