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.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description SignatureMarshaller()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ElementcreateSignatureElement(Signature signature, Document document)Creates the signature elements but does not compute the signature.Elementmarshall(XMLObject xmlObject)Elementmarshall(XMLObject xmlObject, Document document)Elementmarshall(XMLObject xmlObject, Element parentElement)
-
-
-
Method Detail
-
marshall
public Element marshall(XMLObject xmlObject) throws MarshallingException
- Specified by:
marshallin interfaceMarshaller- Throws:
MarshallingException
-
marshall
public Element marshall(XMLObject xmlObject, Element parentElement) throws MarshallingException
- Specified by:
marshallin interfaceMarshaller- Throws:
MarshallingException
-
marshall
public Element marshall(XMLObject xmlObject, Document document) throws MarshallingException
- Specified by:
marshallin 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
-
-