Class SignatureUnmarshaller
- java.lang.Object
-
- org.opensaml.xmlsec.signature.impl.SignatureUnmarshaller
-
- All Implemented Interfaces:
org.opensaml.core.xml.io.Unmarshaller
public class SignatureUnmarshaller extends Object implements org.opensaml.core.xml.io.Unmarshaller
An unmarshaller forSignature
objects.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Class logger.
-
Constructor Summary
Constructors Constructor Description SignatureUnmarshaller()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Integer
getHMACOutputLengthValue(Element signatureMethodElement)
Find and return the integer value contained within the HMACOutputLength element, if present.org.opensaml.xmlsec.signature.Signature
unmarshall(Element signatureElement)
-
-
-
Method Detail
-
unmarshall
public org.opensaml.xmlsec.signature.Signature unmarshall(Element signatureElement) throws org.opensaml.core.xml.io.UnmarshallingException
- Specified by:
unmarshall
in interfaceorg.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
-
-