Class XAdESAttribute

java.lang.Object
eu.europa.esig.dss.xades.validation.XAdESAttribute
All Implemented Interfaces:
SignatureAttribute, Serializable

public class XAdESAttribute extends Object implements SignatureAttribute
Represents a XAdES attribute
See Also:
  • Method Details

    • getName

      public String getName()
      Returns the local name of the element
      Returns:
      String attribute's name
    • getElement

      public final Element getElement()
      Returns the current Element
      Returns:
      Element
    • getNamespace

      public String getNamespace()
      Returns namespace of the element
      Returns:
      String namespace
    • findElement

      public final Element findElement(String xPathExpression)
      Returns an inner Element found by the given xPathExpression
      Parameters:
      xPathExpression - String to find an element
      Returns:
      Element
    • getNodeList

      public final NodeList getNodeList(String xPathExpression)
      Returns a NodeList found by the given xPathExpression
      Parameters:
      xPathExpression - String to find an element
      Returns:
      NodeList
    • getTimestampCanonicalizationMethod

      public String getTimestampCanonicalizationMethod()
      Returns TimeStamp Canonicalization Method
      Returns:
      String timestamp canonicalization method
    • getTimestampIncludedReferences

      public List<TimestampInclude> getTimestampIncludedReferences()
      Returns a list of TimestampIncluded references in case of IndividualDataObjectsTimestamp, NULL if does not contain any includes
      Returns:
      list of TimestampIncludes in case of IndividualDataObjectsTimestamp, NULL otherwise
    • getIdentifier

      public XAdESAttributeIdentifier getIdentifier()
      Gets the attribute identifier
      Specified by:
      getIdentifier in interface SignatureAttribute
      Returns:
      XAdESAttributeIdentifier
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object