Class JAdESAttribute

java.lang.Object
eu.europa.esig.dss.jades.validation.JAdESAttribute
All Implemented Interfaces:
eu.europa.esig.dss.spi.validation.SignatureAttribute, Serializable
Direct Known Subclasses:
EtsiUComponent

public class JAdESAttribute extends Object implements eu.europa.esig.dss.spi.validation.SignatureAttribute
Represents the JAdES header
See Also:
  • Field Details

    • name

      protected String name
      Name if the header
    • value

      protected Object value
      The component's value
    • identifier

      protected JAdESAttributeIdentifier identifier
      Identifies the instance
  • Constructor Details

    • JAdESAttribute

      public JAdESAttribute(String name, Object value)
      Default constructor
      Parameters:
      name - String header name
      value - object's value
  • Method Details

    • getHeaderName

      public String getHeaderName()
      Gets the header's name
      Returns:
      String
    • getValue

      public Object getValue()
      Gets the value
      Returns:
      value
    • getIdentifier

      public JAdESAttributeIdentifier getIdentifier()
      Gets the attribute identifier
      Specified by:
      getIdentifier in interface eu.europa.esig.dss.spi.validation.SignatureAttribute
      Returns:
      JAdESAttributeIdentifier
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object