Class SignatureUnmarshaller
- java.lang.Object
-
- org.opensaml.xmlsec.signature.impl.SignatureUnmarshaller
-
- All Implemented Interfaces:
Unmarshaller
public class SignatureUnmarshaller extends Object implements Unmarshaller
An unmarshaller forSignatureobjects.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description SignatureUnmarshaller()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private IntegergetHMACOutputLengthValue(Element signatureMethodElement)Find and return the integer value contained within the HMACOutputLength element, if present.Signatureunmarshall(Element signatureElement)Unmarshalls the given W3C DOM element into a XMLObject.
-
-
-
Method Detail
-
unmarshall
public Signature unmarshall(Element signatureElement) throws UnmarshallingException
Unmarshalls the given W3C DOM element into a XMLObject.- Specified by:
unmarshallin interfaceUnmarshaller- Parameters:
signatureElement- the DOM Element- Returns:
- the unmarshalled XMLObject
- Throws:
UnmarshallingException- thrown if an error occurs unmarshalling the DOM element into the XMLObject
-
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
-
-