org.opensaml.xml.signature.impl
Class SignatureUnmarshaller

java.lang.Object
  extended by org.opensaml.xml.signature.impl.SignatureUnmarshaller
All Implemented Interfaces:
Unmarshaller

public class SignatureUnmarshaller
extends Object
implements Unmarshaller

An unmarshaller for Signature objects.


Field Summary
private  Logger log
          Class logger.
 
Constructor Summary
SignatureUnmarshaller()
          Constructor.
 
Method Summary
private  Integer getHMACOutputLengthValue(Element signatureMethodElement)
          Find and return the integer value contained within the HMACOutputLength element, if present.
 Signature unmarshall(Element signatureElement)
          Unmarshalls the given W3C DOM element into a XMLObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final Logger log
Class logger.

Constructor Detail

SignatureUnmarshaller

public SignatureUnmarshaller()
Constructor.

Method Detail

unmarshall

public Signature unmarshall(Element signatureElement)
                     throws UnmarshallingException
Unmarshalls the given W3C DOM element into a XMLObject.

Specified by:
unmarshall in interface Unmarshaller
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


Copyright © 1999-2013. All Rights Reserved.