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 StringgetId()Gets Id of the referenceStringgetName()Gets name of the referencebyte[]getOriginalContentBytes()Returns original bytes of the referenced documentList<String>getTransformationNames()Returns a list of transformations contained in thereferenceStringgetUri()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:ReferenceValidationGets name of the reference- Overrides:
getNamein classReferenceValidation- Returns:
String
-
getTransformationNames
Description copied from class:ReferenceValidationReturns a list of transformations contained in thereference- Overrides:
getTransformationNamesin classReferenceValidation- Returns:
- list of
Stringtransfor names
-