Add short name to encoders/decoders for endpoint generation.
[shibboleth/cpp-opensaml.git] / saml / binding / MessageEncoder.h
index 095a523..96c30b3 100644 (file)
@@ -72,6 +72,13 @@ namespace opensaml {
         virtual const XMLCh* getProtocolFamily() const;
 
         /**
+         * Returns a shorthand name for the binding/encoding supported by the encoder.
+         *
+         * @return  a short name for the binding/encoding, or nullptr
+         */
+        virtual const char* getShortName() const;
+
+        /**
          * Interface to caller-supplied artifact generation mechanism.
          * 
          * Generating an artifact for storage and retrieval requires knowledge of