Class DSSReference
java.lang.Object
eu.europa.esig.dss.xades.reference.DSSReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the original referenced document contentGets DigestAlgorithm to use for digest value computationgetId()Gets Id attribute of the referenceGets ds:Object element's structure to be incorporated within the signatureGets a list of transforms to performgetType()Gets Type attribute of the referencegetUri()Gets URI attribute of the referencevoidsetContents(DSSDocument contents) Sets the original referenced document contentvoidsetDigestMethodAlgorithm(DigestAlgorithm digestMethod) Sets DigestAlgorithm to use for digest value computation Default : DigestAlgorithm.SHA256voidSets Id attribute of the referencevoidSets the pre-defined ds:Object element to be incorporated within the signature.voidsetTransforms(List<DSSTransform> transforms) Sets a list of transforms to performvoidSets Type attribute of the referencevoidSets URI attribute of the referencetoString()
-
Constructor Details
-
DSSReference
public DSSReference()The default constructor
-
-
Method Details
-
getId
-
setId
-
getUri
-
setUri
-
getType
-
setType
-
getDigestMethodAlgorithm
Gets DigestAlgorithm to use for digest value computation- Returns:
DigestAlgorithm
-
setDigestMethodAlgorithm
Sets DigestAlgorithm to use for digest value computation Default : DigestAlgorithm.SHA256- Parameters:
digestMethod-DigestAlgorithm
-
getTransforms
Gets a list of transforms to perform- Returns:
- a list of
DSSTransforms
-
setTransforms
Sets a list of transforms to perform- Parameters:
transforms- a list ofDSSTransforms
-
getContents
-
setContents
Sets the original referenced document content- Parameters:
contents-DSSDocument
-
getObject
-
setObject
-
toString
-