Package xades4j.production
Class PropertiesDataGenerationContext
java.lang.Object
xades4j.production.PropertiesDataGenerationContext
Context used during the generation of the properties low-level data (property
data objects). Contains informations about the algorithms in use and the resources
being signed.
- Author:
- Luís
- See Also:
-
PropertiesDataObjectsGenerator
-
Method Summary
Modifier and TypeMethodDescriptioncreateElementInSignatureDoc
(String name, String prefix, String namespace) Creates a DOMElement
in the signature's document.org.apache.xml.security.signature.Reference
getReference
(DataObjectDesc dataObject) Gets theReference
that corresponds to a given high-levelDataObjectDesc
.List<org.apache.xml.security.signature.Reference>
Gets all theReference
s present in the signature that is being created, except the signed properties reference, in order of appearence withinSignedInfo
.
-
Method Details
-
getReferences
Gets all theReference
s present in the signature that is being created, except the signed properties reference, in order of appearence withinSignedInfo
.- Returns:
- the unmodifiable list of
Reference
s
-
getReference
Gets theReference
that corresponds to a given high-levelDataObjectDesc
.- Parameters:
dataObject
- the signed data object- Returns:
- the reference
-
createElementInSignatureDoc
Creates a DOMElement
in the signature's document. This can be useful when generatingGenericDOMData
data objects.- Parameters:
name
- the local name of the elementnamespace
- the namespace where the element will be created- Returns:
- the created element
-