Class SignatureUnmarshaller

  • All Implemented Interfaces:
    org.opensaml.core.xml.io.Unmarshaller

    public class SignatureUnmarshaller
    extends Object
    implements org.opensaml.core.xml.io.Unmarshaller
    An unmarshaller for Signature objects.
    • Field Detail

      • log

        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • SignatureUnmarshaller

        public SignatureUnmarshaller()
        Constructor.
    • Method Detail

      • unmarshall

        public org.opensaml.xmlsec.signature.Signature unmarshall​(Element signatureElement)
                                                           throws org.opensaml.core.xml.io.UnmarshallingException
        Specified by:
        unmarshall in interface org.opensaml.core.xml.io.Unmarshaller
        Throws:
        org.opensaml.core.xml.io.UnmarshallingException
      • getHMACOutputLengthValue

        private Integer getHMACOutputLengthValue​(Element signatureMethodElement)
        Find and return the integer value contained within the HMACOutputLength element, if present.
        Parameters:
        signatureMethodElement - the ds:SignatureMethod element
        Returns:
        the HMAC output length value, or null if not present