Class EtsiUComponent
java.lang.Object
eu.europa.esig.dss.jades.validation.JAdESAttribute
eu.europa.esig.dss.jades.validation.EtsiUComponent
- All Implemented Interfaces:
SignatureAttribute
,Serializable
Represents an item of the 'etsiU' header array
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.jades.validation.JAdESAttribute
identifier, name, value
-
Method Summary
Modifier and TypeMethodDescriptionstatic EtsiUComponent
BuildsEtsiUComponent
from the 'etsiU' array entrystatic EtsiUComponent
build
(String headerName, Object value, boolean base64UrlEncoded, JAdESAttributeIdentifier identifier) Builds theEtsiUComponent
from the given parametersGets the attribute in its 'etsiU' member representationboolean
Gets if the component is base64url encodedMethods inherited from class eu.europa.esig.dss.jades.validation.JAdESAttribute
equals, getHeaderName, getIdentifier, getValue, hashCode
-
Method Details
-
build
BuildsEtsiUComponent
from the 'etsiU' array entry- Parameters:
component
- represents the component of the 'etsiU' arrayorder
- 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 theEtsiUComponent
from the given parameters- Parameters:
headerName
-String
name of the 'etsiU' array componentvalue
- represents the value of the componentbase64UrlEncoded
- defines if the components is stored in base64url encodingidentifier
-JAdESAttributeIdentifier
- Returns:
EtsiUComponent
-
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
-