public class URIContentReference extends Object implements ConfigurableContentReference, TransformsConfigurableContentReference
The default digest algorithm used is SignatureConstants.ALGO_ID_DIGEST_SHA256.
| Modifier and Type | Field and Description |
|---|---|
private String |
digestAlgorithm
Algorithm used to digest the content .
|
private org.slf4j.Logger |
log
Logger.
|
private String |
referenceID
Element reference ID.
|
private List<String> |
transforms
Transforms applied to the content.
|
| Constructor and Description |
|---|
URIContentReference(String refID)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createReference(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.
|
private final org.slf4j.Logger log
private final String referenceID
private String digestAlgorithm
@Nonnull public List<String> getTransforms()
getTransforms in interface TransformsConfigurableContentReference@Nullable public String getDigestAlgorithm()
getDigestAlgorithm in interface ConfigurableContentReferencepublic void setDigestAlgorithm(@Nonnull String newAlgorithm)
setDigestAlgorithm in interface ConfigurableContentReferencenewAlgorithm - the algorithm used to digest the contentpublic void createReference(@Nonnull XMLSignature signature)
createReference in interface ContentReferencesignature - the signature objectCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.