Class SignatureMarshaller
java.lang.Object
org.opensaml.xmlsec.signature.impl.SignatureMarshaller
- All Implemented Interfaces:
Marshaller
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ElementcreateSignatureElement(Signature signature, Document document) Creates the signature elements but does not compute the signature.
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
SignatureMarshaller
public SignatureMarshaller()Constructor.
-
-
Method Details
-
marshall
- Specified by:
marshallin interfaceMarshaller- Throws:
MarshallingException
-
marshall
@Nonnull public Element marshall(@Nonnull XMLObject xmlObject, @Nonnull Element parentElement) throws MarshallingException - Specified by:
marshallin interfaceMarshaller- Throws:
MarshallingException
-
marshall
@Nonnull public Element marshall(@Nonnull XMLObject xmlObject, @Nonnull Document document) throws MarshallingException - Specified by:
marshallin interfaceMarshaller- Throws:
MarshallingException
-
createSignatureElement
@Nonnull private Element createSignatureElement(@Nonnull Signature signature, @Nonnull 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
-