Class SignatureMarshaller
- java.lang.Object
-
- org.opensaml.xmlsec.signature.impl.SignatureMarshaller
-
- All Implemented Interfaces:
Marshaller
public class SignatureMarshaller extends Object implements Marshaller
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Class logger.
-
Constructor Summary
Constructors Constructor Description SignatureMarshaller()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Element
createSignatureElement(Signature signature, Document document)
Creates the signature elements but does not compute the signature.Element
marshall(XMLObject xmlObject)
Element
marshall(XMLObject xmlObject, Document document)
Element
marshall(XMLObject xmlObject, Element parentElement)
-
-
-
Method Detail
-
marshall
public Element marshall(XMLObject xmlObject) throws MarshallingException
- Specified by:
marshall
in interfaceMarshaller
- Throws:
MarshallingException
-
marshall
public Element marshall(XMLObject xmlObject, Element parentElement) throws MarshallingException
- Specified by:
marshall
in interfaceMarshaller
- Throws:
MarshallingException
-
marshall
public Element marshall(XMLObject xmlObject, Document document) throws MarshallingException
- Specified by:
marshall
in interfaceMarshaller
- Throws:
MarshallingException
-
createSignatureElement
private Element createSignatureElement(Signature signature, Document document) throws MarshallingException
Creates the signature elements but does not compute the signature.- Parameters:
signature
- the XMLObject to be signeddocument
- the owning document- Returns:
- the Signature element
- Throws:
MarshallingException
- thrown if the signature can not be constructed
-
-