Class EtsiUComponent

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

public class EtsiUComponent extends JAdESAttribute
Represents an item of the 'etsiU' header array
See Also:
  • Method Details

    • build

      public static EtsiUComponent build(Object component, int order)
      Builds EtsiUComponent from the 'etsiU' array entry
      Parameters:
      component - represents the component of the 'etsiU' array
      order - defines the position number of the component in the 'etsiU' array
      Returns:
      EtsiUComponent
    • build

      public static EtsiUComponent build(String headerName, Object value, boolean base64UrlEncoded, JAdESAttributeIdentifier identifier)
      Builds the EtsiUComponent from the given parameters
      Parameters:
      headerName - String name of the 'etsiU' array component
      value - represents the value of the component
      base64UrlEncoded - defines if the components is stored in base64url encoding
      identifier - JAdESAttributeIdentifier
      Returns:
      EtsiUComponent
    • getComponent

      public Object getComponent()
      Gets the attribute in its 'etsiU' member representation
      Returns:
      'etsiU' array's component
    • isBase64UrlEncoded

      public boolean isBase64UrlEncoded()
      Gets if the component is base64url encoded
      Returns:
      TRUE if the component is represented in its base64url encoding, FALSE otherwise