Class XAdESReferenceValidation
java.lang.Object
eu.europa.esig.dss.validation.ReferenceValidation
eu.europa.esig.dss.xades.reference.XAdESReferenceValidation
- All Implemented Interfaces:
Serializable
public class XAdESReferenceValidation extends ReferenceValidation
Contains information about a XAdES reference validation
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.ReferenceValidation
transforms
-
Constructor Summary
Constructors Constructor Description XAdESReferenceValidation(org.apache.xml.security.signature.Reference reference)
Default constructor -
Method Summary
Modifier and Type Method Description String
getId()
Gets Id of the referenceString
getName()
Gets name of the referencebyte[]
getOriginalContentBytes()
Returns original bytes of the referenced documentList<String>
getTransformationNames()
Returns a list of transformations contained in thereference
String
getUri()
Gets URI of the referenceMethods inherited from class eu.europa.esig.dss.validation.ReferenceValidation
getDependentValidations, getDigest, getType, isDuplicated, isFound, isIntact, setDigest, setDuplicated, setFound, setIntact, setName, setTransformationNames, setType
-
Constructor Details
-
XAdESReferenceValidation
public XAdESReferenceValidation(org.apache.xml.security.signature.Reference reference)Default constructor- Parameters:
reference
-Reference
-
-
Method Details
-
getId
Gets Id of the reference- Returns:
String
-
getUri
Gets URI of the reference- Returns:
String
-
getOriginalContentBytes
public byte[] getOriginalContentBytes()Returns original bytes of the referenced document- Returns:
- byte array
-
getName
Description copied from class:ReferenceValidation
Gets name of the reference- Overrides:
getName
in classReferenceValidation
- Returns:
String
-
getTransformationNames
Description copied from class:ReferenceValidation
Returns a list of transformations contained in thereference
- Overrides:
getTransformationNames
in classReferenceValidation
- Returns:
- list of
String
transfor names
-