Class XmlSignatureProperties.Output
- java.lang.Object
-
- org.apache.camel.component.xmlsecurity.api.XmlSignatureProperties.Output
-
- Enclosing interface:
- XmlSignatureProperties
public static class XmlSignatureProperties.Output extends Object
-
-
Constructor Summary
Constructors Constructor Description Output()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentReferenceId()
List<? extends XMLObject>
getObjects()
List<? extends Reference>
getReferences()
String
getSignatureId()
void
setContentReferenceId(String contentReferenceId)
Id value for the reference of the signed content.void
setObjects(List<? extends XMLObject> objects)
void
setReferences(List<? extends Reference> references)
void
setSignatureId(String signatureId)
You can overwrite the value of the Id attribute of the Signature element that you get fromXmlSignatureProperties.Input.getSignatureId()
.
-
-
-
Method Detail
-
getContentReferenceId
public String getContentReferenceId()
-
setContentReferenceId
public void setContentReferenceId(String contentReferenceId)
Id value for the reference of the signed content. Currently used by the XAdES parameter DataObjectFormat. See XAdESSignatureProperties.
-
getSignatureId
public String getSignatureId()
-
setSignatureId
public void setSignatureId(String signatureId)
You can overwrite the value of the Id attribute of the Signature element that you get fromXmlSignatureProperties.Input.getSignatureId()
. Only if the provided value is notnull
and not empty, then the signature Id will be overwritten.- Parameters:
signatureId
- Id attribute value of the Signature element
-
-