Add short name to encoders/decoders for endpoint generation.
[shibboleth/cpp-opensaml.git] / saml / binding / MessageDecoder.h
index bbe176e..ad7ad47 100644 (file)
@@ -68,6 +68,13 @@ namespace opensaml {
         virtual const XMLCh* getProtocolFamily() const;
 
         /**
+         * Returns a shorthand name for the binding/encoding supported by the decoder.
+         *
+         * @return  a short name for the binding/encoding, or nullptr
+         */
+        virtual const char* getShortName() const;
+
+        /**
          * Indicates whether a web browser or similar user agent delivered the message.
          *
          * @return true iff the message was delivered by a user agent