public class URIContentReference extends Object implements ContentReference
Constructor and Description |
---|
URIContentReference(String referenceID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createReference(org.apache.xml.security.signature.XMLSignature signature)
Called by the signature marshaller to allow references to be added to the signature.
|
String |
getDigestAlgorithm()
Gets the algorithm used to digest the content.
|
List<String> |
getTransforms()
Gets the transforms applied to the content prior to digest generation.
|
void |
setDigestAlgorithm(String newAlgorithm)
Sets the algorithm used to digest the content.
|
public URIContentReference(String referenceID)
referenceID
- the reference ID of the element to be signedpublic List<String> getTransforms()
public String getDigestAlgorithm()
public void setDigestAlgorithm(String newAlgorithm)
newAlgorithm
- the algorithm used to digest the contentpublic void createReference(org.apache.xml.security.signature.XMLSignature signature)
createReference
in interface ContentReference
signature
- the signature objectCopyright © 2018 JBoss by Red Hat. All rights reserved.