|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxades4j.production.PropertiesDataGenerationContext
public class 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.
PropertiesDataObjectsGenerator| Constructor Summary | |
|---|---|
PropertiesDataGenerationContext(org.apache.xml.security.signature.XMLSignature targetXmlSignature,
AlgorithmsProvider algorithmsProvider)
A simple constructor to be used in when only unsigned signature properties will be processed. |
|
| Method Summary | |
|---|---|
Element |
createElementInSignatureDoc(String name,
String prefix,
String namespace)
Creates a DOM Element in the signature's document. |
AlgorithmsProvider |
getAlgorithmsProvider()
|
List<org.apache.xml.security.signature.Reference> |
getReferences()
Gets all the References present in the signature that is being
created, except the signed properties reference, in order of appearence
within SignedInfo. |
Map<DataObjectDesc,org.apache.xml.security.signature.Reference> |
getReferencesMappings()
Gets the mappings from high-level DataObjectDescs to References. |
org.apache.xml.security.signature.XMLSignature |
getTargetXmlSignature()
Gets the XML Signature that is being created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesDataGenerationContext(org.apache.xml.security.signature.XMLSignature targetXmlSignature,
AlgorithmsProvider algorithmsProvider)
throws XAdES4jXMLSigException
targetXmlSignature - the target signaturealgorithmsProvider - algorithms in use
XAdES4jXMLSigException| Method Detail |
|---|
public AlgorithmsProvider getAlgorithmsProvider()
public List<org.apache.xml.security.signature.Reference> getReferences()
References present in the signature that is being
created, except the signed properties reference, in order of appearence
within SignedInfo.
Referencespublic Map<DataObjectDesc,org.apache.xml.security.signature.Reference> getReferencesMappings()
DataObjectDescs to References.
This should be used when a data object property needs any information from
the Reference that corresponds to the data object.
public org.apache.xml.security.signature.XMLSignature getTargetXmlSignature()
null if not yet available
public Element createElementInSignatureDoc(String name,
String prefix,
String namespace)
Element in the signature's document. This can be useful
when generating GenericDOMData data objects.
name - the local name of the elementnamespace - the namespace where the element will be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||